From: Rick Moynihan <rick@calicojack.co.uk>
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 09:39:26 +0100 [thread overview]
Message-ID: <48A540BE.5010408@calicojack.co.uk> (raw)
In-Reply-To: <9E067A1AECCB154485D4CF7E4BEF4D8E09484B9D@post07.corp.seic.com>
Parker, Matthew wrote:
> Hi,
>
> The export to HTML is really great....
>
> 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: 'prctms' field
I had this same problem and tried to find a way to turn it off, but
noticed that whenever I used underscores I was referring to elements of
a program, e.g. method_name, variable_name, database_name, or /file/path
etc...
So my solution was to use the following syntax:
=method_name=
=/file/path=
Surrounding the word in ='s like above causes the font to be exported
inside an inline <code> tag, which renders as a fixed width font and
ensures it's not confused as something else. It also nicely disables
the subscripting.
R.
prev parent reply other threads:[~2008-08-15 8:39 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
2008-08-20 9:03 ` David House
2008-08-15 8:39 ` Rick Moynihan [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48A540BE.5010408@calicojack.co.uk \
--to=rick@calicojack.co.uk \
--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.