emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Robert Love <rblove_lists@comcast.net>
Cc: nicholas.dokos@hp.com,
	emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: LaTeX export: underscores and the syntax package
Date: Fri, 13 May 2011 23:12:43 -0400	[thread overview]
Message-ID: <16801.1305342763@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Robert Love <rblove_lists@comcast.net> of "Fri, 13 May 2011 21:51:59 CDT." <97BE4DB8-21C0-4B5F-90A7-EF6ADB173782@comcast.net>

Robert Love <rblove_lists@comcast.net> wrote:

> And I find the same problem with export to HTML.  I have many variables and paths that have underscores in them.  The underscores all are shown as subscripts.   I don't want to have to go thru all my org files and escape the underscore.  
> 
> How do I make the underscore be a subscript only in math mode?
> 

Org mode knows nothing about math mode (a TeX concept only).  You can
turn off the subscript interpretation of underscores globally in the
file by using

#+OPTIONS: ^:nil

See section 12.2, "Export options", of the Org manual.

AFAIK, there is no way to make underscores be underscores in some cases
and trigger subscripts in other cases, in the same file.

Nick

  reply	other threads:[~2011-05-14  3:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 14:00 LaTeX export: underscores and the syntax package peter.frings
2011-05-14  2:51 ` Robert Love
2011-05-14  3:12   ` Nick Dokos [this message]
2011-05-14  3:50   ` Nick Dokos
2011-05-18  7:23     ` Peter Frings
2011-05-18 16:44       ` Nick Dokos
2011-05-24 11:09       ` Carsten Dominik

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=16801.1305342763@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rblove_lists@comcast.net \
    /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).