emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: footnotes as [references]?
Date: Mon, 27 Jul 2009 09:34:11 +0200	[thread overview]
Message-ID: <61411478-6316-4690-B2F4-6DA0CA4C4544@nf.mpg.de> (raw)
In-Reply-To: <87ws5ulrwh.fsf@bzg.ath.cx>

Dear Bastien,

On 27.07.2009, at 05:35, Bastien wrote:

>> we want to have a "traditional" reference section in a software
>> documentation we are currently writing using org-mode. Org's Footnote
>> feature is almost perfect for the job, however, I prefer the "[123]"-
>> type of reference rather than the superscript notation org  
>> generates for
>> HTML-export. Is there a way to change the appearance of footnotes
>> (still hyperlinked, of course) to the square-bracket version in HTML
>> output?
>
> Now there is a new option `org-export-html-footnote-format'.
>
> You can set this to " [%s]" and the references will be in the format
> you describe.
>
> Thanks for this idea,


EXCELLENT, thank you!

Small things:

(1) Using the "fn:" style of footnotes, org generates a "Footnotes:"  
section in HTML export. In org-footnote.el I found that I might need  
to set
org-footnote-tag-for-non-org-mode-files to change "Footnotes" to  
"References" (or some other name), however,
(setq org-footnote-tag-for-non-org-mode-files "References")
does not seem to work for me.

(2) If, with
(setq org-export-html-footnote-format " [%s]")
we now have a "[123]"-style of footnotes (that works great!), the list  
of footnotes/references at the end of the document should also have  
the square-bracket-notation.

(3) I believe that the square-bracket-style might be of interest to  
many users and maybe there should be a #+options-switch to toggle  
superscript- and square-bracket-style.

Warm regards,
  Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
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: vollmar@nf.mpg.de   http://www.nf.mpg.de

  reply	other threads:[~2009-07-27  7:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-26 18:31 footnotes as [references]? Stefan Vollmar
2009-07-27  3:35 ` Bastien
2009-07-27  7:34   ` Stefan Vollmar [this message]
2009-07-27 10:02     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61411478-6316-4690-B2F4-6DA0CA4C4544@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).