emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: saptarshi.guha@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Prevent footnotes from becoming superscript(in HTML)
Date: Mon, 08 Dec 2008 14:13:18 -0600	[thread overview]
Message-ID: <87fxkye881.fsf@fastmail.fm> (raw)
In-Reply-To: <1e7471d50812081053m197ab2a0h296f827538bfbb27@mail.gmail.com> (Saptarshi Guha's message of "Mon\, 8 Dec 2008 13\:53\:06 -0500")

"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

  reply	other threads:[~2008-12-08 20:13 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 [this message]
2008-12-09  6:38   ` Saptarshi Guha

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=87fxkye881.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=saptarshi.guha@gmail.com \
    /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).