emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] HTML Export - Footnotes inconcistency


From: Nicolas Goaziou
Subject: Re: [O] HTML Export - Footnotes inconcistency
Date: Mon, 01 Oct 2018 19:39:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Matthias Paulmier <address@hidden> writes:

> I came across this problem today (or maybe it is intended but I couldn't
> find any explanation in the docs). There is an inconsistency on how
> inline/anonymous and named footnotes are exported in HTML. For example,
> with the following source:
>
> #+TITLE: Testing footnotes
> #+LANGUAGE: en
>
> Testing[fn::test1] footnotes[fn:2]
>
> [fn:2] test2
>
>
> Exports to this :
>
> <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> <div class="footpara">test1</div></div>
>
> <div class="footdef"><sup><a id="fn.2" class="footnum"
> href="#fnr.2">2</a></sup> <div class="footpara"><p class="footpara">
> test2 </p></div></div>
>
> We can see here that the named footnote creates a paragraph of the same
> class as the parent container "footpara" whereas the inlined one doesn't
> create this.  If this is intended, why?  If not, which is the intended
> one?

This is intended, in a way, since the inline footnote is not a paragraph
by itself. It is contained within a paragraph. This explains why you
cannot have blank lines within an inline footnote. 

OTOH, a footnote definition can contain multiple paragraphs.

I don't know if that's a good thing, but these differences at the Org
level are translated into the HTML output.

Regards,

-- 
Nicolas Goaziou



reply via email to

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