branch: externals/org
commit 7321337719e93873de6026bd9d8aef333037e6cd
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>
org-babel-latex-preamble: Fix broken evaluation
* lisp/ob-latex.el (org-babel-latex-preamble): Remove tex4ht reference
from the preamble. This preamble is only ever activated when
exporting to svg, via `org-latex-compiler', which cannot be htlatex.
So, this is only breaking the evaluation for no good reason and is
simply a bug.
Reported-by: Yaroslav Drachov <[email protected]>
Link: https://orgmode.org/list/87pl9zm1ok.fsf@localhost
---
lisp/ob-latex.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/lisp/ob-latex.el b/lisp/ob-latex.el
index e52f9ba406..267c76543a 100644
--- a/lisp/ob-latex.el
+++ b/lisp/ob-latex.el
@@ -77,7 +77,6 @@
(defcustom org-babel-latex-preamble
(lambda (_)
"\\documentclass[preview]{standalone}
-\\def\\pgfsysdriver{pgfsys-tex4ht.def}
")
"Closure which evaluates at runtime to the LaTeX preamble.