emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: [details] (was: org --> odt with math)
Date: Thu, 31 Aug 2017 11:34:27 +0000	[thread overview]
Message-ID: <877exkq8cc.fsf@mat.ucm.es> (raw)
In-Reply-To: 87bmmwq8jq.fsf@mat.ucm.es

>>> "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.

  reply	other threads:[~2017-08-31 11:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-31 11:30 org --> odt with math Uwe Brauer
2017-08-31 11:34 ` Uwe Brauer [this message]
2017-08-31 11:58 ` Nicolas Goaziou
2017-09-04  9:19 ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877exkq8cc.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).