Hi All,
"The body of my previous email was not showing so I resent it again. Sorry
about that."
I'm using gnuplot in my pgfplots and I want to use \tikzexternalize. When I
use pdflatex with -shell-escape everything goes smooth. But when I'm using
lualatex either it complains about not having "1.pgf-plot.table" available
even the "1.pgf-plot.gnuplot" has been generated or it makes a .table which
has a problem and it cannot use it, however if after the error I manually
run "gnuplot 1.pgf-plot.gnuplot" to generate the "1.pgf-plot.table" and
then recompile with lualatex -shell-escape, it will go through and work
fine. Do you know how I can resolve this issue with lualatex? I appreciate
any help.
Cheers,
Kasra.
%%-------------------------tex code-------------------------------
\documentclass{article}
\usepackage{pgfplots}
\usepgfplotslibrary{external}
\tikzexternalize
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot gnuplot{x};
\end{axis}
\end{tikzpicture}
\end{document}
%%-----------------------error from log-----------------------------
.......
.......
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX
Liv
e
))
===== 'mode=convert with system call': Invoking 'pdflatex -halt-on-error
-inter
action=batchmode -jobname "5-figure0"
"\def\tikzexternalrealjob{5}\input{5}"' =
=======
runsystem(pdflatex -halt-on-error -interaction=batchmode -jobname
"5-figure0" "
\def\tikzexternalrealjob{5}\input{5}")...executed.
! Package tikz Error: Sorry, the system call 'pdflatex -halt-on-error
-interact
ion=batchmode -jobname "5-figure0" "\def\tikzexternalrealjob{5}\input{5}"'
did
NOT result in a usable output file '5-figure0' (expected one of
.pdf:.jpg:.jpeg
:.png:). Please verify that you have enabled system calls. For pdflatex,
this i
s 'pdflatex -shell-escape'. Sometimes it is also named 'write 18' or
something
like that. Or maybe the command simply failed? Error messages can be found
in '
5-figure0.log'. If you continue now, I'll try to typeset the picture.
See the tikz package documentation for explanation.
Type H <return> for immediate help.
...
l.17 \end{tikzpicture}
?
! Interruption.
\GenericError ...
\endgroup
l.17 \end{tikzpicture}
?
runsystem(gnuplot 5.pgf-plot.gnuplot)...executed.
PGFPlots: reading {5.pgf-plot.table}
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 1.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 1.
[1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./5.aux)
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features