From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?w4lyaWMgV8O8cmJlbA==?= Subject: =?UTF-8?B?bm8gbW9yZSB0aWt6IC0+IHBuZyBnw6luw6lyYXRpb24gZHVyaW5n?= =?UTF-8?B?IEhUTUwgZXhwb3J0?= Date: Fri, 12 Oct 2018 14:26:07 +0200 Message-ID: <87y3b3wduo.fsf@univ-amu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAwWT-0002T6-80 for emacs-orgmode@gnu.org; Fri, 12 Oct 2018 08:26:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAwWM-00078k-0Q for emacs-orgmode@gnu.org; Fri, 12 Oct 2018 08:26:27 -0400 Received: from amu-stj-out2.univ-amu.fr ([139.124.244.207]:48000) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAwWJ-0006rC-IY for emacs-orgmode@gnu.org; Fri, 12 Oct 2018 08:26:20 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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-escape' -pdf -outdir=\"%o\" -bibtex -f \"%f\"" (using customize). Latexmk executes well, the LaTeX src block is compiled without errors, except this little bizarre messages which appears after each execution of LaTeX : Output written on /tmp/babel-2628p9D//latex-26280Qa.pdf (1 page, 20872 bytes). Transcript written on /tmp/babel-2628p9D//latex-26280Qa.log. Latexmk: Log file says output to '/tmp/babel-2628p9D//latex-26280Qa.pdf' Latexmk: ===For rule 'pdflatex', actual output '/tmp/babel-2628p9D//latex-26280Qa.pdf' ======appears not to match expected output '/tmp/babel-2628p9D/latex-26280Qa.pdf' Latexmk: All targets (/tmp/babel-2628p9D/latex-26280Qa.pdf) are up-to-date this double '/' is strange... Then, when the org export process tries to convert the pdf to png with imagemagick, there's a problem : Converting pdffile file convert -density 150 /tmp/babel-2628p9D/latex-26280Qa.pdf -geometry 400 arbo.png... convert-im6.q16: not authorized `/tmp/babel-2628p9D/latex-26280Qa.pdf' @ error/constitute.c/ReadImage/412. convert-im6.q16: no images defined `arbo.png' @ error/convert.c/ConvertImageCommand/3258. And effectively, the file /tmp/babel-2628p9D/latex-26280Qa.pdf does not exist... Here is the minimal org file I have built to generate this problem : #+TITLE: Test d'export tikz qui ne marche plus #+DATE: <2015-11-10 mar.> #+LANGUAGE: fr #+OPTIONS: toc:1 num:1 #+LATEX_HEADER: \usepackage[utf8]{inputenc} #+LATEX_HEADER: \usepackage[T1]{fontenc} #+LATEX_HEADER: \usepackage{lmodern} #+LATEX_HEADER: \usepackage{tikz} * Récapitulatif #+header: :file arbo.png #+header: :imagemagick yes :fit yes #+header: :results raw :iminoptions -density 150 :imoutoptions -geometry 400 #+header: :headers '("\\renewcommand{\\familydefault}{\\sfdefault}" "\\usepackage{lmodern}" "\\usepackage{tikz}") #+BEGIN_SRC latex \usetikzlibrary{trees} \begin{tikzpicture}[thick,level 1/.style ={sibling distance=30mm},% level 2/.style={sibling distance=25mm},% level 3/.style={sibling distance=10mm}] \node {racine-par-défaut} [edge from parent fork down] child { node {hôte-par-défaut} child { node {rubrique1} child { node {a}} child { node {b}} child { node {c}} } child { node {rubrique2} child { node {d}} child { node {e}} child { node {f}} } child { node {private}} } child { node {site1}} child { node {site2} child { node {zone protégée}} } ; \end{tikzpicture} #+END_SRC Any idea ? Regards Éric -- Éric Würbel http://eric.wurbel.perso.luminy.univ-amu.fr/ Enseignement: IUT R&T, directeur des études 1A Recherche: LIS CNRS, UMR7020 http://www.lis-lab.fr/