emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: SOLVED:  LaTeX equation align in orgmode?
Date: Wed, 14 Oct 2015 14:58:01 +0200	[thread overview]
Message-ID: <87k2qpk3om.fsf@gmx.us> (raw)
In-Reply-To: <87y4f57ked.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 14 Oct 2015 12:35:22 +0100")

Eric S Fraga <e.fraga@ucl.ac.uk> 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=%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’s getting better.  I exported a large document recently, and Nicolas
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=ltxmathml-out5102TVt
     Using vacuous schema
     Wrote /tmp/ltxmathml/test-formula-27f4fea30995c43e0894e19929353bf9fa8957cb.mathml
     Embedding /tmp/ltxmathml/test-formula-27f4fea30995c43e0894e19929353bf9fa8957cbm.

Rasmus

-- 
Spil noget med Slayer!

  reply	other threads:[~2015-10-14 12:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-28 19:10 LaTeX equation align in orgmode? Rainer M Krug
2015-09-29  4:06 ` Andreas Leha
2015-09-29  7:52   ` BUG?: LaTeX equation align in orgmode? - even in -Q Rainer M Krug
2015-09-29  8:24   ` LaTeX equation align in orgmode? Ken Mankoff
2015-09-29  7:38 ` Eric S Fraga
2015-09-29  8:09   ` SOLVED: " Rainer M Krug
2015-09-29 15:54     ` Andreas Leha
2015-10-08 22:25       ` Enzo Chi
2015-10-09  9:41         ` Eric S Fraga
2015-10-11 21:49           ` Enzo Chi
2015-10-12  7:23             ` Eric S Fraga
2015-10-12  7:34               ` Rasmus
2015-10-14 11:35                 ` Eric S Fraga
2015-10-14 12:58                   ` Rasmus [this message]
2015-10-14 14:09                     ` Eric S Fraga
2015-10-14 14:18                       ` Rasmus
2015-10-14 15:24                         ` Eric S Fraga
2015-09-29 13:43   ` Rasmus
2015-09-29 15:49 ` Nicolas Goaziou

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=87k2qpk3om.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).