From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Underscores again - HTML and LaTeX exporting. Date: Wed, 08 Jul 2009 21:47:23 +0200 Message-ID: <87iqi3ez3o.fsf@kassiopeya.MSHEIMNETZ> References: <22935.1247068568@gamaville.dokosmarshall.org> 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 1MOd34-0000xJ-Qb for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 15:43:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOd30-0000x5-Do for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 15:43:22 -0400 Received: from [199.232.76.173] (port=57519 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOd30-0000x2-5M for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 15:43:18 -0400 Received: from mail.gmx.net ([213.165.64.20]:52375) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MOd2z-00031U-4V for emacs-orgmode@gnu.org; Wed, 08 Jul 2009 15:43:18 -0400 In-Reply-To: <22935.1247068568@gamaville.dokosmarshall.org> (Nick Dokos's message of "Wed, 08 Jul 2009 11:56:08 -0400") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Nick Dokos writes: > 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;-) : > > > #+AUTHOR: Nick (nick_) > #+OPTIONS: ^:{} > > > * foo foo_bar foo_ _bar > foo > foo_bar > foo_ > _bar > > Everything works except the nick_ on the AUTHOR line and the _bar in > the headline. Seems part of it happens in a loop with a wrong counter? This works for the `foo_ _bar' part of it: * foo foo_bar foo_ _bar foo foo_bar foo_ _bar Sebastian