Using forest
package for simple truth trees, and I want to externalize because there are a lot of them. Here is the code example:
\documentclass{article}
\usepackage[external]{forest}
\tikzexternalize
\begin{document}
\begin{forest}
[$B \rightarrow C$
[$C$
[$\neg A$
[$\neg B$
]
[$C$
]
]
[$B$
[$\neg B$
]
[$C$
]
]
]
]
\end{forest}
\end{document}
Here is the error:
Command Line: texify.exe --src --tex-option=--interaction=errorstopmode
--tex-option=--synctex=-1
.....
ABD: EveryShipout initializing macros forest: Invoking a recursive call to
generate the external picture 'Test2-fores t-1' for the following
context+code: 'dj,8.39996pt,0.4pt,.3333em,.5\pgflinewidt h
,.3333em,.5\pgflinewidth @@ [$B \rightarrow C$ [$C$ [$\neg A$ [$\neg B$ ] [$C
$ ] ] [$B$ [$\neg B$ ] [$C$ ] ] ] ] ' ! Undefined control sequence.
\forest@temp ->\path
[draw]([email protected] anchor)--([email protected] anchor);
l.24 \end{forest}
? x No pages of output. Transcript written on Test2.log. texify: latex failed
for some reason (see log file).
Everything works fine if I comment out \tikzexternalize
.
forest
environment doesn’t include thetikzpicture
environment correctly when externalizing. (forest
also presets the command to copy files tocp
which does not work (at least on Windows).) It might be best to notify the author, see the package documentation for contact information.