emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] [ODT] Subtree export gives wrong footnote style
@ 2013-03-28 12:05 Christian Moe
  2013-03-29 12:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 11+ messages in thread
From: Christian Moe @ 2013-03-28 12:05 UTC (permalink / raw)
  To: Emacs-orgmode


Hi,

The new ODT exporter sometimes, but not always fails to put footnotes in
Footnote style as expected. They are left in Text Body, which is wrong
(and surprisingly difficult to fix in LibreOffice).

After a bit of trial and failure, it seems the error depends on the
scope of export: 

Exporting the whole buffer gives correct footnote style.

Exporting a subtree only fails to give the correct style -- *unless* the
footnote is included in the subtree. In the example below, I actually
get a mix of stylesm depending on whether the footnote is defined in the
exported section or outside it. Org-mode is clearly able to find both
footnotes, and recognize them as footnotes, so I'm baffled at the
different styling.

---------Begin example

#+TITLE: Test ODT footnote style
#+OPTIONS: num:nil toc:nil

* This is a heading

This is a bit of body text.[fn:1] It has footnotes.[fn:2]

[fn:1] This is a footnote I have placed in the same section that I am
exporting. It is in Footnote style (correct).

* Footnotes

[fn:2] This is a footnote in a footnote section. When I export the
section above as a subtree, this footnote is in Text Body
(wrong). When I export the whole document, it's in Footnote style
(correct).

---------End example

Yours,
Christian

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-04-02  7:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-28 12:05 [BUG] [ODT] Subtree export gives wrong footnote style Christian Moe
2013-03-29 12:51 ` Nicolas Goaziou
2013-03-29 14:22   ` Christian Moe
2013-03-29 22:15     ` Nicolas Goaziou
2013-03-30  8:11       ` Christian Moe
2013-04-01  8:02         ` Nicolas Goaziou
2013-04-01 12:02           ` Christian Moe
2013-04-01 15:35             ` Nicolas Goaziou
2013-04-01 18:37               ` Christian Moe
2013-04-01 22:09                 ` Nicolas Goaziou
2013-04-02  7:09                   ` Christian Moe

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).