emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Exporting to HTML - underscores cause unwanted sub-script


From: Rick Moynihan
Subject: Re: [Orgmode] Exporting to HTML - underscores cause unwanted sub-script
Date: Fri, 15 Aug 2008 09:39:26 +0100
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]