all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org, Xu Jingtao <jingtaozf@gmail.com>
Subject: Re: emacs org mode publish to latex failed with strings like "__aaa_cc__"
Date: Fri, 18 May 2012 08:04:50 -0400	[thread overview]
Message-ID: <7211.1337342690@alphaville> (raw)
In-Reply-To: Message from Nicolas Goaziou <n.goaziou@gmail.com> of "Fri, 18 May 2012 13:54:27 +0200." <87ehqhyaa4.fsf@gmail.com>

Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> Hello,
> 
> Xu Jingtao <jingtaozf@gmail.com> writes:
> 
> > What I want to ensure is that this is maybe a bug of emacs org mode.
> >
> > I know "_a string_" will try to convert to underline string in latex,
> > by emacs variable org-export-latex-emphasis-alist.
> > Maybe this is why it is translated into wrong latex codes.
> 
> Why is it wrong LaTeX code? You're asking Org to put an underline there,
> and there you have.
> 

The old exporter latex output doesn't compile.

I tried the new exporter does it correctly, with either setting of the option.

Nick

> Nevertheless, I think it would be useful to have an entity for
> underscore character. Something like:
> 
>   ("us" "\\_" nil "_" "_" "_" "_")
> 
> 

  reply	other threads:[~2012-05-18 12:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 11:16 emacs org mode publish to latex failed with strings like "__aaa_cc__" Xu Jingtao
2012-05-17  3:38 ` Nick Dokos
2012-05-18 11:41   ` Xu Jingtao
2012-05-18 11:54     ` Nicolas Goaziou
2012-05-18 12:04       ` Nick Dokos [this message]
2012-05-18 12:09         ` Nicolas Goaziou
2012-05-18 12:52           ` Nick Dokos
2012-05-18 13:04             ` Nicolas Goaziou
2012-05-18 11:56     ` 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

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

  git send-email \
    --in-reply-to=7211.1337342690@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jingtaozf@gmail.com \
    --cc=n.goaziou@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.