[tex-live] %& first line parsing different jobname

Reinhard Kotucha reinhard.kotucha at web.de
Wed Jun 10 00:46:42 CEST 2009

On 9 June 2009 T T wrote:

 > Going back to the original question: I understand that this limited
 > parsing of the %&-line is a feature, not a bug, am I right?

Certainly!  The first two characters of the "%&-line" had not been
chosen by accident.  The first one is unavoidable, any character with
another \catcode than 14 would break everything.  The second character
is "&", which has a special meaning on the command line:

   tex &latex myfile.tex

The program "tex" loads the format file "latex.fmt" and then executes
"myfile.tex".  The character "&" has a special meaning here, and if a
line begins with "%&", I don't expect that anything else but the name
of a format file is expected.

Other people might have other expectations.


Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the tex-live mailing list