[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Prevent footnotes from becoming superscript(in HTML)
From: |
Matthew Lundin |
Subject: |
Re: [Orgmode] Prevent footnotes from becoming superscript(in HTML) |
Date: |
Mon, 08 Dec 2008 14:13:18 -0600 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
"Saptarshi Guha" <address@hidden> writes:
> Hello
> I am using footnotes extensively, e.g Boo[1] but I would like org-mode
> to not export them as superscripts i.e I would like the exported HTML
> to look like Boo[1] and not Boo ^{[1]}.
> Is there a way to do this?
One way to get rid of the superscript would be to add a style
declaration to your export.
#+STYLE: <style type="text/css"> sup { vertical-align: baseline } </style>
If you want brackets, you can add the following line to the top of
your org file:
#+STYLE: <style type="text/css"> sup { vertical-align: baseline; } \
sup:before { content: " ["; } sup:after {content: "]" } </style>
Not surprisingly, this doesn't work for IE.
Otherwise, I believe you'd have to hack the relevant functions in
org-exp.el to get rid of the the <sup> tags. (Someone else please
correct me if I'm wrong.)
Regards,
Matt
>
> Thank you
> Saptarshi
>
> --
> Saptarshi Guha - address@hidden
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode