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

Joachim Kock jkock at start.no
Sat Jan 27 16:59:59 EST 2007

> Would be interesting to now what other TeXing applications use to  
> remember the file's mode and TeXing command – to which extent their  
> imperialism has grown ...

Alpha mostly guesses the correct mode from the extension, but it
also understands emacs first line syntax like  -*-Mode: Foo-*-
or just -*-Foo-*- , as well as unix bangs, including env tricks.

As for format, there is a guess-format-from-log mechanism you can
turn on, in which case the log file (if complete) is scanned to
figure out how to invoke tex.  (Of course you have to use the
correct invocation the first time, manually.)

There is also a guess-document-root flag: if turned on, nearby log
files are scanned to figure out what the root file is for a multi-
file tex job.

(There are two other features based on log-file scannning: 
automatically determine next action, and the error browser.  
The log file is really a gold mine of useful information.)


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