Hi Kasra,

I debugged into the problem and found that

\tikzexternalcheckshellescape

does NOT expand to '-shell-escape'.

It smells like a bug in the external library... I will take care of it.

The purpose of the \tikzexternalcheckshellescape macro was to expand to 
the shell-escape argument if and only if it was present on the command 
line. To this end, it relies on some pdftex macro - which appears to be 
undefined for lualatex.

The immediate solution would be to use '-shell-escape' instead of 
'\tikzexternalcheckshellescape', i.e.

\tikzset{external/system call={lualatex -shell-escape -halt-on-error 
-interaction=batchmode -jobname "\image" "\texsource"}}

In that case, the argument 'external/shell escape' is ignored (it is 
only used by \tikzexternalcheckshellescape).

Kind regards

Christian


Am 28.06.2013 07:28, schrieb Kasra Fattah:
> Hi All,
>
> I'm using gnuplot in my pgfplots and I want to use \tikzexternalize. I 
> have attached a simple code to describe the problem. 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.
>
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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

Reply via email to