From a908611b57edb892085767ecc594ca0ad11aaff8 Mon Sep 17 00:00:00 2001 From: tslil <> Date: Sun, 17 Apr 2022 15:17:16 -0400 Subject: catch bad boxes --- emacs/inits/24-latex.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/inits/24-latex.el b/emacs/inits/24-latex.el index ba14dea..890f8e5 100644 --- a/emacs/inits/24-latex.el +++ b/emacs/inits/24-latex.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2022-04-17 15h15 EDT (academic)> +;; Time-stamp: <2022-04-17 15h17 EDT (academic)> (defvar latex-template-dir (expand-file-name "~/typeset/latex-templates")) (defun prompt-latex-file-template () @@ -85,7 +85,8 @@ populated from the directory *latex-template-dir*" TeX-close-quote old-close)))) :config - (setq TeX-command-list '(("XeLaTeX" "xelatex %t" + (setq TeX-debug-bad-boxes t + TeX-command-list '(("XeLaTeX" "xelatex %t" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run XeLaTeX") ("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") -- cgit v1.2.3