Re: [O] help debugging latex-overlays boxes

2014-09-09 Thread John Kitchin
Nick Dokos writes: > John Kitchin writes: > >> Nick Dokos writes: >> >> I have traced my problem. The issue is in the function >> org-preview-latex-fragment. At the end of the function, where it calls >> org-format-latex, the default-directory variable that is used in the >> function call has a

Re: [O] help debugging latex-overlays boxes

2014-09-09 Thread Nick Dokos
John Kitchin writes: > Nick Dokos writes: > > I have traced my problem. The issue is in the function > org-preview-latex-fragment. At the end of the function, where it calls > org-format-latex, the default-directory variable that is used in the > function call has a value of > "c:/Users/YUYUA~1/

Re: [O] help debugging latex-overlays boxes

2014-09-09 Thread John Kitchin
The issue seems to finally be the value of temporary-file-directory, which is defined in C-source, and I think that is where the ~1 comes from. I have a workaround solution, which is to set the temproary-file-directory variable this way: (setq temporary-file-directory (expand-file-name "~/../Local

Re: [O] help debugging latex-overlays boxes

2014-09-09 Thread John Kitchin
Nick Dokos writes: I have traced my problem. The issue is in the function org-preview-latex-fragment. At the end of the function, where it calls org-format-latex, the default-directory variable that is used in the function call has a value of "c:/Users/YUYUA~1/AppData/Local/Temp/ltxpng/mole-balan

Re: [O] help debugging latex-overlays boxes

2014-09-05 Thread John Kitchin
Nick Dokos writes: Thanks for the tips. It is possible minted is the culprit. I will give that a try, and the other ideas too. I am sure it is using dvipng, and that it works. It will be a nice adventure in more sophisticated debugging ;) > John Kitchin writes: > >> Hi All, >> >> I am using org

Re: [O] help debugging latex-overlays boxes

2014-09-05 Thread Nick Dokos
John Kitchin writes: > Hi All, > > I am using org-mode in a course this fall with 60 students. All of them > are using org-mode from elpa. For about 10 of them, they are unable to > toggle the latex-overlays; instead of getting the equations, they get > empty gray boxes with an error that the pn