Hello there
Currently trying to implement tikz's external library to a file named stack q.tex
MWE:
\newcommand\subfilename{"./stack q.tex"}
\documentclass{article}
% pgfplots
\usepackage{pgfplots}
% uncommenting generates error
\usetikzlibrary{external}
% External lib
\tikzexternalize[
up to date check={simple},
prefix=./.build/figures/
] % turn externalization on/off
\tikzsetfigurename{figure_\arabic{part}.} % set figure names
% Using tikzset generates error
\tikzset{%
external/system call={%
lualatex \tikzexternalcheckshellescape
--halt-on-error
--shell-escape
--interaction=batchmode
--jobname "\image" \subfilename
}
}
\pgfplotsset{
compat = newest,
width = 10cm, % width
height = 7cm, % height
samples = 10,
}
\begin{document}
% \tikzsetfigurename{figure_\arabic{part}.} % set figure names
\begin{tikzpicture}
\begin{axis}[hide axis]
\addplot3 [
% Aparence
surf,
opacity=0.5,
fill opacity= 1,
faceted color = white,
shader=faceted interp,
% Scope
data cs = cart, % cart/polar/polarrad
% Variable
domain = -1:1,
domain y = -1:1,
]{
x^2-y^2
};
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[hide axis]
\addplot3 [
% Aparence
surf,
opacity=0.5,
fill opacity= 1,
faceted color = white,
shader=faceted interp,
% Scope
data cs = cart, % cart/polar/polarrad
% Variable
variable = u,
variable y = v,
domain = 0:360,
domain y = -180:0,
]
(
{cos(u)*sin(v)},
{sin(u)*sin(v)},
{cos(v)}
);
\end{axis}
\end{tikzpicture}
\end{document}
The compilation never completes, its stuck in the creation of figure_0.0.aux with the following message being display in the terminal:
This is LuaHBTeX, Version 1.13.2 (TeX Live 2021)
system commands enabled.
tput: No value for $TERM and no -T specified

_or-. – Dr. Manuel Kuehner Jan 23 '22 at 00:39[group] - [kind] [index].[ext], having_instead of spaces eliminates the possibility to search trough many files, which is troublesome. – Felipe9 Jan 23 '22 at 13:50--jobname "\image" "\subfilename". But Simon is right: you can spent a lot time debugging problems with unquoted or wrongly quoted file names if they contain spaces. I never use them (which is why I had no problems with your example in your last question ...). I don't understand your remark about searching. Wildcards don't require spaces. – Ulrike Fischer Jan 23 '22 at 16:20\newcommand\subfilename{"*.tex"}and--jobname "\image" "\subfilename"– Felipe9 Jan 24 '22 at 15:22hyperref, other files such as excel, scripts and codes don't, and having different name schemes would be a real mess, as many interact with each other. – Felipe9 Jan 24 '22 at 15:28