Hi everyone, Fixing a bug in org-mode 9.0 where setting a LaTeX -> MathML converter (`org-latex-to-mathml-convert-command') and exporting an org-mode document containing LaTeX equations to opendocument fails.
Thank you, Lixin Chin * lisp/ox-odt.el (org-odt--translate-latex-fragments): Apply signature change for `org-format-latex'. Commit a24f339f58a5a97a813514b8768faf9131c83dd0 changed the signature for `org-format-latex' (lisp/org.el) to add `beg' and `end' optional parameters. This led to an error in ox-odt.el when exporting an odt document containing LaTeX formulae. --- lisp/ox-odt.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 05d86bf..e240dd7 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -3741,7 +3741,8 @@ contextual information." (org-link (let ((link (with-temp-buffer (insert latex-frag) - (org-format-latex cache-subdir cache-dir + (org-format-latex cache-subdir nil nil + cache-dir nil display-msg nil processing-type) (buffer-substring-no-properties -- 2.10.2