* org --> odt with math
@ 2017-08-31 11:30 Uwe Brauer
2017-08-31 11:34 ` [details] (was: org --> odt with math) Uwe Brauer
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Uwe Brauer @ 2017-08-31 11:30 UTC (permalink / raw)
To: emacs-orgmode
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?
Regards
Uwe Brauer
^ permalink raw reply [flat|nested] 4+ messages in thread
* [details] (was: org --> odt with math)
2017-08-31 11:30 org --> odt with math Uwe Brauer
@ 2017-08-31 11:34 ` Uwe Brauer
2017-08-31 11:58 ` org --> odt with math Nicolas Goaziou
2017-09-04 9:19 ` Rasmus
2 siblings, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2017-08-31 11:34 UTC (permalink / raw)
To: emacs-orgmode
>>> "Uwe" == Uwe Brauer <oub@mat.ucm.es> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org --> odt with math
2017-08-31 11:30 org --> odt with math Uwe Brauer
2017-08-31 11:34 ` [details] (was: org --> odt with math) Uwe Brauer
@ 2017-08-31 11:58 ` Nicolas Goaziou
2017-09-04 9:19 ` Rasmus
2 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-08-31 11:58 UTC (permalink / raw)
To: emacs-orgmode
Hello,
Uwe Brauer <oub@mat.ucm.es> writes:
> 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
There is no such thing.
It is #+options: tex:t
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org --> odt with math
2017-08-31 11:30 org --> odt with math Uwe Brauer
2017-08-31 11:34 ` [details] (was: org --> odt with math) Uwe Brauer
2017-08-31 11:58 ` org --> odt with math Nicolas Goaziou
@ 2017-09-04 9:19 ` Rasmus
2 siblings, 0 replies; 4+ messages in thread
From: Rasmus @ 2017-09-04 9:19 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> 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 think that happens when there’s an error.
Do you see the help message when you run latexmlmath from the commandline?
Perhaps you need to load some modules manually? See the latexml manual
http://dlmf.nist.gov/LaTeXML/manual.pdf
Can latexml create a proper mathml version if you provide a "full" latex
file with the equation and the right packages?
Rasmus
--
Er du tosset for noge' lårt!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-09-04 9:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-31 11:30 org --> odt with math Uwe Brauer
2017-08-31 11:34 ` [details] (was: org --> odt with math) Uwe Brauer
2017-08-31 11:58 ` org --> odt with math Nicolas Goaziou
2017-09-04 9:19 ` Rasmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).