[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] AucTex and custom fmt files
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] AucTex and custom fmt files |
Date: |
Thu, 30 May 2013 21:38:09 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Christophe Jorssen <address@hidden> writes:
> This kind of file uses a trick with web2c implementation of TeX. If
> %&-line parsing is enabled, pdfTeX parses the first line. If it begins
> with %&, it interprets the remaining of the file as parameter for the
> command line (namely the format file).
>
> If AucTeX calls pdfTeX with something like
>
> pdflatex \input{youfile.tex}
>
> then the trick is broken.
Oh yes, it does so. Julien could configure the pdflatex command to
include the option "-fmt foobar.fmt", though, best with a file local
variable:
%%% Local Variables:
%%% LaTeX-command: "pdflatex -fmt foobar.fmt"
%%% End:
Bye,
Tassilo