Re: [O] Minor problems with dvipng latex image preview

2013-05-30 Thread Nick Dokos
Nicolas Goaziou writes: >> But it is two implementations where one would suffice (Windows might >> present problems however: I don't know the availability of >> dvipng/imagemagick on that platform - I believe they are both >> available on MacOS, but I could be wrong). > > What about asking, in a

Re: [O] Minor problems with dvipng latex image preview

2013-05-30 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > I wouldn't say inferior, although the dvipng implementation is slightly > more brittle than the imagemagick one (imo, of course). But it is two > implementations where one would suffice (Windows might present problems > however: I don't know the availability of dvipng

Re: [O] Minor problems with dvipng latex image preview

2013-05-25 Thread Nick Dokos
Nicolas Goaziou writes: > Nick Dokos writes: > >> Nicolas Goaziou writes: > >>> Anyway, in a nutshell, your proposal is to: >>> >>> - add a custom variable, e.g., `org-latex-dvi-process-options' (which >>> library should it belong to?) >> >> Unless it would make sense to toss the whole dv

Re: [O] Minor problems with dvipng latex image preview

2013-05-25 Thread Nicolas Goaziou
Nick Dokos writes: > Nicolas Goaziou writes: >> Anyway, in a nutshell, your proposal is to: >> >> - add a custom variable, e.g., `org-latex-dvi-process-options' (which >> library should it belong to?) > > Unless it would make sense to toss the whole dvipng thing overboard and > just keep

Re: [O] Minor problems with dvipng latex image preview

2013-05-23 Thread Nick Dokos
Nicolas Goaziou writes: > Nick Dokos writes: > >> I learnt quite a bit from this discussion (thank you!), but I'm still a >> bit puzzled about your reluctance that custom options be added to the >> latex call. Why is that? Too many customizations? dvipng should be >> deprecated? Too many twisty

Re: [O] Minor problems with dvipng latex image preview

2013-05-23 Thread Nicolas Goaziou
Nick Dokos writes: > I learnt quite a bit from this discussion (thank you!), but I'm still a > bit puzzled about your reluctance that custom options be added to the > latex call. Why is that? Too many customizations? dvipng should be > deprecated? Too many twisty passages to explain? Huh? I'm n

Re: [O] Minor problems with dvipng latex image preview

2013-05-23 Thread Nick Dokos
Nicolas Goaziou writes: >> OK, that works - I didn't know about the three-element list >> form. Thanks! > > The surprising part of that third element is that it is assumed to be > non-nil when missing (see `org-latex-packages-to-string'). > Yes, presumably in the name of backward compatibility a

Re: [O] Minor problems with dvipng latex image preview

2013-05-23 Thread Nicolas Goaziou
Nick Dokos writes: > Nicolas Goaziou writes: > >>> ... I set: >>> >>> (setq org-export-latex-listings 'minted) >> >> You mean `org-latex-listings'. `org-export-latex-listings' belongs to >> the old export framework (like almost all variables with >> "org-export-BACKEND-" prefix). >> > > Yes, in

Re: [O] Minor problems with dvipng latex image preview

2013-05-22 Thread Nick Dokos
Nicolas Goaziou writes: >> ... I set: >> >> (setq org-export-latex-listings 'minted) > > You mean `org-latex-listings'. `org-export-latex-listings' belongs to > the old export framework (like almost all variables with > "org-export-BACKEND-" prefix). > Yes, indeed. >> (add-to-list 'org-latex-p

Re: [O] Minor problems with dvipng latex image preview

2013-05-22 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > The main problem is that the latex->dvi invocation is hard-wired in > org-create-formula-image-with-dvipng and in addition, when the latex > file is created, the value of org-latex-packages-alist is spliced in. > > That in itself is fine, except in the case when (for

[O] Minor problems with dvipng latex image preview

2013-05-19 Thread Nick Dokos
The main problem is that the latex->dvi invocation is hard-wired in org-create-formula-image-with-dvipng and in addition, when the latex file is created, the value of org-latex-packages-alist is spliced in. That in itself is fine, except in the case when (for normal latex processing) I choose mint