branch: main
commit 059ba17a42d940687393f5328851b7e577249867
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Fix LaTeXMk command-line options
* tex.el (TeX-expand-list-builtin): Adjust XeTeX command-line
options for LaTeXMk in order to set `TeX-output-extension'
correctly. (bug#76612)
---
tex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tex.el b/tex.el
index 267dc27d..2953efa0 100644
--- a/tex.el
+++ b/tex.el
@@ -681,7 +681,7 @@ string."
("%(latexmk-out)"
(lambda ()
(cond ((eq TeX-engine 'xetex)
- " -pdfxe")
+ " -pdf -pdflatex=xelatex")
((eq TeX-engine 'luatex)
(cond ((and TeX-PDF-mode
(TeX-PDF-from-DVI))