[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] emacs org mode publish to latex failed with strings like "__aaa_
From: |
Nick Dokos |
Subject: |
Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__" |
Date: |
Fri, 18 May 2012 07:56:28 -0400 |
Xu Jingtao <address@hidden> 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 <address@hidden> 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.
>
- [O] emacs org mode publish to latex failed with strings like "__aaa_cc__", Xu Jingtao, 2012/05/16
- Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__", Nick Dokos, 2012/05/16
- Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__", Xu Jingtao, 2012/05/18
- Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__",
Nick Dokos <=
- Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__", Nicolas Goaziou, 2012/05/18
- Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__", Nick Dokos, 2012/05/18
- Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__", Nicolas Goaziou, 2012/05/18
- Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__", Nick Dokos, 2012/05/18
- Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__", Nicolas Goaziou, 2012/05/18