forked from mirrors/org-mode
org-latex-preview: Fix LaTeX header on fails + reruns
* lisp/org-latex-preview.el (org-latex-preview--check-all-fragments-produced): When rerunning a preview run (because of catastrophic failures), pass the LaTeX header used to the new process. The current behavior passes an empty header, which causes the process to fail again.
This commit is contained in:
parent
3e265d0e40
commit
d0e409998c
|
@ -1748,6 +1748,7 @@ fragments are regenerated."
|
|||
(org-latex-preview--create-image-async
|
||||
(plist-get extended-info :processor)
|
||||
(cdr fragments)
|
||||
:latex-preamble (plist-get extended-info :latex-header)
|
||||
:place-preview-p t)
|
||||
(setq fragments nil)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue