From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel J. Sinder" Subject: Re: Exporting to HTML - underscores cause unwanted sub-script Date: Fri, 15 Aug 2008 00:23:28 -0700 Message-ID: <48A52EF0.8030201@sindercity.com> References: <9E067A1AECCB154485D4CF7E4BEF4D8E09484BA6@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 1KTtem-0007qp-Vc for emacs-orgmode@gnu.org; Fri, 15 Aug 2008 03:23:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTtem-0007qQ-86 for Emacs-orgmode@gnu.org; Fri, 15 Aug 2008 03:23:32 -0400 Received: from [199.232.76.173] (port=51331 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTtem-0007q6-2N for Emacs-orgmode@gnu.org; Fri, 15 Aug 2008 03:23:32 -0400 Received: from mx20.gnu.org ([199.232.41.8]:4154) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KTtel-0005CL-Ib for Emacs-orgmode@gnu.org; Fri, 15 Aug 2008 03:23:31 -0400 Received: from sd-green-bigip-177.dreamhost.com ([208.97.132.177] helo=randymail-a9.g.dreamhost.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTtek-0000XE-Ai for Emacs-orgmode@gnu.org; Fri, 15 Aug 2008 03:23:30 -0400 In-Reply-To: <9E067A1AECCB154485D4CF7E4BEF4D8E09484BA6@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 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 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 α 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