all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel J. Sinder" <daniel@sindercity.com>
To: "Parker, Matthew" <MParker@seic.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Exporting to HTML - underscores cause unwanted	sub-script
Date: Fri, 15 Aug 2008 00:23:28 -0700	[thread overview]
Message-ID: <48A52EF0.8030201@sindercity.com> (raw)
In-Reply-To: <9E067A1AECCB154485D4CF7E4BEF4D8E09484BA6@post07.corp.seic.com>

For the record, you can also "fix" this problem using the following 
file-local customization:

#+OPTIONS:   ^:{}

I'm a regular LaTeX user, but find that escaping underscores (with 
'\') gets tedious when cutting and pasting multiple file names 
and/or variable names that include them.

With the above option, "before_after" is left as is, while 
"before_{after}" has "after" set as a subscript.  See section 12.2 
of the documentation.

Dan



Parker, Matthew wrote:
> Perfect. Thanks!
> 
> -----Original Message-----
> From: nick@gamaville.dokosmarshall.org
> [mailto:nick@gamaville.dokosmarshall.org] On Behalf Of Nick Dokos
> Sent: Thursday, August 14, 2008 9:52 PM
> To: Parker, Matthew
> Cc: Emacs-orgmode@gnu.org
> Subject: Re: [Orgmode] Exporting to HTML - underscores cause unwanted
> sub-script 
> 
> Parker, Matthew <MParker@seic.com> wrote:
> 
> 
>>One thing that I'm tripping up on is that I'm trying to list data base
> 
> names that have underscores, e.g. prc_tms.
> 
>>And the 'second word' is coming out subscript: 'prc[tms'] field
>>
>>I realize this may be a feature and not a bug... but how to turn it
> 
> off?
> 
> 
> Escape the underscore with a backslash: prc\_tms. Similarly, ^ produces
> a superscript whereas \^ produces a caret. And for something completely
> different, \alpha produces &alpha; which is rendered as the first letter
> of the Greek alphabet etc.
> 
> This notation is TeX-inspired: Carsten is a scientist, he uses TeX/LaTeX
> for papers and he uses org-mode for notes, so it was natural for him to
> adopt the notation.
> 
> Nick
> 
> 
> _______________________________________________
> 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-08-15  7:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15  1:01 Exporting to HTML - underscores cause unwanted sub-script Parker, Matthew
2008-08-15  1:52 ` Nick Dokos
2008-08-15  2:05   ` Parker, Matthew
2008-08-15  7:23     ` Daniel J. Sinder [this message]
2008-08-20  9:03       ` David House
2008-08-15  8:39 ` Rick Moynihan

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

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

  git send-email \
    --in-reply-to=48A52EF0.8030201@sindercity.com \
    --to=daniel@sindercity.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=MParker@seic.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.