[OS X TeX] latex+dvips+ps2pdf Re: [macemacsjp-english 796] Re: emacs/latex problem (fwd)

Peter Dyballa Peter_Dyballa at Web.DE
Fri Dec 22 05:46:55 EST 2006


Am 22.12.2006 um 09:31 schrieb Gerben Wierda:

> On Dec 22, 2006, at 01:40 , Roussanka Loukanova wrote:
>
>> simpdftex latex --maxpfb "\nonstopmode\input{lec2.tex}"
>
> Well, that is because simpdflatex is not a real TeX and cannot  
> parse \nonstopmode\input{lec2.tex}. It expects a filename or a file  
> basename.
>
> What should work (adapted from your example) is:
>
> INS DEL Name: simpdftex
>             Command: simpdftex latex --maxpfb "%t"
>             How: Value Menu TeX-run-TeX
>             Create a process for NAME using COMMAND to format FILE  
> with TeX.
>             Prompt: Toggle  off (nil)
>             Modes: Value Menu Set:
>             [ ] Plain TeX
>             [X] LaTeX
>             [X] DocTeX
>             [ ] ConTeXt
>             [ ] Texinfo
>             [ ] AmSTeX
>             Menu elements:
>             INS

And another such block for plain TeX or AmSTeX files ... Then the  
command names for the Commands menu should be better "simpdflatex"  
and "simpdftex" (the sim part comes from simulate, not from simple) –  
AUCTeX easily distinguishes between TeX and LaTeX and chooses the  
appropriate command. And since simpdftex has a few options to direct  
dvips in what it is doing you might also wish to create some more and  
specialised commands. And finally you might end up with a simpdfTeX  
sub-menu ...

--
Greetings

   Pete

’Twas a woman who drove me to drink, and I never had the courtesy
  to thank her for it.         — W.C. Fields



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list