From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: [details] (was: org --> odt with math) Date: Thu, 31 Aug 2017 11:34:27 +0000 Message-ID: <877exkq8cc.fsf@mat.ucm.es> References: <87bmmwq8jq.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnNkt-0001xk-De for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 07:35:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnNkp-0002LN-GL for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 07:35:27 -0400 Received: from [195.159.176.226] (port=45867 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnNkp-0002LF-9e for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 07:35:23 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dnNkV-0001Rv-Ut for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 13:35:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org >>> "Uwe" == Uwe Brauer 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.