[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] rel-0-9-1; Two speed issues
From: |
Ralf Stubner |
Subject: |
Re: [Bug-AUCTeX] rel-0-9-1; Two speed issues |
Date: |
Thu, 19 May 2005 21:47:49 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041207) |
David Kastrup wrote:
> Ralf Stubner <address@hidden> writes:
>
>> I haven't found a possibility yet to have those play nicely
>> together with preview-latex.
>
> Where is the problem? Just use one empfile (?) environment per
> graphic.
That works fine for emp.sty, where I have only a few graphs. The problem
ist feynmp.sty, where I currently have ~80 graphs within something like
30 or 40 displayed equations (still increasing). At least at the moment
I find it more practical to have one 'fmffile' per file in a multi-file
document and make occasional preview-latex runs on the whole buffer.
>> BTW, is it possible to call latex with -shell-escape' on a case by
>> case basis from within AUCTeX, similar to source specials or PDF
>> mode?
>
> % Local Variables:
> % LaTeX-command: "latex -shell-escape"
Thanks, that helps. Really nice would be a possibility to switch between
enabeling '-shell-escape' or not, since I don't want MetaPost to process
the files, even if nothing has changed.
> Actually, to my own surprise, while scanning through variables for
> running LaTeX, I hit upon
>
> LaTeX-write18-enabled-p's value is t
>
> *If non-nil, insert automatically the \write18 calling metapost.
> When disabled, you have to use mpost on the mp files automatically
> produced by emp.sty and then re-LaTeX the document.
[...]
> I have no idea what this is for, what it does, and why in the world it
> would happen to be globally set to "t" without me asking for it.
> Looks like a security hole.
Interesting indeed. It seems to come from emp.el. If I understand the
code correctly, then this variable only controls whether this
'\immediate\write18{mpost ...}' statement is inserted. So probably not a
security hole, but still strange.
cheerio
ralf
--
Ralf Stubner * mailto:address@hidden
Lehrstuhl fuer theoretische Festkoerperphysik * Staudtstr. 7
D-91058 Erlangen * http://www.tfkp.physik.uni-erlangen.de/~ralf/
Re: [Bug-AUCTeX] rel-0-9-1; Two speed issues, Jan-Åke Larsson, 2005/05/20