Add LuaLaTeX to TeX-command-list
This commit is contained in:
parent
0769a67281
commit
d4d5da7c62
6
init.el
6
init.el
@ -1378,6 +1378,12 @@ otherwise, call `bibtex-find-text'."
|
|||||||
(add-to-list 'auto-mode-alist '("/\\.latexmkrc\\'" . perl-mode))
|
(add-to-list 'auto-mode-alist '("/\\.latexmkrc\\'" . perl-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.[tT]e[xX]\\'" . LaTeX-mode))
|
(add-to-list 'auto-mode-alist '("\\.[tT]e[xX]\\'" . LaTeX-mode))
|
||||||
:config
|
:config
|
||||||
|
(add-to-list 'TeX-command-list
|
||||||
|
`("LuaLaTeX"
|
||||||
|
,(concat "lualatex %(file-line-error) %`%(extraopts) "
|
||||||
|
"%S%(PDFout)%(mode)%' %(output-dir) %t")
|
||||||
|
TeX-run-TeX nil (LaTeX-mode)
|
||||||
|
:help "Run LuaLaTeX"))
|
||||||
(defun my/-auctex-texdoc-setup-env (oldfun &rest args)
|
(defun my/-auctex-texdoc-setup-env (oldfun &rest args)
|
||||||
(let ((process-environment process-environment)
|
(let ((process-environment process-environment)
|
||||||
(emacs-cmd (concat "emacsclient" (and (not (display-graphic-p)) " -nw"))))
|
(emacs-cmd (concat "emacsclient" (and (not (display-graphic-p)) " -nw"))))
|
||||||
|
Loading…
Reference in New Issue
Block a user