From: Xu Jingtao <jingtaozf@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: emacs org mode publish to latex failed with strings like "__aaa_cc__"
Date: Fri, 18 May 2012 19:41:01 +0800 (CST) [thread overview]
Message-ID: <20120518.194101.2178280850066988257.jingtaozf@gmail.com> (raw)
In-Reply-To: <7520.1337225934@alphaville>
Hi Nick:
I had added the option to my org file.
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.
> Xu Jingtao <jingtaozf@gmail.com> wrote:
>
> > Hi all:
> >
> > If I write some string like "__aaa_cc__" in org file,then publish it to pdf using latex,
> > it will failed and the output is wrong.
> >
> > even I can use ~__aaa_cc__~, it's not a good way do it.
> >
> > Can you fix it or I am wrong?
>
> By default, underscores indicate subscripts (a tradition that comes from
> LaTeX syntax - similarly, carets indicate superscripts). If you don't
> want that, you can add
>
> #+OPTIONS: ^:nil
>
> at the top of the file: this option disables superscripts and subscripts.
>
> See
>
> (info "(org) Export options")
>
> Nick
>
>
___________________________________
With Best Regards.
jingtao.
next prev parent reply other threads:[~2012-05-18 11:41 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 [this message]
2012-05-18 11:54 ` Nicolas Goaziou
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=20120518.194101.2178280850066988257.jingtaozf@gmail.com \
--to=jingtaozf@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).