Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__"

2012-05-18 Thread Nicolas Goaziou
Nick Dokos writes: >> The new one exports "__aaa_b__" as "\underline{\underline{aaa$_b$}}". >> I think the OP wants a verbatim "\_\_aaa\_b\_\_" instead. >> > > That can be done with ~__aaa_b__~ though. Yes, but I assume that aaa could also contain other Org syntax, like an entity. So "__a\alph

Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__"

2012-05-18 Thread Nick Dokos
Nicolas Goaziou wrote: > Hello, > > Nick Dokos writes: > > > The old exporter latex output doesn't compile. > > Ah ok, I only tried with the experimental one. > > > I tried the new exporter does it correctly, with either setting of the > > option. > > The new one exports "__aaa_b__" as "\un

Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__"

2012-05-18 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > The old exporter latex output doesn't compile. Ah ok, I only tried with the experimental one. > I tried the new exporter does it correctly, with either setting of the > option. The new one exports "__aaa_b__" as "\underline{\underline{aaa$_b$}}". I think the OP wan

Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__"

2012-05-18 Thread Nick Dokos
Nicolas Goaziou wrote: > Hello, > > Xu Jingtao 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 tra

Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__"

2012-05-18 Thread Nicolas Goaziou
Hello, Xu Jingtao 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

Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__"

2012-05-18 Thread Nick Dokos
Xu Jingtao 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

Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__"

2012-05-18 Thread Xu Jingtao
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.

Re: [O] emacs org mode publish to latex failed with strings like "__aaa_cc__"

2012-05-16 Thread Nick Dokos
Xu Jingtao 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