From: Christian Moe <mail@christianmoe.com>
To: Vaidheeswaran <vaidheeswaran.chinnaraju@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ODT export: Issues with `org-export-footnote-first-reference-p'
Date: Tue, 10 Feb 2015 13:56:47 +0100 [thread overview]
Message-ID: <m2lhk5lyb4.fsf@christianmoe.com> (raw)
In-Reply-To: <mbcpd7$lp0$1@ger.gmane.org>
Hi,
Thanks for this. You have
[fn:1] footdef1[fn:2]
[fn:2] footdef2
What do you expect to see in ODT? Presumably not a footnote in a
footnote, since LibreOffice doesn't allow you to place one.
An ODT cross-reference to the footnote? That makes sense, but should
that be achieved by footnoting inside a footnote, or is the appropriate
thing to do to use a dedicated target and link?
[fn:1] footdef1, see also [[thatotherfootnote]].
[fn:2] <<thatotherfootnote>>footdef2
That seems to works nicely e.g. in HTML export.
But I get an error message when I try it in ODT export (OpenDocument
export failed: number-or-marker-p, nil -- can't be more detailed at the
moment because my debugger doesn't seem to work correctly).
So either way, there seems to be something that needs fixing.
Yours,
Christian
Vaidheeswaran writes:
> The attached file, when exported to ODT fails to open in LibreOffice
> exporter. The reason failure is that the exported __XML__ file has
> "nested footnote definiton" i.e., a footnote definition within a
> footnote definiton. In concrete terms, there is some confusion wrt
> the return value of `org-export-footnote-first-reference-p'.
>
> (Hint: Start with `org-odt-footnote-reference'. If my hunch is right,
> the `org-export-data' invocation there may also need a fix).
>
> I will be happy to circulate a patch to ox-odt.el.
next prev parent reply other threads:[~2015-02-10 12:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-10 11:17 ODT export: Issues with `org-export-footnote-first-reference-p' Vaidheeswaran
2015-02-10 12:56 ` Christian Moe [this message]
2015-02-10 14:22 ` Vaidheeswaran C
2015-02-10 21:29 ` Nicolas Goaziou
2015-02-11 4:46 ` Vaidheeswaran C
2015-02-11 21:12 ` Nicolas Goaziou
2015-02-12 4:44 ` Vaidheeswaran
2015-02-12 7:19 ` Thomas S. Dye
2015-02-12 7:50 ` Vaidheeswaran C
2015-02-12 16:25 ` Thomas S. Dye
2015-02-13 0:18 ` Nicolas Goaziou
2015-02-13 7:37 ` Vaidheeswaran C
2015-02-13 13:18 ` Nicolas Goaziou
[not found] ` <m2vbj61bdc.fsf@christianmoe.com>
2015-02-13 13:23 ` Nicolas Goaziou
2015-02-10 21:28 ` Nicolas Goaziou
2015-02-11 6:02 ` Vaidheeswaran
2015-02-11 6:10 ` Vaidheeswaran
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2lhk5lyb4.fsf@christianmoe.com \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.org \
--cc=vaidheeswaran.chinnaraju@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.