[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] no more tikz -> png génération during HTML export
From: |
Éric Würbel |
Subject: |
[O] no more tikz -> png génération during HTML export |
Date: |
Fri, 12 Oct 2018 14:26:07 +0200 |
User-agent: |
mu4e 1.0; emacs 25.2.2 |
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/
- [O] no more tikz -> png génération during HTML export,
Éric Würbel <=
- Re: [O] no more tikz -> png génération during HTML export, Jeremie Juste, 2018/10/14
- Re: [O] no more tikz -> png génération during HTML export, Jeremie Juste, 2018/10/14
- Re: [O] no more tikz -> png génération during HTML export, Éric Würbel, 2018/10/15
- Re: [O] no more tikz -> png génération during HTML export, Éric Würbel, 2018/10/16
- Re: [O] no more tikz -> png génération during HTML export, Eric S Fraga, 2018/10/16
- Re: [O] no more tikz -> png génération during HTML export, Éric Würbel, 2018/10/16
- Re: [O] no more tikz -> png génération during HTML export, Eric S Fraga, 2018/10/16
- Re: [O] no more tikz -> png génération during HTML export, Nicolas Goaziou, 2018/10/17