[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [details] (was: org --> odt with math)
From: |
Uwe Brauer |
Subject: |
[O] [details] (was: org --> odt with math) |
Date: |
Thu, 31 Aug 2017 11:34:27 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>>> "Uwe" == Uwe Brauer <address@hidden> writes:
> Hi
> Using org (git version) GNU emacs 26 on Ubuntu 14.04,
> following
> http://orgmode.org/manual/Working-with-LaTeX-math-snippets.html#fn-2
> I have set
> (setq org-latex-to-mathml-convert-command
> "/usr/bin/latexmlmath \"%i\" --presentationmathml=%o")
> Latexmlmath is installed of course.
> I try to convert the following file to odt with mathml
> #+OPTIONS: LaTeX:t
> This
> \begin{equation}
> \label{eq:aned-ex:1}
> \begin{cases}
> y^{\prime}&= -2000(y-\cos(t))\\
> y_0&=0 \qquad 0\leq t \leq 1.5
> \end{cases}
> \end{equation}
> But the equation is just exported as ASCII code. What do I miss?
- I exported it via org-export-dispatch and then I chose odt.
- then I tried org-odt-export-as-odf and obtained
Using vacuous schema
Wrote /tmp/odf-2719bZW/ltxmathml-in2719ojc
Running /usr/bin/latexmlmath "" --presentationmathml=ltxmathml-out27191ti
LaTeX to MathML conversion failed
XPath error : Undefined namespace prefix
error : xmlXPathCompiledEval: evaluation failed at
/usr/share/perl5/LaTeXML/Common/XML.pm line 326.
OpenDocument export failed: No Math formula created
Updating buffer list...done
This is bad, but I am not sure who is the culprit here.