emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] bug: footnotes do not export to HTML


From: Bernt Hansen
Subject: Re: [O] bug: footnotes do not export to HTML
Date: Thu, 07 Jul 2011 17:08:32 -0400
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Samuel Wales <address@hidden> writes:
>
>> On 2011-07-05, Nicolas Goaziou <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]