Re: [O] preview embedded latex fragments error with my settings

2018-03-27 Thread Alan Schmitt
According to the log, you need to configure the export to use xelatex. The error using xelatex is at this point, where it seems you should not use math-mode: l.86 $\LaTeX $ Do you have this in your code? Did you try removing the enclosing $? Best, Alan -- OpenPGP Key ID :

Re: [O] preview embedded latex fragments error with my settings

2018-03-27 Thread stardiviner
After run command, got error outputthe following output: (I'm trying to make those settings buffer-local and can be toggled by a minor mode, so this can be separate with default setting, and enabled when needed) #+begin_src shell :eval no latex /tmp/orgtexhCLnu9.tex #+end_src #+RESULTS: :

Re: [O] preview embedded latex fragments error with my settings

2018-03-27 Thread Alan Schmitt
On 2018-03-27 08:57, stardiviner writes: > I have divsvgm program on my arch linuxsystem. And "/tmp/orgtexhClnu9.dvi" > does > not exist, it is not produced. Only "/tmp/orgtexhClnu9.tex" and > "/tmp/orgtexhClnu9.log" two file. What does the log file say? There will

Re: [O] preview embedded latex fragments error with my settings

2018-03-26 Thread John Kitchin
it sounds like you should run something like this at the commandline: latex /tmp/orgtexhClnu9.tex and see if any errors come up. Maybe some package is missing. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon

Re: [O] preview embedded latex fragments error with my settings

2018-03-26 Thread stardiviner
I have divsvgm program on my arch linuxsystem. And "/tmp/orgtexhClnu9.dvi" does not exist, it is not produced. Only "/tmp/orgtexhClnu9.tex" and "/tmp/orgtexhClnu9.log" two file. On 03/27/2018 12:20 AM, Nicolas Goaziou wrote: Hello, stardiviner writes: I have

Re: [O] preview embedded latex fragments error with my settings

2018-03-26 Thread Nicolas Goaziou
Hello, stardiviner writes: > I have following settings to make org-mode export to PDF works better, > like export with src block syntax highlighting with "minted", and > support Chinese export with latex package "ctex" and specify default > font etc all stuffs. > > I used

[O] preview embedded latex fragments error with my settings

2018-03-26 Thread stardiviner
I have following settings to make org-mode export to PDF works better, like export with src block syntax highlighting with "minted", and support Chinese export with latex package "ctex" and specify default font etc all stuffs. I used to disabled org-mode startup preview latex fragments. Today

[O] preview embedded latex fragments error with my settings

2018-03-26 Thread stardiviner
I have following settings to make org-mode export to PDF works better, like export with src block syntax highlighting with "minted", and support Chinese export with latex package "ctex" and specify default font etc all stuffs. I used to disabled org-mode startup preview latex fragments. Today