You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling via latexmk with nontrivial $aux_dir, the ___.gnuplot file is put under aux_dir. Because the invocation of gnuplot tries to find it in project root directory, it can not produce ___.table.
There is a following workaround, namely manually changing directory to aux_dir before calling gnuplot
Is there a possibility to implement something like remembering full path of ___.gnuplot file (or relative path to root of project), and automatically changing directory before invoking gnuplot? This would have the advantage of automatically working with packages like robust-externalize, which can put (some) files in different directories.
% example.tex\documentclass[a4paper,12pt]{article}
\usepackage{tikz}
%% Without following line, invocation of gnuplot will not find ___.gnuplot file% \pgfkeys{/pgf/plot/gnuplot call={cd .aux && gnuplot}}\begin{document}
\section{Minimal Working Example}
\begin{tikzpicture}[domain=0:4]
\draw[domain=-3.141:3.141,smooth] plot[parametric,id=parametric-example] function{t*cos(t),t*sin(t)};
\end{tikzpicture}
\end{document}
The text was updated successfully, but these errors were encountered:
Brief outline of the bug
When compiling via
latexmk
with nontrivial$aux_dir
, the___.gnuplot
file is put underaux_dir
. Because the invocation ofgnuplot
tries to find it in project root directory, it can not produce___.table
.There is a following workaround, namely manually changing directory to
aux_dir
before callinggnuplot
\pgfkeys{/pgf/plot/gnuplot call={cd `aux_dir` && gnuplot}}
However, this is rather impractical.
Is there a possibility to implement something like remembering full path of
___.gnuplot
file (or relative path to root of project), and automatically changing directory before invokinggnuplot
? This would have the advantage of automatically working with packages likerobust-externalize
, which can put (some) files in different directories.Minimal working example (MWE)
The text was updated successfully, but these errors were encountered: