emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Underscores again - HTML and LaTeX exporting.
Date: Thu, 9 Jul 2009 06:46:23 +0200	[thread overview]
Message-ID: <7EA03801-34C0-40E8-81D0-7D8F656939C7@gmail.com> (raw)
In-Reply-To: <22935.1247068568@gamaville.dokosmarshall.org>


On Jul 8, 2009, at 5:56 PM, Nick Dokos wrote:

> 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ébastien;-) :
>
> --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.

Pretty sick examples ... :-)

I fixed those anyway...

- Carsten

>
> 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.norang.ca/org-mode.org
>
>
> _______________________________________________
> 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

  parent reply	other threads:[~2009-07-09  4:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 15:56 Underscores again - HTML and LaTeX exporting Nick Dokos
2009-07-08 19:47 ` Sebastian Rose
2009-07-08 21:43   ` Nick Dokos
2009-07-09  4:46 ` Carsten Dominik [this message]
2009-07-09  5:32   ` Bastien
2009-07-09 14:21   ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7EA03801-34C0-40E8-81D0-7D8F656939C7@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).