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

2011-07-08 Thread Nicolas Goaziou
Hello,

Bernt Hansen be...@norang.ca writes:

 Nicolas Goaziou n.goaz...@gmail.com writes:

 Samuel Wales samolog...@gmail.com writes:

 On 2011-07-05, Nicolas Goaziou n.goaz...@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
 * 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

This isn't related. Obviously, [1] org and [2] norang are recognized
as footnotes.

I will remove the opportunity to have footnotes in some specific
contexts, like example blocks.

Regards,

-- 
Nicolas Goaziou



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

2011-07-08 Thread Bernt Hansen
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 Bernt Hansen be...@norang.ca writes:

 Sample org file
 * 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

 This isn't related. Obviously, [1] org and [2] norang are recognized
 as footnotes.

 I will remove the opportunity to have footnotes in some specific
 contexts, like example blocks.

Thanks!

-- 
Bernt



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

2011-07-08 Thread Bastien
Hi Nicolas,

Nicolas Goaziou n.goaz...@gmail.com writes:

 I will remove the opportunity to have footnotes in some specific
 contexts, like example blocks.

Wise decision -- the less feet we have, less shoots in the feet 
we may have.

-- 
 Bastien



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

2011-07-08 Thread Nicolas Goaziou
Hello,

Bastien b...@altern.org writes:

 Nicolas Goaziou n.goaz...@gmail.com writes:

 I will remove the opportunity to have footnotes in some specific
 contexts, like example blocks.

 Wise decision -- the less feet we have, less shoots in the feet 
 we may have.

Done.

Footnotes cannot live anymore in example, src, verse, latex, html and
docbook blocks.

Wherever we were, we're now six feet under, I guess.

Regards,

-- 
Nicolas Goaziou



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

2011-07-08 Thread Jambunathan K

Nicolas

 Footnotes cannot live anymore in example, src, verse, latex, html and
 docbook blocks.

In org-footnote-forbidden-blocks 

'(example verse src latex html docbook)

should we make use of org-export-backends.

I introduced the above variable as part of org-odt compatibility
changes.


,[ C-h v org-export-backends RET ]
| org-export-backends is a variable defined in `org-exp.el'.
| Its value is (odt docbook html beamer ascii latex)
| 
| 
| Documentation:
| List of Org supported export backends.
| 
| [back]
`


 Wherever we were, we're now six feet under, I guess.

 Regards,

-- 



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

2011-07-08 Thread Nicolas Goaziou
Jambunathan K kjambunat...@gmail.com writes:

 In org-footnote-forbidden-blocks 

 '(example verse src latex html docbook)

 should we make use of org-export-backends.

 I introduced the above variable as part of org-odt compatibility
 changes.


 ,[ C-h v org-export-backends RET ]
 | org-export-backends is a variable defined in `org-exp.el'.
 | Its value is (odt docbook html beamer ascii latex)
 | 
 | 
 | Documentation:
 | List of Org supported export backends.
 | 
 | [back]
 `

Indeed, I am going to make use of it. I will also change
`org-footnote-forbidden-blocks' and `org-list-forbidden-blocks' into
defconsts as they are not meant to be modified anyway.

Thanks for notifying me about this variable.

Regards,

-- 
Nicolas Goaziou



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

2011-07-07 Thread Bernt Hansen
Nicolas Goaziou n.goaz...@gmail.com writes:

 Samuel Wales samolog...@gmail.com writes:

 On 2011-07-05, Nicolas Goaziou n.goaz...@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=exampleDefault 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 linkslt;-- 35 clock task 
entries ago
/pre



div id=footnotes
h2 class=footnotesFootnotes: /h2
div id=text-footnotes
p class=footnotesupa class=footnum name=fn.1 
href=#fnr.11/a/sup DEFINITION NOT FOUND: 1
/p

p class=footnotesupa class=footnum name=fn.2 
href=#fnr.22/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



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

2011-07-05 Thread Nicolas Goaziou
Hello,

Samuel Wales samolog...@gmail.com writes:

 I find that in recent git org, footnotes do not export to HTML.  The
 calls export, but the footnotes do not.

As I cannot reproduce this on my test files, I will need an ECM to debug
this.

Regards,

-- 
Nicolas Goaziou



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

2011-07-05 Thread Giovanni Ridolfi
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 Samuel Wales samolog...@gmail.com writes:

 I find that in recent git org, footnotes do not export to HTML.  The
 calls export, but the footnotes do not.

 As I cannot reproduce this on my test files, I will need an ECM to debug
 this.
could it be an Emacs 22 specific issue?

Giovanni



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

2011-07-05 Thread Samuel Wales
Hi Nicolas,

On 2011-07-05, Nicolas Goaziou n.goaz...@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.

Try exporting with and without tasks (see end of minimal code).

Hope it helps.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
I support the Whittemore-Peterson Institute (WPI)
===
Bigotry against people with serious diseases is still bigotry.


alpha-org-testcase.el
Description: Binary data


footnotes-export.org
Description: Binary data


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

2011-07-05 Thread Nicolas Goaziou
Samuel Wales samolog...@gmail.com writes:

 On 2011-07-05, Nicolas Goaziou n.goaz...@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,

-- 
Nicolas Goaziou



[O] bug: footnotes do not export to HTML

2011-07-04 Thread Samuel Wales
I find that in recent git org, footnotes do not export to HTML.  The
calls export, but the footnotes do not.

So far I have been able to determine that e01e160 works (.el).  It is
before the recent footnote fixes, but I don't know yet whether they
are related.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
I support the Whittemore-Peterson Institute (WPI)
===
Bigotry against people with serious diseases is still bigotry.