[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] how to pdflatex with custom format file

From: Mirko Vukovic
Subject: [AUCTeX] how to pdflatex with custom format file
Date: Wed, 12 Sep 2007 15:02:54 -0400


this is a follow up on a previous discussion, where I was trying to
use a custom format
to speed up processing.

I am now using mylatex.ltx to generate the format file, and I can use
the format file from
the command line as follows:
pdflatex \&myformat my-doc.tex

I have tried setting the LaTeX-command-style variable to define the
compilation command from Auctex.  Well, I am having trouble.  This is
the entry in Local Variables

%%% LaTeX-command-style: (("" "%(PDF)%(tex) \"&mylatex.fmt\" %S%(PDFout)"))

(Please don't ask embarasing questions as to why I wrote it this exact
way.  This format
worked with my old method of generating the format file
(, and
I divinied it from
reading the help on the various auctex variables).

With this value, pdftex (or whatever) processes the mylatex.fmt file,
but then seems to
fail when trying to get the document file itself.  Here is the header
of the auctex buffer

Running `LaTeX' on `Ru-CVD-emissivity-data' with ``pdftex
"&mylatex.fmt"  -interaction=nonstopmode "\input"
This is pdfTeX, Version 3.141592-1.40.3 (MiKTeX 2.6)
entering extended mode
("E:\program-files\MiKTeX 2.6\tex\latex\tools\.tex"
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, lo
CUSTOMISED FORMAT. Preloaded files:

The error itself is

Runaway argument?
! File ended while scanning use of
<inserted text>
<*> &mylatex.fmt \
                  input Ru-CVD-emissivity-data.tex
! Emergency stop.
<*> &mylatex.fmt \input Ru-CVD-emissivity-data.tex

!  ==> Fatal error occurred, no output PDF file produced!

My guess is that the command specifies \input as an input file to
pdftex.  I don't know how to remove that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]