emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Xu Jingtao <jingtaozf@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: emacs org mode publish to latex failed with strings like "__aaa_cc__"
Date: Fri, 18 May 2012 13:54:27 +0200	[thread overview]
Message-ID: <87ehqhyaa4.fsf@gmail.com> (raw)
In-Reply-To: <20120518.194101.2178280850066988257.jingtaozf@gmail.com> (Xu Jingtao's message of "Fri, 18 May 2012 19:41:01 +0800 (CST)")

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.

Nevertheless, I think it would be useful to have an entity for
underscore character. Something like:

  ("us" "\\_" nil "_" "_" "_" "_")


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2012-05-18 11:57 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 [this message]
2012-05-18 12:04       ` Nick Dokos
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

  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=87ehqhyaa4.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jingtaozf@gmail.com \
    --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).