Benjamin Slade <sl...@jnanam.net> writes: Hi Benjamin,
> After a recent update I'm having trouble compiling LaTeX docs from > AUCTeX. The trouble is %(extraopts) -- Emacs ends up trying to run > commands like "xelatex %(extraopts) --synctex=1 -interaction=nonstopmode > "\input" example.tex" > > With a literal %(extraopts) in it. Hm, Mosè added this just recently in commit 2ebedb8cdc94cca0b941a6173c9825d2a1bfe465. Also have a look at: ,----[ (info "(auctex)Processor Options") ] | As shown above, AUCTeX handles in a special way most of the main | options that can be given to the TeX processors. When you need to pass | to the TeX processor arbitrary options not handled by AUCTeX, you can | use the file local variable 'TeX-command-extra-options'. | -- User Option: TeX-command-extra-options | String with the extra options to be given to the TeX processor. | For example, if you need to enable the shell escape feature to | compile a document, add the following line to the list of local | variables of the source file: | %%% TeX-command-extra-options: "-shell-escape" | By default this option is not safe as a file-local variable because | a specially crafted document compiled with shell escape enabled can | be used for malicious purposes. `---- > What do I need to change in my setup to fix this? Normally it should just work as before... Hm, do you fiddle with `TeX-expand-list'? It should have an expander entry for "%(extraopts)". If it hasn't, then that's the problem. Bye, Tassilo _______________________________________________ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex