From mboxrd@z Thu Jan 1 00:00:00 1970 From: David House Subject: Re: Exporting to HTML - underscores cause unwanted sub-script Date: Wed, 20 Aug 2008 09:03:04 +0000 (UTC) Message-ID: References: <9E067A1AECCB154485D4CF7E4BEF4D8E09484BA6@post07.corp.seic.com> <48A52EF0.8030201@sindercity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVjhi-000407-Gx for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 05:10:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVjhg-0003zv-Rb for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 05:10:10 -0400 Received: from [199.232.76.173] (port=59595 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVjhg-0003zs-M3 for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 05:10:08 -0400 Received: from main.gmane.org ([80.91.229.2]:35856 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KVjhg-0002Bb-9d for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 05:10:08 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KVjha-0001KH-F2 for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 09:10:02 +0000 Received: from 212.155.191.21 ([212.155.191.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Aug 2008 09:10:02 +0000 Received: from dmhouse by 212.155.191.21 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Aug 2008 09:10:02 +0000 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: emacs-orgmode@gnu.org Daniel J. Sinder sindercity.com> writes: > > For the record, you can also "fix" this problem using the following > file-local customization: > > #+OPTIONS: ^:{} You can also disable this globally with the following code in your .emacs: ;; Don't convert _ and ^ unless surrounded by braces (setq org-export-with-sub-superscripts '{}) IMO this option isn't flexible enough, though. Typically when I write a^b I nearly always mean b as a subscript. However when I write a_b, I rarely mean b as a subscript. So I would like an option that forces me to use braces for subscript, but accepts superscripts without braces. If I have time tonight I'll try to throw a patch together to do this.