From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Underscores again - HTML and LaTeX exporting. Date: Wed, 08 Jul 2009 11:56:08 -0400 Message-ID: <22935.1247068568@gamaville.dokosmarshall.org> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOZWN-0002Sz-0d for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 11:57:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOZWH-0002QQ-RO for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 11:57:22 -0400 Received: from [199.232.76.173] (port=56705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOZWH-0002QD-7H for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 11:57:17 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:47361) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOZWG-0003XC-6X for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 11:57:16 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.221]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KMH00F0Z08H4NB9@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 10:55:34 -0500 (CDT) 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 I found this by trying to export Bernt Hansen's org-mode tutorial [1] to HTML and LaTeX. Bernt's IRC nick is Thumper_ and it appears in the AUTHOR option as follows: #+AUTHOR: Bernt Hansen (IRC:Thumper_ on freenode) When exported to HTML, everything is fine. When exported to LaTeX, LaTeX complains about missing $. The problem does *not* arise if the underscore is in most other places in the org file, but I found one more place where it does arise: in a headline, when the underscore begins the word. Here is a small test file (hi, S=C3=A9bastien;-) : --8<---------------cut here---------------start------------->8--- #+AUTHOR: Nick (nick_) #+OPTIONS: ^:{} * foo foo_bar foo_ _bar foo foo_bar foo_ _bar --8<---------------cut here---------------end--------------->8--- Everything works except the nick_ on the AUTHOR line and the _bar in the headline. BTW, I also tried the ^:nil option, but it did not make any difference. Thanks, Nick [1] http://doc.norang.ca/org-mode.html - the org file is at http://doc.nora= ng.ca/org-mode.org