From: Nick Dokos <nicholas.dokos@hp.com>
To: Xu Jingtao <jingtaozf@gmail.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 07:56:28 -0400 [thread overview]
Message-ID: <7082.1337342188@alphaville> (raw)
In-Reply-To: Message from Xu Jingtao <jingtaozf@gmail.com> of "Fri, 18 May 2012 19:41:01 +0800." <20120518.194101.2178280850066988257.jingtaozf@gmail.com>
Xu Jingtao <jingtaozf@gmail.com> wrote:
> 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.
>
>
Ah, OK - the problem is that no matter how the option is set, the output
still leads to latex errors and no PDF is produced (at least with the
old exporter - I haven't tried with ngz's new one, but that woule be a
good experiment to try).
Now that I've tried it, I think you are right: it is a bug in the old
exporter, in that it should produce legal latex either way.
Nick
> > 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.
>
prev parent reply other threads:[~2012-05-18 11:56 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
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 [this message]
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=7082.1337342188@alphaville \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=jingtaozf@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.