emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bug: footnotes do not export to HTML
Date: Thu, 07 Jul 2011 17:08:32 -0400	[thread overview]
Message-ID: <87hb6xvlwv.fsf@norang.ca> (raw)
In-Reply-To: <87mxgsmuru.fsf@gmail.com> (Nicolas Goaziou's message of "Tue, 05 Jul 2011 20:45:09 +0200")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Samuel Wales <samologist@gmail.com> writes:
>
>> On 2011-07-05, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
>>> As I cannot reproduce this on my test files, I will need an ECM to debug
>>> this.
>>
>> Included.
>>
>> The bug occurs in ASCII export also.
>
> Thank you ! I have (hopefully) fixed it in master.
>
> Regards,
Hi Nicolas,

I'm not sure if this is related or not but now I'm getting footnotes in
my HTML exports where I'm not expecting any.  I think this might already
have been reported but I can't find the previous post anymore.

Sample org file
--8<---------------cut here---------------start------------->8---
* Using the clock history to clock in old tasks
*Clock history selection buffer for C-u C-c C-x C-i*
#+begin_example
  Default Task
  [d] norang          Organization                          <-- Task B
  The task interrupted by starting the last one
  [i] norang          Organization                          <-- Task B
  Current Clocking Task
  [c] org             NEXT Document my use of org-mode      <-- Task A
  Recent Tasks
  [1] org             NEXT Document my use of org-mode      <-- Task A
  [2] norang          Organization                          <-- Task B
  ...
  [Z] org             DONE Fix default section links        <-- 35 clock task entries ago
#+end_example
--8<---------------cut here---------------end--------------->8---

Exporting with Org-mode version 7.6 (release_7.6) gives:
(note the Footnotes section at the bottom)

--8<---------------cut here---------------start------------->8---
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
lang="en" xml:lang="en">
<head>
...
<pre class="example">Default Task
[d] norang          Organization                          &lt;-- Task B
The task interrupted by starting the last one
[i] norang          Organization                          &lt;-- Task B
Current Clocking Task
[c] org             NEXT Document my use of org-mode      &lt;-- Task A
Recent Tasks
[1] org             NEXT Document my use of org-mode      &lt;-- Task A
[2] norang          Organization                          &lt;-- Task B
...
[Z] org             DONE Fix default section links        &lt;-- 35 clock task entries ago
</pre>



<div id="footnotes">
<h2 class="footnotes">Footnotes: </h2>
<div id="text-footnotes">
<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a></sup> DEFINITION NOT FOUND: 1
</p>

<p class="footnote"><sup><a class="footnum" name="fn.2" href="#fnr.2">2</a></sup> DEFINITION NOT FOUND: 2
</p>
</div>
</div>

</div>
</div>
<div id="postamble">
...
</html>
--8<---------------cut here---------------end--------------->8---

I noticed this after trying to export an update for
http://doc.norang.ca/org-mode.html after the 7.6 release.

Regards,
-- 
Bernt

  reply	other threads:[~2011-07-07 21:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04 23:25 bug: footnotes do not export to HTML Samuel Wales
2011-07-05 12:05 ` Nicolas Goaziou
2011-07-05 13:55   ` Giovanni Ridolfi
2011-07-05 17:40   ` Samuel Wales
2011-07-05 18:45     ` Nicolas Goaziou
2011-07-07 21:08       ` Bernt Hansen [this message]
2011-07-08 12:53         ` Nicolas Goaziou
2011-07-08 13:24           ` Bernt Hansen
2011-07-08 13:44           ` Bastien
2011-07-08 16:48             ` Nicolas Goaziou
2011-07-08 17:47               ` Jambunathan K
2011-07-08 20:08                 ` Nicolas Goaziou

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=87hb6xvlwv.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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 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).