emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eddward DeVilla <eddward@gmail.com>
To: Bob Kline <bkline@rksystems.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Inconsistent exporting of underscore character
Date: Sat, 27 Jun 2009 09:46:31 -0500	[thread overview]
Message-ID: <b71b18520906270746g229e1cf2x5ebb1359d205bb59@mail.gmail.com> (raw)
In-Reply-To: <4A461822.6030402@rksystems.com>

You can put an OPTIONS line in you file.

        #+OPTIONS ^:nil
        Turn off superscript/subscript

or, my prefered

       #+OPTIONS ^:{}
       Works for foo^{bar} & foo_{bar}
       but not foo^bar & foo_bar

This is in "12.3 Export options" of the org manual.

Edd


On Sat, Jun 27, 2009 at 8:01 AM, Bob Kline<bkline@rksystems.com> wrote:
> I notice that when text containing an underscore (as happens frequently with
> database table names) is exported as HTML, the exporter decides to covert
> the rest of the word to a subscript.  I tried escaping the underscore with a
> backslash, but then exporting to ASCII is broken, with the backslash passed
> through as part of the text.
>
> What's the correct way to escape the underscore so that the HTML exporter
> doesn't garble the output, without mucking up ASCII export?  Or is org-mode
> designed in such a way that users are expected to mark up documents for one
> specific output (which would be a step backward)?
>
> --
> Bob Kline
> http://www.rksystems.com
> mailto:bkline@rksystems.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:[~2009-06-27 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-27 13:01 Inconsistent exporting of underscore character Bob Kline
2009-06-27 14:46 ` Eddward DeVilla [this message]
2009-06-27 15:07   ` Bob Kline

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=b71b18520906270746g229e1cf2x5ebb1359d205bb59@mail.gmail.com \
    --to=eddward@gmail.com \
    --cc=bkline@rksystems.com \
    --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).