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-18 Thread Nick Dokos
Xu Jingtao jingta...@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

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

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

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

2012-05-18 Thread Nick Dokos
Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Xu Jingtao jingta...@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.

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

2012-05-18 Thread Nicolas Goaziou
Hello, Nick Dokos nicholas.do...@hp.com 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

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

2012-05-18 Thread Nick Dokos
Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Nick Dokos nicholas.do...@hp.com 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

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

2012-05-18 Thread Nicolas Goaziou
Nick Dokos nicholas.do...@hp.com 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

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

2012-05-16 Thread Xu Jingtao
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? ___ With Best Regards. jingtao.

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

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