emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vaidheeswaran <vaidheeswaran.chinnaraju@gmail.com>
To: emacs-orgmode@gnu.org
Subject: ODT export: Issues with `org-export-footnote-first-reference-p'
Date: Tue, 10 Feb 2015 16:47:12 +0530	[thread overview]
Message-ID: <mbcpd7$lp0$1@ger.gmane.org> (raw)

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


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.

[-- Attachment #2: test.org --]
[-- Type: text/plain, Size: 95 bytes --]

text1 [fn:1]

#+BEGIN_QUOTE
text2 [fn:2]
#+END_QUOTE

[fn:1] footdef1.[fn:2]

[fn:2] footdef2


[-- Attachment #3: test.odt --]
[-- Type: application/vnd.oasis.opendocument.text, Size: 10254 bytes --]

             reply	other threads:[~2015-02-10 11:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 11:17 Vaidheeswaran [this message]
2015-02-10 12:56 ` ODT export: Issues with `org-export-footnote-first-reference-p' Christian Moe
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

  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='mbcpd7$lp0$1@ger.gmane.org' \
    --to=vaidheeswaran.chinnaraju@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).