emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: webspider <hurrus.durrus@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: Markdown export fails linking footnotes correctly [8.2.10 (8.2.10-elpa @ /home/wasa/.emacs.d/elpa/org-20141020/)]
Date: Sat, 13 Dec 2014 20:51:40 +0100	[thread overview]
Message-ID: <20141213195140.GA14924@odonien.bevuta.com> (raw)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

I'm using the footnote facility in an org document expecting an exported
Markdown document to provide hyperlinks between the reference and the
footnote.  Here's some sample Markdown text:

    Lots of text[fn:1]. Even more text

    [fn:1] Lies.

I expect it to be converted to the following:

    Lots of text<sup><a id="fnr.1" class="footref" href="#fn.1">1</a></sup>. Even more text

    <div id="footnotes">
    <h2 class="footnotes">Footnotes: </h2>
    <div id="text-footnotes">

    <div class="footdef"><sup><a id="fn.1" class="footnum" href="#fnr.1">1</a></sup> Lies.</div>


    </div>
    </div>

Instead I get the following:

Lots of text. Even more text

    <div id="footnotes">
    <h2 class="footnotes">Footnotes: </h2>
    <div id="text-footnotes">

    <div class="footdef"><sup><a id="fn.1" class="footnum" href="#fnr.1">1</a></sup> Lies.</div>


    </div>
    </div>

The difference should be clear, I expect to get a hyperlink with a
superscript reference number pointing to the relevant footnote, instead
I get neither a link nor a reference.  It's completely missing in the
actual output.

Emacs  : GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.3)
 of 2014-10-21 on bitzer.hoetzel.info
Package: Org-mode version 8.2.10 (8.2.10-elpa @ /home/wasa/.emacs.d/elpa/org-20141020/)

             reply	other threads:[~2014-12-13 19:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-13 19:51 webspider [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-12-13 20:00 Bug: Markdown export fails linking footnotes correctly [8.2.10 (8.2.10-elpa @ /home/wasa/.emacs.d/elpa/org-20141020/)] Vasilij Schneidermann
2014-12-13 21:58 ` Nicolas Goaziou
2014-12-13 16:45 Vasilij Schneidermann

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=20141213195140.GA14924@odonien.bevuta.com \
    --to=hurrus.durrus@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).