Skip to content

Is python output from not pdf output also cached? #28

Answered by tobiasBora
dflvunoooooo asked this question in Q&A
Discussion options

You must be logged in to vote

Actually, I just realized that I told you something wrong: the pgf backend uses pgfpicture instead of tikzpicture, and I don't cache pgfpicture automatically (also because a normal user rarely uses pgfpicture directly. But it is fairly easy to cache this as well, just type:

\cacheEnvironment{pgfpicture}{tikz, add to preamble={\makeatletter}}

(note that the \makeatletter is needed as pgfpicture relies on this being set to true)

Another solution is to use instead a different \input (this avoids to cache all pgfpictures at the same time, like many we don't want to cache pgfpictures from other packages). For that, change the custom include command to:

custom include command={\evalPlaceholder…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@tobiasBora
Comment options

@dflvunoooooo
Comment options

@tobiasBora
Comment options

Answer selected by dflvunoooooo
@dflvunoooooo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants