Open wail-uottawa opened 1 year ago
Although I am not the author of auctex-cluttex, I am also a user of the package and would like to offer some advice.
The item added to TeX-command-list
is defined by the variable auctex-cluttex-ClutTeX-command
. The replacement strings within this variable are processed using auctex-cluttex-cluttexengine-expand
, auctex-cluttex-cluttexbib-expand
, and auctex-cluttex-cluttexindex-expand
.
To add --shell-escape
to the arguments, configure the package as follows:
(use-package auctex-cluttex
:config
(setq auctex-cluttex-ClutTeX-command
'("ClutTeX"
"cluttex --shell-escape -e %(cluttexengine) %(cluttexbib) %(cluttexindex) %S %t"
auctex-cluttex--TeX-run-ClutTeX nil (plain-tex-mode latex-mode)
:help "Run ClutTeX")))
For more detailed information about the TeX-command-list
variable and its format, you can refer to the help documentation by pressing C-h v TeX-command-list RET
in Emacs.
I appreciate your help. Thank you!
How to pass options (e.g., --shell-escape) within Emacs?