[OS X TeX] Emacs 22.92, %! and TeXShop

Maarten Sneep maarten.sneep at xs4all.nl
Sat Jan 27 16:47:35 EST 2007


On Jan 27, 2007, at 12:34, Peter Dyballa wrote:

>
> Am 27.01.2007 um 11:43 schrieb Maarten Sneep:
>
>> That said, what does emacs use for
>> 1) indication of the master tex file
>
> 	%%% Local Variables:
> 	%%% TeX-master: t
> 	%%% End:

I (i.e. human parser) would interpret that as: "Is this file a TeX  
master?", with anser "yes" (true).

>> 1a) if the current file _is_ the master file?
>
> *I* don't know precisely ... Might be hidden in the AUCTeX manual,  
> might be the code above.

so 1a) is answered.

>> 1b) if the current file is _not_ the master file?
>
> Certainly not the above! Except for the hiding!!

I guess

%%% Local Variables:
%%% TeX-master: f
%%% End:

But then with a path in there somewhere. Can anyone just try this?  
And the previewer command would be nice too.

>> 2) indication of the "engine" (latex, pdflatex, ...)
>
> 	%%% Local Variables:
> 	%%% TeX-command-default: "ldvips2pdf"
> 	%%% End:
>
> 	 '(TeX-PDF-mode t)
>
>> 3) the character encoding
>
> 	%%% Local Variables:
> 	%%% coding: iso-8859-15
> 	%%% End:

OK, thanks. BBEdit maintains the last bit itself.

Maarten

------------------------- 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