Re: [O] no more tikz -> png génération during HTML export

2018-10-17 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > On Tuesday, 16 Oct 2018 at 11:46, Éric Würbel wrote: >> I think that this problem is very specific to the following case : >> - LaTeX SRC block >> - needed translation of this block into a png (and perhaps svg) image >> - preprocessing with pdflatex, so we end up wi

Re: [O] no more tikz -> png génération during HTML export

2018-10-16 Thread Eric S Fraga
On Tuesday, 16 Oct 2018 at 11:46, Éric Würbel wrote: > I think that this problem is very specific to the following case : > - LaTeX SRC block > - needed translation of this block into a png (and perhaps svg) image > - preprocessing with pdflatex, so we end up with a pdf->png conversion. It is spec

Re: [O] no more tikz -> png génération during HTML export

2018-10-16 Thread Éric Würbel
Le 16/10/2018 à 09:18 GMT, Eric S Fraga a dit: > On Tuesday, 16 Oct 2018 at 10:04, Éric Würbel wrote: >> Hello list, >> >> I finally tracked down the problem. It is not related to my use of >> latexmk. It is an Imagemagick problem. The version installed by xubuntu >> 18.04 has a restrictive policy

Re: [O] no more tikz -> png génération during HTML export

2018-10-16 Thread Eric S Fraga
On Tuesday, 16 Oct 2018 at 10:04, Éric Würbel wrote: > Hello list, > > I finally tracked down the problem. It is not related to my use of > latexmk. It is an Imagemagick problem. The version installed by xubuntu > 18.04 has a restrictive policy on pdf files. I tweaked the > '/etc/ImageMagick-6/poli

Re: [O] no more tikz -> png génération during HTML export

2018-10-16 Thread Éric Würbel
Hello list, I finally tracked down the problem. It is not related to my use of latexmk. It is an Imagemagick problem. The version installed by xubuntu 18.04 has a restrictive policy on pdf files. I tweaked the '/etc/ImageMagick-6/policy.xml' file which contains the following policy restriction :

Re: [O] no more tikz -> png génération during HTML export

2018-10-14 Thread Éric Würbel
Hi, I read your two answer only this morning. Thanks a lot for the provided tips. Clearly the first solution doesn't fit, as I face this situation for dozens of org pages which compose a web site... I will test your second trick. However I would like to understand how it works. I wasn't aware of

Re: [O] no more tikz -> png génération during HTML export

2018-10-14 Thread Jeremie Juste
Hello With the following in your .emacs file #+BEGIN_SRC (setq org-babel-latex-htlatex "htlatex") (defmacro by-backend (&rest body) `(case org-export-current-backend ,@body)) #+END_SRC I can put back #+BEGIN_SRC around the tikz and it seems to work. #+header: :file (by-backend (html

Re: [O] no more tikz -> png génération during HTML export

2018-10-14 Thread Jeremie Juste
Hello, I can reproduce your error but a setting without #+BEGIN_SRC #+END_SRC seems to work. It not a fix just a way around the problem. Hope it helps, Jeremie #+TITLE: Test d'export tikz qui ne marche plus #+DATE: <2015-11-10 mar.> #+LANGUAGE: fr #+OPTIONS: toc:1 num:1 #+LATEX_HEADER: \us

[O] no more tikz -> png génération during HTML export

2018-10-12 Thread Éric Würbel
Hi list Since my last upgrade of org (9.1.14), during HTML export, the generation of a png image from a Tikz picture in a LaTeX src block is not working anymore. Here is the context : The org-latex-pdf-process variable is set to "latexmk -pdflatex='pdflatex -interaction nonstopmode -shell-esca