[tex4ht] [bug #371] TikZ externalization and PDF images
Nasser M. Abbasi
nma at 12000.org
Wed Oct 18 02:58:32 CEST 2017
On 10/17/2017 7:55 PM, Nasser M. Abbasi wrote:
> On 10/17/2017 4:26 PM, Nasser M. Abbasi wrote:
>> On 10/16/2017 7:52 AM, Michal Hoftich wrote:
>>> URL:
>>> <http://puszcza.gnu.org.ua/bugs/?371>
>>>
>>> Summary: TikZ externalization and PDF images
>>> Project: tex4ht
>>> Submitted by: michal_h21
>>> Submitted on: Mon 16 Oct 2017 03:52:24 PM EEST
>>> Category: None
>>> Priority: 5 - Normal
>>> Severity: 5 - Normal
>>> Status: None
>>> Privacy: Public
>>> Assigned to: None
>>> Originator Email:
>>> Open/Closed: Open
>>> Discussion Lock: Any
>>>
>>> _______________________________________________________
>
> Fyi;
>
> I've also run the sample.tex shown in the attachment in
>
> https://puszcza.gnu.org.ua/bugs/?371
>
> Run it using lualatex only to start with. Not tex4ht.
> But I get this error
>
>
>> lualatex --shell-escape sample.tex
> This is LuaTeX, Version 1.0.4 (TeX Live 2017)
> system commands enabled.
> (./sample.tex
> LaTeX2e <2017-04-15>
> (using write cache: /home/me/.texlive2017/texmf-var/luatex-cache/generic)(using
> read cache: /usr/local/texlive/2017/texmf-var/luatex-cache/generic /home/me/.t
> exlive2017/texmf-var/luatex-cache/generic)
> luaotfload | main : initialization completed in 0.137 seconds
> .....
> (/usr/local/texlive/2017/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
> ABD: EveryShipout initializing macros
> Package pgfplots notification 'compat/show suggested version=true': you might b
> enefit from \pgfplotsset{compat=1.15} (current compat level: 1.9).
>
> [1{/usr/local/texlive/2017/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
> ===== 'mode=convert with system call': Invoking 'lualatex -shell-escape -halt-o
> n-error -interaction=batchmode -jobname "sample-figure0" "\def\tikzexternalreal
> job{sample}\input{sample}"' ========
> lualatex -shell-escape -halt-on-error -interaction=batchmode -jobname "sample-f
> igure0" "\def\tikzexternalrealjob{sample}\input{sample}"
>
> ! Package tikz Error: Sorry, the system call 'lualatex -shell-escape -halt-on-e
> rror -interaction=batchmode -jobname "sample-figure0" "\def\tikzexternalrealjob
> {sample}\input{sample}"' did NOT result in a usable output file 'sample-figure0
> ' (expected one of .pdf:.jpg:.jpeg:.png:). Please verify that you have enabled
> system calls. For pdflatex, this is 'pdflatex -shell-escape'. Sometimes it is a
> lso named 'write 18' or something like that. Or maybe the command simply failed
> ? Error messages can be found in 'sample-figure0.log'. If you continue now, I'l
> l try to typeset the picture.
>
> See the tikz package documentation for explanation.
> Type H <return> for immediate help.
> ...
>
> l.43 \end{tikzpicture}
>
> ?
>
>
>> lualatex --version
> This is LuaTeX, Version 1.0.4 (TeX Live 2017
>
> May be I am doing something wrong. I do not know. It will
> help to post the commands to use to run the sample.tex
> also, just in case.
>
btw, it compiles with no error with
pdflatex --shell-escape sample.tex
but not with
lualatex --shell-escape sample.tex
--Nasser
More information about the tex4ht
mailing list