From: "Éric Würbel" <eric.wurbel@univ-amu.fr>
To: emacs-orgmode@gnu.org
Subject: no more tikz -> png génération during HTML export
Date: Fri, 12 Oct 2018 14:26:07 +0200 [thread overview]
Message-ID: <87y3b3wduo.fsf@univ-amu.fr> (raw)
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/
next reply other threads:[~2018-10-12 12:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-12 12:26 Éric Würbel [this message]
2018-10-14 13:37 ` no more tikz -> png génération during HTML export Jeremie Juste
2018-10-14 21:01 ` Jeremie Juste
2018-10-15 6:29 ` Éric Würbel
2018-10-16 8:04 ` Éric Würbel
2018-10-16 9:18 ` Eric S Fraga
2018-10-16 9:46 ` Éric Würbel
2018-10-16 11:00 ` Eric S Fraga
2018-10-17 13:02 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3b3wduo.fsf@univ-amu.fr \
--to=eric.wurbel@univ-amu.fr \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).