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 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 <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 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. >