From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: org --> odt with math Date: Mon, 04 Sep 2017 11:19:07 +0200 Message-ID: <87r2vmhldg.fsf@gmx.us> References: <87bmmwq8jq.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1donY3-0002ej-5F for emacs-orgmode@gnu.org; Mon, 04 Sep 2017 05:20:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1donXt-0005OK-GM for emacs-orgmode@gnu.org; Mon, 04 Sep 2017 05:20:03 -0400 Received: from [195.159.176.226] (port=43764 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1donXt-0005Mq-5b for emacs-orgmode@gnu.org; Mon, 04 Sep 2017 05:19:53 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1donXR-00028C-SL for emacs-orgmode@gnu.org; Mon, 04 Sep 2017 11:19:25 +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 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 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!