auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Change the TeX run command


From: Christophe Jorssen
Subject: [AUCTeX] Change the TeX run command
Date: Thu, 12 Aug 2010 14:36:46 +0200

(Sorry, this has already been posted to gnu.emacs.help, probably not
the best place for this type of question).

Hello all,

I'm trying to compile a document with a custom TeX format using the "%&-
line parsing" feature of my TeX distribution (texlive 2010). The
format name is pdflatex-
tikz.

My file.tex is something like

------Cut Here---------------
%&pdflatex-tikz
\documentclass{article}
\tikzexternalize{file}
\begin{document}

\begin{tikzpicture}
  \draw (0,0) -- (2,2);
\end{tikzpicture}

\end{document}
------Cut Here---------------

When I C-c C-c it inside AUCTeX, the compilation fails. I think it is
because AUCTeX invokes TeX this way (found in file output)

Running `LaTeX' on `file' with ``pdflatex  -interaction=nonstopmode
"\input" file.tex''

I'd rather have something like

Running `LaTeX' on `file' with ``pdflatex  -interaction=nonstopmode
file.tex''

How can I change it?

Thanks

-- 
Christophe



reply via email to

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