Re: [O] Mathjax vs. problems with imagemagick

2014-07-28 Thread Sebastien Vauban
Nick Dokos wrote: My org-latex-pdf-process setting is (setq org-latex-pdf-process '(texi2dvi --shell-escape --pdf %f)) and I'm experimenting with (setq org-latex-pdf-process '(latexmk --shell-escape -pdf -xelatex %f)) FWIW, I do have: (setq org-latex-pdf-process (if

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Joseph Vidal-Rosset
Le ven. 11 juil. 2014 à 02:59:23 , Nick Dokos ndo...@gmail.com a envoyé ce message: Can you please post an example org file and the tex file that's produced that gives you such bad images? Dear Nick, I sent an email three days ago to tell you that I've got the solution. I said: I

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Nick Dokos
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: Le ven. 11 juil. 2014 à 02:59:23 , Nick Dokos ndo...@gmail.com a envoyé ce message: Can you please post an example org file and the tex file that's produced that gives you such bad images? Dear Nick, I sent an email three

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Joseph Vidal-Rosset
2014-07-11 17:59 GMT+02:00 Nick Dokos ndo...@gmail.com: And you are sure that it is named latex15065_PG_37f10648c57a40194a74eaabbaa5c1678a5d2046.png ? The existing file might be a remnant from a previous run with a slightly different name (uuid readability is not the best :-) ) :) I am

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Nick Dokos
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: I guess that I have to put in  my .bashrc a command to say that I always want to use latex with -shell-escape option  , but I am not sure that it is the best solution. -shell-escape is a security risk,

Re: [O] Mathjax vs. problems with imagemagick

2014-07-11 Thread Joseph Vidal-Rosset
2014-07-11 20:05 GMT+02:00 Nick Dokos ndo...@gmail.com: My org-latex-pdf-process setting is (setq org-latex-pdf-process '(texi2dvi --shell-escape --pdf %f)) and I'm experimenting with (setq org-latex-pdf-process '(latexmk --shell-escape -pdf -xelatex %f)) I am going to test this

Re: [O] Mathjax vs. problems with imagemagick

2014-07-10 Thread Joseph Vidal-Rosset
#+OPTIONS: latex:t #+LATEX_HEADER: \usepackage{bussproofs} Hello Nick, hello everybody Before using your suggestion of debugging, I have made another test to convert formulas made with different latex packages into png images for a html file. At the beginning of my org file:

Re: [O] Mathjax vs. problems with imagemagick

2014-07-10 Thread Nick Dokos
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: Hello Nick, hello everybody Before using your suggestion of debugging, I have made another test to convert formulas made with different latex packages into png images for a html file. At the beginning of my org file: All formulas

Re: [O] Mathjax vs. problems with imagemagick

2014-07-09 Thread Joseph Vidal-Rosset
Hello Nick, hello everybody, I have finally got the solution. I have put again in my init.el the code from the page http://orgmode.org/worg/org-tutorials/org-latex-preview.html , i.e. (setq org-latex-listings 'minted) (require 'ox-latex) (add-to-list 'org-latex-packages-alist '( minted))

Re: [O] Mathjax vs. problems with imagemagick

2014-07-08 Thread Joseph Vidal-Rosset
2014-07-08 15:01 GMT+02:00 Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com: That's strange because it works well with LaTeX export and even with latex-preview-image and org-htmlize. This image of implication elimination rule in my gnus-message should be nice: [image: \begin{prooftree}

[O] Mathjax vs. problems with imagemagick

2014-07-06 Thread Joseph Vidal-Rosset
Hello everybody, To convert equations from *.org into *.html, Mathjax is certainly the best solution but unfortunately, this solution does not work as soons as one need to use some texlive package convenient to produce easily proofs in specific format (for example if one uses bussproofs.sty of

Re: [O] Mathjax vs. problems with imagemagick

2014-07-06 Thread briangpowell .
* PNG is lossless format--if you can, make it the first file you create rather than last. ** If you create a JPG a lossy format then you could lose some of the beauty (like your example). * ImageMagick has many switches you can throw--suggest you look deeper into it in the freely available

Re: [O] Mathjax vs. problems with imagemagick

2014-07-06 Thread Joseph Vidal-Rosset
Thanks for your reply. Do you mean that #+OPTIONS: tex:imagemagick must be mentioned first? In my opinion something is wrong in my setup and it is difficult for me to see what's wrong. Even a minima-init.el file is not helpful... Best wishes, Jo. 2014-07-06 10:39 GMT+02:00 briangpowell .

Re: [O] Mathjax vs. problems with imagemagick

2014-07-06 Thread Nick Dokos
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: To convert equations from *.org  into *.html, Mathjax is certainly the best solution but unfortunately, this solution does not work as soons as one need to use some texlive package convenient to produce easily proofs in specific