emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)]
@ 2012-04-16 13:03 Shaun Johnson
  2012-04-16 13:56 ` Shaun Johnson
  2012-04-17  8:48 ` Nicolas Goaziou
  0 siblings, 2 replies; 8+ messages in thread
From: Shaun Johnson @ 2012-04-16 13:03 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 4756 bytes --]

Hi,

The attached example org file (t.org) with two footnotes generates the
attached HTML file (t.html). As you can see in the attached screenshot
(t.png) the footnote placement is odd to say the least.

Any help appreciated (especially telling me I'm doing something stupid).

Thanks,

Shaun.

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.
------------------------------------------------------------------------



Emacs  : GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600)
  of 2011-03-10 on 3249CTO
Package: Org-mode version 7.8.09 (release_7.8.09.234.g4a35)

current state:
==============
(setq
  org-emphasis-alist '(("*" bold "<b>" "</b>") ("/" italic "<i>" "</i>")
                       ("_" underline
                        "<span style=\"text-decoration:underline;\">" "</span>")
                       ("=" org-code "<code>" "</code>" verbatim)
                       ("~" org-verbatim "<code>" "</code>" verbatim))
  org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
  org-speed-command-hook '(org-speed-command-default-hook
                           org-babel-speed-command-hook)
  org-agenda-files '("e:/Home/Shaun/Org/personal.org"
                     "~/Play/Alexandria/alexandria.org"
                     "e:/Home/Shaun/Org/Farrers.org"
                     "e:/Home/Shaun/Org/ScottishWater.org"
                     "e:/Home/Shaun/Org/TEV.org" "e:/Home/Shaun/Org/Tesco.org"
                     "e:/Home/Shaun/Org/general.org"
                     "e:/Home/Shaun/Org/hoj.org" "e:/Home/Shaun/Org/thor.org"
                     "e:/Home/Shaun/Org/Sincal.org")
  org-agenda-include-diary t
  org-src-fontify-natively t
  org-clock-into-drawer "CLOCK"
  org-metaup-hook '(org-babel-load-in-session-maybe)
  org-footnote-section nil
  org-after-todo-state-change-hook '(org-clock-out-if-current)
  org-id-method 'org
  org-log-note-clock-out t
  org-export-latex-format-toc-function 'org-export-latex-format-toc-default
  org-hide-emphasis-markers t
  org-tab-first-hook '(org-hide-block-toggle-maybe
                       org-src-native-tab-command-maybe
                       org-babel-hide-result-toggle-maybe
                       org-babel-header-arg-expand)
  org-src-mode-hook '(org-src-babel-configure-edit-buffer
                      org-src-mode-configure-edit-buffer)
  org-confirm-shell-link-function 'yes-or-no-p
  org-export-first-hook '(org-beamer-initialize-open-trackers)
  org-agenda-before-write-hook '(org-agenda-add-entry-text)
  org-directory "~/Org"
  org-imenu-depth 4
  org-babel-pre-tangle-hook '(save-buffer)
  org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                   org-cycle-show-empty-lines
                   org-optimize-window-after-visibility-change)
  org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
  org-mode-hook '(#[nil "\300\301\302\303\304$\207"
                    [org-add-hook change-major-mode-hook org-show-block-all
                     append local]
                    5]
                  #[nil "\300\301\302\303\304$\207"
                    [org-add-hook change-major-mode-hook
                     org-babel-show-result-all append local]
                    5]
                  org-babel-result-hide-spec org-babel-hide-all-hashes)
  org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
                           org-babel-execute-safely-maybe)
  org-emphasis-regexp-components '(" 	('\"" "- 	.,:?;'\")_" " 	
\n,\"'"
                                   "." 1)
  org-confirm-elisp-link-function 'yes-or-no-p
  org-export-interblocks '((src org-babel-exp-non-block-elements))
  org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
  org-occur-hook '(org-first-headline-recenter)
  org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
  org-modules '(org-bbdb org-bibtex org-gnus org-id org-info org-jsinfo
                org-inlinetask org-irc org-mew org-mhe org-rmail org-vm org-wl
                org-w3m)
  org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
                                org-beamer-auto-fragile-frames
                                org-beamer-place-default-actions-for-lists)
  org-metadown-hook '(org-babel-pop-to-session-maybe)
  org-export-blocks '((src org-babel-exp-src-block nil)
                      (export-comment org-export-blocks-format-comment t)
                      (ditaa org-export-blocks-format-ditaa nil)
                      (dot org-export-blocks-format-dot nil))
  )

[-- Attachment #2: t.png --]
[-- Type: image/png, Size: 43996 bytes --]

[-- Attachment #3: t.html --]
[-- Type: text/html, Size: 4994 bytes --]

[-- Attachment #4: t.org --]
[-- Type: text/plain, Size: 656 bytes --]


* hhhhh
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah 
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah 
Blah Blah Blah Blah Blah Blah Blah Blah [fn:1]Blah Blah Blah Blah Blah Blah 

[fn:1] Foot foot
foot foot


* iiiiii
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah 
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah 
Blah Blah Blah Blah Blah Blah Blah Blah [fn:2]Blah Blah Blah Blah Blah Blah 

[fn:2] Two foot


* jjjjjj
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah 
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)]
  2012-04-16 13:03 Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)] Shaun Johnson
@ 2012-04-16 13:56 ` Shaun Johnson
  2012-04-16 14:03   ` Jambunathan K
  2012-04-17  8:48 ` Nicolas Goaziou
  1 sibling, 1 reply; 8+ messages in thread
From: Shaun Johnson @ 2012-04-16 13:56 UTC (permalink / raw)
  To: Org Mode

On 16/04/2012 14:03, Shaun Johnson wrote:
> Hi,
>
> The attached example org file (t.org) with two footnotes generates the
> attached HTML file (t.html). As you can see in the attached screenshot
> (t.png) the footnote placement is odd to say the least.

This problem doesn't org with the new exporter (org-export based) exporter
so I will probably go down that road.

Shaun.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)]
  2012-04-16 13:56 ` Shaun Johnson
@ 2012-04-16 14:03   ` Jambunathan K
       [not found]     ` <4F8C2907.2020805@slugfest.demon.co.uk>
  0 siblings, 1 reply; 8+ messages in thread
From: Jambunathan K @ 2012-04-16 14:03 UTC (permalink / raw)
  To: Shaun Johnson; +Cc: Org Mode

Shaun Johnson <shaun@slugfest.demon.co.uk> writes:

> On 16/04/2012 14:03, Shaun Johnson wrote:
>> Hi,
>>
>> The attached example org file (t.org) with two footnotes generates the
>> attached HTML file (t.html). As you can see in the attached screenshot
>> (t.png) the footnote placement is odd to say the least.
>
> This problem doesn't org with the new exporter (org-export based) exporter
> so I will probably go down that road.

You mean org-e-html?

> Shaun.
>
>

-- 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)]
       [not found]     ` <4F8C2907.2020805@slugfest.demon.co.uk>
@ 2012-04-16 14:24       ` Jambunathan K
  0 siblings, 0 replies; 8+ messages in thread
From: Jambunathan K @ 2012-04-16 14:24 UTC (permalink / raw)
  To: Orgmode


[Fwding to the list]

Shaun Johnson <shaun@slugfest.demon.co.uk> writes:

> On 16/04/2012 15:03, Jambunathan K wrote:
>> Shaun Johnson<shaun@slugfest.demon.co.uk>  writes:
>>
>>> On 16/04/2012 14:03, Shaun Johnson wrote:
>>>> Hi,
>>>>
>>>> The attached example org file (t.org) with two footnotes generates the
>>>> attached HTML file (t.html). As you can see in the attached screenshot
>>>> (t.png) the footnote placement is odd to say the least.
>>>
>>> This problem doesn't org with the new exporter (org-export based) exporter
>>> so I will probably go down that road.
>>
>> You mean org-e-html?
>
I mean: the problem does not occur with org-e-html.

My last sentence in that mail should have read:

  This problem doesn't occur with the new exporter (org-export-dispatch based)
  so I will probably go down that road.

Shaun.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)]
  2012-04-16 13:03 Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)] Shaun Johnson
  2012-04-16 13:56 ` Shaun Johnson
@ 2012-04-17  8:48 ` Nicolas Goaziou
  2012-04-17 19:51   ` Shaun Johnson
  1 sibling, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2012-04-17  8:48 UTC (permalink / raw)
  To: Shaun Johnson; +Cc: Org Mode

Hello,

Shaun Johnson <shaun@slugfest.demon.co.uk> writes:

> The attached example org file (t.org) with two footnotes generates the
> attached HTML file (t.html). As you can see in the attached screenshot
> (t.png) the footnote placement is odd to say the least.

This is a limitation from HTML exporter: it requires
`org-footnote-section' being non-nil.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)]
  2012-04-17  8:48 ` Nicolas Goaziou
@ 2012-04-17 19:51   ` Shaun Johnson
  2012-04-20  9:21     ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Shaun Johnson @ 2012-04-17 19:51 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Org Mode

On 17/04/2012 09:48, Nicolas Goaziou wrote:
> Hello,
>
> Shaun Johnson<shaun@slugfest.demon.co.uk>  writes:
>
>> The attached example org file (t.org) with two footnotes generates the
>> attached HTML file (t.html). As you can see in the attached screenshot
>> (t.png) the footnote placement is odd to say the least.
>
> This is a limitation from HTML exporter: it requires
> `org-footnote-section' being non-nil.

Ah, ok, thanks. Is this documented?

Shaun.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)]
  2012-04-17 19:51   ` Shaun Johnson
@ 2012-04-20  9:21     ` Nicolas Goaziou
  2012-04-20 11:52       ` Shaun Johnson
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2012-04-20  9:21 UTC (permalink / raw)
  To: Shaun Johnson; +Cc: Org Mode

Hello,

Shaun Johnson <shaun@slugfest.demon.co.uk> writes:

>> Shaun Johnson<shaun@slugfest.demon.co.uk>  writes:
>>
>>> The attached example org file (t.org) with two footnotes generates the
>>> attached HTML file (t.html). As you can see in the attached screenshot
>>> (t.png) the footnote placement is odd to say the least.
>>
>> This is a limitation from HTML exporter: it requires
>> `org-footnote-section' being non-nil.
>
> Ah, ok, thanks. Is this documented?

No. I have pushed a workaround in master. Can you confirm that HTML
exporter now behaves as expected?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)]
  2012-04-20  9:21     ` Nicolas Goaziou
@ 2012-04-20 11:52       ` Shaun Johnson
  0 siblings, 0 replies; 8+ messages in thread
From: Shaun Johnson @ 2012-04-20 11:52 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Org Mode

On 20/04/2012 10:21, Nicolas Goaziou wrote:
> Hello,
>
> Shaun Johnson<shaun@slugfest.demon.co.uk>  writes:
>
>>> Shaun Johnson<shaun@slugfest.demon.co.uk>   writes:
>>>
>>>> The attached example org file (t.org) with two footnotes generates the
>>>> attached HTML file (t.html). As you can see in the attached screenshot
>>>> (t.png) the footnote placement is odd to say the least.
>>>
>>> This is a limitation from HTML exporter: it requires
>>> `org-footnote-section' being non-nil.
>>
>> Ah, ok, thanks. Is this documented?
>
> No. I have pushed a workaround in master. Can you confirm that HTML
> exporter now behaves as expected?

Yes, it now behaves as expected on my real document.

Many thanks,

Shaun.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-20 11:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 13:03 Bug: Footnotes badly positioned in HTML export [7.8.09 (release_7.8.09.234.g4a35)] Shaun Johnson
2012-04-16 13:56 ` Shaun Johnson
2012-04-16 14:03   ` Jambunathan K
     [not found]     ` <4F8C2907.2020805@slugfest.demon.co.uk>
2012-04-16 14:24       ` Jambunathan K
2012-04-17  8:48 ` Nicolas Goaziou
2012-04-17 19:51   ` Shaun Johnson
2012-04-20  9:21     ` Nicolas Goaziou
2012-04-20 11:52       ` Shaun Johnson

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).