From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Moynihan Subject: Re: Exporting to HTML - underscores cause unwanted sub-script Date: Fri, 15 Aug 2008 09:39:26 +0100 Message-ID: <48A540BE.5010408@calicojack.co.uk> References: <9E067A1AECCB154485D4CF7E4BEF4D8E09484B9D@post07.corp.seic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTuqi-0001dK-KU for emacs-orgmode@gnu.org; Fri, 15 Aug 2008 04:39:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTuqe-0001bd-2T for Emacs-orgmode@gnu.org; Fri, 15 Aug 2008 04:39:55 -0400 Received: from [199.232.76.173] (port=55155 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTuqd-0001bY-Qv for Emacs-orgmode@gnu.org; Fri, 15 Aug 2008 04:39:51 -0400 Received: from storm.bpweb.net ([83.223.106.8]:52571) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KTuqd-0000b1-2z for Emacs-orgmode@gnu.org; Fri, 15 Aug 2008 04:39:51 -0400 In-Reply-To: <9E067A1AECCB154485D4CF7E4BEF4D8E09484B9D@post07.corp.seic.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Parker, Matthew" Cc: Emacs-orgmode@gnu.org 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 tag, which renders as a fixed width font and ensures it's not confused as something else. It also nicely disables the subscripting. R.