Emacs ends up trying to run commands like 'xelatex %(extraopts)
--synctex=1 -interaction=nonstopmode \input example.tex'
And is unhappy about the (extraopts) bits, i.e. reports:
'/bin/sh: 1: Syntax error: ( unexpected'
I imagine it's something in my setup, as I had (some time ago) adjusted
the
2014-04-23 22:02 GMT+02:00 Benjamin Slade sl...@jnanam.net:
(setq
[...]
TeX-command-list '((Latexmk latexmk %(-PDF) -synctex=1 %s TeX-run-TeX
nil t :help
Run Latexmk on file to build everything.)
(Make Makefile TeX-run-command nil t)