[macemacsjp-english 783] Re: emacs/latex problem

Back to archive index

Roussanka Loukanova rlouk****@stp*****
Wed Dec 20 06:10:57 JST 2006


>> 2. Then, Ctrl-c Ctrl-c runs latex successfully but without creating
>> pdf,
>> i.e. it does not get the sequence of commands: dvips + ps2pdf.

If right after the 1st Command (in Carbon Emacs, 1.6.0) Ctrl-c Ctrl-c, 
I confirm Latex, it creats a good dvi file. Then if I try, with another
Ctrl-c Ctrl-c, to type dvips in the Command minbuffer-line, Emacs responds 
with [No match].

> Can you show the contents of the corresponding output buffer?

I'll paste it at the end of this email.

> There
> must be some evidence why no PS output was created. Recent
> implementations of dvips have a safety option active not to load any
> files "from above" your DVI file's file system level ...

In the Terminal shell dvips and ps2pdf work fine, i.e. I run:

$ dvips lec2.dvi -o lec2.ps
$ ps2pdf lec2.ps lec2.pdf

I get proper drawings: I can manually open lec2.pdf in Preview and the 
tress are drawn.

It seems to me that the problem is that Carbon emacs does not have access 
to all latex and open commands. Before it used to open a sequence of 
commands that included the above two comands, and then would oppen the pdf 
file with Preview (most likely because I had in .emacs the line
(setq pdf-previewer-program "open -a Preview")
which now is ignored by Emacs.

> I have created with Platypus an Universal Binary application that set
> ups the X11 environment in such a way that it knows of TeX and
> becomes very useful. I can send it to you, I just don't have a host
> (er) to let you fetch it. Then it would be best to make X11 a start-
> up item or to launch it before you try to view a DVI file from Emacs.
> The X clients launched when the X server part of X11 is not already
> running can behave a bit strange, including the state of complete
> uselessness.

I simply do not know how to work with this, but perhaps I can try.

> You can also extend AUCTeX (and your system) with two different DVI
> viewer applications. The first one, and IMO best PDF viewer, is
> TeXShop. Because it can't display DVI it converts it to PDF, and it
> would do the same with a PS file. AFAIR it uses dvips to create PS
> and then your "Distiller" command (Ghostview's ps2pdf or the system's
> pstopdf) to create PDF, which is then displayed. The second option
> would be to use TeXniscope, which either cannot display DVI, so it
> uses dvipdfmx to convert it directly to PDF.

This seems so complicate in compare to the convenient way Carbon Emacs 
used to do dvips, ps2pdf and then would open the pdf file in Preview. It 
is extraordinarly irritating that it doesn't work anymore. And I do not 
know how to set it up to do somthing like that, if not what it used to..

Roussanka

the lec2 output file:
------------------------------------------------
Running `LaTeX' on `lec2' with ``latex  "\nonstopmode\input{lec2.tex}"''
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, 
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, 
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, 
polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, 
swedish, tur
kish, ukrainian, nohyphenation, loaded.

(./lec2.tex (/usr/local/teTeX/share/texmf.local/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.local/tex/latex/base/size12.clo))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amssymb.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/teTeX/share/texmf.local/tex/latex/tools/theorem.sty
(/usr/local/teTeX/share/texmf.local/tex/latex/tools/thp.sty))
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg)
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/dvips.def)))
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/color.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.cfg)
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/dvipsnam.def))
(/usr/local/teTeX/share/texmf.tetex/tex/latex/stmaryrd/stmaryrd.sty)
(/Users/rosi/Library/texmf/tex/latex/all_latex/chris_latex/lingmacros.sty)
(/Users/rosi/Library/texmf/tex/latex/all_latex/chris_latex/tree-dvips.sty
tree-dvips version .91 of May 16, 1995
) (/Users/rosi/Library/texmf/tex/latex/all_latex/chris_latex/trees.sty)
(/Users/rosi/Library/texmf/tex/latex/all_latex/chris_latex/avm.sty)
(/Users/rosi/Library/texmf/tex/latex/all_latex/chris_latex/avm-doc.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/rotating/rotating.sty
(/usr/local/teTeX/share/texmf.local/tex/latex/base/ifthen.sty)) 
(./lec2.aux)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/umsa.fd)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/amsfonts/umsb.fd)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/stmaryrd/ustmry.fd) [1]
Overfull \hbox (12.42345pt too wide) in paragraph at lines 132--134
\OT1/cmr/m/n/17.28 based, lex-i-cal-ist gram-mar ap-proaches, in 
par-tic-u-lar,
  CBLG:
(/usr/local/teTeX/share/texmf.local/tex/latex/base/omscmr.fd)

Package Fancyhdr Warning: \headheight is too small (12.0pt):
  Make it at least 13.59999pt.
  We now make it that large for the rest of the document.
  This may cause the page layout to be inconsistent, however.

[2]
Overfull \hbox (1.31238pt too wide) in paragraph at lines 164--166
\OT1/cmr/m/it/17.28 ture struc-tures \OT1/cmr/m/n/17.28 and 
\OT1/cmr/m/it/17.28
  typed fea-ture struc-ture de-scrip-

Overfull \hbox (4.08743pt too wide) in paragraph at lines 172--173
\OT1/cmr/m/n/17.28 sets of feature-value pairs rep-re-sented by 
feature-value
[3] [4]
Overfull \hbox (3.55708pt too wide) in paragraph at lines 263--263
[] [][]  \OT1/cmr/m/n/17.28 g.   []
[5] [6] [7] [8] [9] [10]
Overfull \hbox (2.91104pt too wide) in paragraph at lines 389--392
\OT1/cmr/m/n/17.28 guage of attribute-value ma-tri-ces, the ex-pres-sions 
of wh
ich
[11]
Overfull \hbox (78.32277pt too wide) in paragraph at lines 466--473
[][]

Overfull \hbox (29.34494pt too wide) in paragraph at lines 478--546
[]  []
[12] [13]
Overfull \hbox (1.79866pt too wide) in paragraph at lines 558--560
\OT1/cmr/m/n/17.28 ex-pres-sion is the subex-pres-sion which con-tributes 
ma-

Overfull \hbox (8.86949pt too wide) in paragraph at lines 565--566
[] []\OT1/cmr/m/n/17.28 the Specifier-Head Agree-ment Con-straint (SHAC);
[14]
Overfull \hbox (29.07089pt too wide) in paragraph at lines 583--657
[]    [][][][][][][][][][][][][][][][][][][][][][][][]

Overfull \hbox (39.12463pt too wide) in paragraph at lines 670--761
[]  []
[15] [16] [17]
Overfull \hbox (22.17pt too wide) in paragraph at lines 789--947
[]  []
[18]
Overfull \hbox (53.25453pt too wide) in paragraph at lines 956--1057
[]  []
[19]
Overfull \hbox (48.89842pt too wide) in paragraph at lines 1069--1197
[]  []
[20]
Underfull \hbox (badness 10000) in paragraph at lines 1208--1209


Underfull \hbox (badness 10000) in paragraph at lines 1212--1213

[21] [22] [23] (./lec2.aux) )
(\end occurred inside a group at level 4)

### simple group (level 4) entered at line 1070 ({)
### simple group (level 3) entered at line 957 ({)
### simple group (level 2) entered at line 790 ({)
### simple group (level 1) entered at line 671 ({)
### bottom level
(see the transcript file for additional information)
Output written on lec2.dvi (23 pages, 93868 bytes).
Transcript written on lec2.log.

LaTeX finished at Tue Dec 19 22:08:14




More information about the macemacsjp-english mailing list
Back to archive index