Hi all,

I'm writing a document that requires the '-shell-escape' option to be
set when invoking LaTeX.  Reading the AUCTeX documentation, I see that I
can set the variable `TeX-command-extra-options' to "-shell-escape".  I
have done this for the master TeX file by inserting [1] at the bottom of
it.  When I open any of the included files I am prompted that this is an
unsafe variable and am asked whether I would like this to be set; I hit
'y' when prompted.  However, the option isn't getting set inside an
included TeX file - it's value is "".  The variable does have the
correct value in the TeX master buffer, however.

Is there a way I can make included files inherit the options of the TeX
master file?  I have quite a number of source files and don't want to
have to add this line to them all.

[1]:
%%% Local Variables:
%%% TeX-command-extra-options: "-shell-escape"
%%% mode: latex
%%% TeX-master: t
%%% End:

Thanks,
-- 
Matt

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to