Discussion:
[O] new HTML export backend: footnote format [%s]?
Stefan Vollmar
2013-02-13 00:32:34 UTC
Permalink
Hello,

I have just started using the new exporter in 7.9.3e (7.9.3e-999-ge5322) for HTML output.

After applying these changes to our org files:

#+style -> #+html_style
#+setupfile -> #+include and path in ""

our HTML output is almost back to normal. Nice work!
So it seems we are already down to the more "cosmetic" stuff.

This apparently does not have an effect any more:
(setq org-export-html-footnote-format " [%s]")
- is there a new way to configure this format for the new export backends (we prefer "[123]" references to superscripted footnotes)?

Many thanks in advance!

Warm regards,
Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
Email: ***@nf.mpg.de http://www.nf.mpg.de
Nick Dokos
2013-02-13 01:58:19 UTC
Permalink
Post by Stefan Vollmar
Hello,
I have just started using the new exporter in 7.9.3e (7.9.3e-999-ge5322) for HTML output.
#+style -> #+html_style
#+setupfile -> #+include and path in ""
our HTML output is almost back to normal. Nice work!
So it seems we are already down to the more "cosmetic" stuff.
(setq org-export-html-footnote-format " [%s]")
- is there a new way to configure this format for the new export backends (we prefer "[123]" references to superscripted footnotes)?
Probably (i.e. I did not test), customizing these two:

,----
| (defcustom org-html-footnote-format "<sup>%s</sup>"
| "The format for the footnote reference.
| %s will be replaced by the footnote reference itself."
| :group 'org-export-html
| :type 'string)
|
| (defcustom org-html-footnote-separator "<sup>, </sup>"
| "Text used to separate footnotes."
| :group 'org-export-html
| :type 'string)
`----

would do the job.

Nick
Stefan Vollmar
2013-02-13 20:02:33 UTC
Permalink
Dear Nick,
Post by Nick Dokos
Post by Stefan Vollmar
I have just started using the new exporter in 7.9.3e (7.9.3e-999-ge5322) for HTML output.
(setq org-export-html-footnote-format " [%s]")
- is there a new way to configure this format for the new export backends (we prefer "[123]" references to superscripted footnotes)?
,----
| (defcustom org-html-footnote-format "<sup>%s</sup>"
| "The format for the footnote reference.
| %s will be replaced by the footnote reference itself."
| :group 'org-export-html
| :type 'string)
indeed:
(setq org-html-footnote-format " [%s]")
does the trick.

Thanks!
Warm regards,
Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
Email: ***@nf.mpg.de http://www.nf.mpg.de
Loading...