After updating to the current git head, I have to make the following
changes for latex image generation to work.
diff --git a/lisp/org.el b/lisp/org.el
index dc45871..443f881 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -2936,7 +2936,7 @@ appears on the page."
;; when formatting latex fragments. Originally it was part of the
;; LaTeX exporter, which is why the name includes "export".
(defcustom org-export-latex-default-packages-alist
- '(("AUTO" . "inputenc")
+ '(("" . "inputenc")
("T1" . "fontenc")
("" . "graphicx")
("" . "longtable")
@@ -15247,9 +15247,9 @@ Some of the options can be changed using the variable
(concat "\n"
(mapconcat (lambda(p)
(if (equal "" (car p))
- (format "\\usepackage{%s}" (cadr p))
+ (format "\\usepackage{%s}" (cdr p))
(format "\\usepackage[%s]{%s}"
- (car p) (cadr p))))
+ (car p) (cdr p))))
(append
org-export-latex-default-packages-alist
org-export-latex-packages-alist)
The "AUTO" change is because the AUTO.def file is not present on my
fairly complete Ubuntu texlive latex install
: ERROR: LaTeX Error: File `AUTO.def' not found.
The other change is because `org-export-latex-default-packages-alist' is
now a simple cons cell rather than a list so cadr was throwing errors.
It seems to me these may be general problems, not just specific to my
setup.
Best -- Eric