I have two questions. I'm writing my thesis and I have many files and several TikZ figures I've made. I see that if I use:
\usetikzlibrary{external}
my compilation time goes from 49.21s to 3.25s for the full document. The problem is that my working directory gets full of files I don't want to have there, basically what I want is for my directory to have the a structure something like this:
Thesis
│ main.pdf (The final pdf)
│ main.tex
│
└───Chapters
│
└───Figures (My TikZ files)
│
└───Junk (The files produced by the compiler)
│ │ *.out
│ │ *.log
│ │ *.md5
│ │ *.pdf (The files produced by external)
│ │ ...
└───Style
│ │ *.sty
My questions are:
- How can I output every file to the Junk directory?
- Can I grab the style file if it's in another directory? For some reason
\input{Style/style.sty}didn't work
\inputwon't work because the internals of\usepackagearen't set up properly. – Qrrbrbirlbel Sep 10 '22 at 01:20\tikzexternaldisableand\tikzexternalenableto mask caching. For example, when you useorcidlinkpackage, because\orcidlinkdraws fast, there is no need to cache it. We can avoid caching a large number of orcidlink icons by patching, i.e.,\xpretocmd{\orcidlink}{\tikzexternaldisable}{}{}and\xapptocmd{\orcidlink}{\tikzexternalenable}{}{}. If you usealgpseudocodexpackage, you may need\BeforeBeginEnvironment{algorithmic}{\tikzexternaldisable}and \AfterEndEnvironment{algorithmic}{\tikzexternalenable}`. – Clara Sep 10 '22 at 10:51