emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: ODT export fails if NAME: and ref: equation [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/kdm/.emacs.d/elpa/org-20180910/)]
Date: Thu, 8 Nov 2018 16:31:00 -0800	[thread overview]
Message-ID: <CAFdBzEqpFYQJTPvCZOa8U4eBR+3k=02wkqQQ2+ZbgYLQZFjfrw@mail.gmail.com> (raw)
In-Reply-To: <87pnvfcwgr.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]

On Thu, Nov 8, 2018 at 9:26 AM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

>
> I know. I can reproduce your problem. But I know nothing about ODT, so
> it would help if you could tell me what should be the desired output. At
> the moment, referencing anything else than a headline or a target is
> unsupported in this back-end, AFAICT.
>

Hi Nicolas,

I'd like to see a reference of some sort to the equation. The text should
read "See (1)" or "See Equation (1)". BUT, perhaps this bug, like most, was
operator error on my part.

Without setting up MathML the equation exported as raw LaTeX into the ODT
file. This was fine for me. I saw:

\begin{equation}
42
\end{equation}

 I think that ODT does not view this as an actual equation, so the
[[eq:foo]] label could not be resolved.

Thanks to the hint from Robert Pluim I have it working now. Unlike his
solution, setting `org-latex-mathml-convert-command` did not solve it for
me, but properly setting `org-latex-to-mathml-convert-command` as per
https://www.gnu.org/software/emacs/manual/html_node/org/Working-with-LaTeX-math-snippets.html#Working-with-LaTeX-math-snippets
did work for me. Now the equation appears properly formatted, not as LaTeX,
*and* the reference works.

Thank you (and Robert) for your help with this,

   -k.

[-- Attachment #2: Type: text/html, Size: 2285 bytes --]

      parent reply	other threads:[~2018-11-09  0:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14  6:48 Bug: ODT export fails if NAME: and ref: equation [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/kdm/.emacs.d/elpa/org-20180910/)] Ken Mankoff
2018-11-05 21:17 ` Ken Mankoff
2018-11-05 21:59   ` Nicolas Goaziou
2018-11-07  0:57     ` Ken Mankoff
2018-11-08 17:25       ` Nicolas Goaziou
2018-11-08 17:58         ` Robert Pluim
2018-11-09  0:31         ` Ken Mankoff [this message]

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='CAFdBzEqpFYQJTPvCZOa8U4eBR+3k=02wkqQQ2+ZbgYLQZFjfrw@mail.gmail.com' \
    --to=mankoff@gmail.com \
    --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).