From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: SOLVED: LaTeX equation align in orgmode? Date: Wed, 14 Oct 2015 14:58:01 +0200 Message-ID: <87k2qpk3om.fsf@gmx.us> References: <878u7pk73l.fsf@delle7240.chemeng.ucl.ac.uk> <87twq1gfq6.fsf@blackmagicdesign.com> <877fmw751t.fsf@ucl.ac.uk> <87h9lxkrcp.fsf@blackmagicdesign.com> <87lhb85z4d.fsf@pinto.chemeng.ucl.ac.uk> <87io6c35gi.fsf@gmx.us> <87y4f57ked.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmLdF-0001ZZ-HT for emacs-orgmode@gnu.org; Wed, 14 Oct 2015 08:58:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmLdA-0004Xd-D7 for emacs-orgmode@gnu.org; Wed, 14 Oct 2015 08:58:13 -0400 Received: from mout.gmx.net ([212.227.17.20]:64222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmLdA-0004XX-7n for emacs-orgmode@gnu.org; Wed, 14 Oct 2015 08:58:08 -0400 Received: from W530 ([62.80.108.12]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0La3c1-1aRVLP3dPR-00lmAg for ; Wed, 14 Oct 2015 14:58:06 +0200 In-Reply-To: <87y4f57ked.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 14 Oct 2015 12:35:22 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric S Fraga writes: > I don't believe the default is to export to mathml. At least, for me, > this doesn't happen. For me, when I eval the following from emacs -q I get odt. (require 'ox-odt) (setq org-latex-to-mathml-convert-command "latexmlmath \"%i\" --presentationmathml=3D%o") E.g. export: \(x\). > But, to be brutally honest, I'm more than a little confused about what > is possible or not in ODT export. I don't use it often, mostly because > almost all of my documents have some maths in LaTeX form, but there are > indeed cases where it would be nice to have the capability of exporting > maths to ODT. It=E2=80=99s getting better. I exported a large document recently, and Nic= olas fixed a lot of bugs. > Setting the variable mentioned above doesn't work for me either. I had > to install the latexml package (on Ubuntu) to have the command available > but I don't know where to get the jar file that may be needed > (cf. org-latex-to-mathml-jar-file). None. At least two methods are supported: latexmlmath and some .jar file, perhaps mathtoweb.jar or something like that? > Any help in this regard would be welcome. Searching the mailing list > doesn't bring up anything useful. Run from emacs -q and check your *messages*. You should see something like this in the buffer: Formatting LaTeX using mathml Creating MathML snippet 1... Wrote /tmp/ltxmathml-in5102GLn Running latexmlmath "\(x\)" --presentationmathml=3Dltxmathml-out5102TVt Using vacuous schema Wrote /tmp/ltxmathml/test-formula-27f4fea30995c43e0894e19929353bf9fa89= 57cb.mathml Embedding /tmp/ltxmathml/test-formula-27f4fea30995c43e0894e19929353bf9= fa8957cbm. Rasmus --=20 Spil noget med Slayer!