emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Saptarshi Guha <saptarshi.guha@gmail.com>
To: Matthew Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Prevent footnotes from becoming superscript(in HTML)
Date: Tue, 9 Dec 2008 01:38:01 -0500	[thread overview]
Message-ID: <53F93622-BF76-47A0-9CC9-0D6E314CD901@gmail.com> (raw)
In-Reply-To: <87fxkye881.fsf@fastmail.fm>

Thanks, i think your first suggestion works for me.
Regards
Saptarshi

On Dec 8, 2008, at 3:13 PM, Matthew Lundin wrote:

> "Saptarshi Guha" <saptarshi.guha@gmail.com> 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 - saptarshi.guha@gmail.com
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Saptarshi Guha | saptarshi.guha@gmail.com | http://www.stat.purdue.edu/~sguha
Above all else - sky.

      reply	other threads:[~2008-12-09  6:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 18:53 Prevent footnotes from becoming superscript(in HTML) Saptarshi Guha
2008-12-08 20:13 ` Matthew Lundin
2008-12-09  6:38   ` Saptarshi Guha [this message]

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=53F93622-BF76-47A0-9CC9-0D6E314CD901@gmail.com \
    --to=saptarshi.guha@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).