I have a project with one main.tex file and several *.tex-files stored in a subfolder called "chapters".
My problem is that in one of the chapter files, say chapter-1.tex, I'm trying to insert a graph with the following code:
\begin{sidewaysfigure}
\digraph[scale=0.5]{abc}{
rankdir=LR; a->b->c
a [label=<foo<SUP>bar</SUP>>];
}
\end{sidewaysfigure}
I have:
(1) Included the package \usepackage[pdf]{graphviz}
(2) Added a latexmkrc with $pdflatex = 'pdflatex --shell-escape';
that is in the root folder with main.tex.
I have a suspicion that Overleaf is not reading my latexmkrc at all. I tested it by altering the timezone ($ENV{'TZ'}='Europe/Zurich';
) but none of the \currenttime
labels showed the time of the timezone specificed in my latexmkrc (zurich). I even tried to insert a \currenttime
in my main file, but that did not show the Zurich time either.
Here is an excerpt of my main file:
\documentclass[runningheads]{llncs}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{datetime}
\usepackage{graphicx}
\usepackage[pdf]{graphviz}
\input{chapters/chapter-1.tex} % In here is the \digraph figure
\input{chapters/chapter-2.tex}
\end{document}
I'm using Overleaf and have followed this guide: Overleaf.
Question
Why am I still getting the "The file abc.pdf hasn’t been created from abc.dot yet. [...]" error when compiling my document? And why isn't overleaf registering my custom latexmkrc file?