On Sat, May 3, 2008 at 10:15 AM, macias <ba
...@poczta.fm> wrote:
> Would it be possible to add some cache to embedded dot parts of tex
> document? The problem is with dot files included the latex runs a lot
> longer -- so I am wondering if on every run dot2tex couldn't save some
> info about dot part (md5?) if not changed, the old results would be
> used.
Experimental caching support is now available in SVN revision 208:
http://code.google.com/p/dot2tex/source/detail?r=208 I have attached a version of dot2texi that adds the 'cache' package
and environment option. Example:
...
\usepackage[cache]{dot2tex}
...
\begin{dot2tex}
...
\end{dot2tex}
...
or
\begin{dot2tex}[cache]
...
\end{dot2tex}
When caching is enabled, dot2tex will check if the input graph has
been converted before. If this is the case no output is generated.
This will speed up the compilation time since only changed graphs are
converted. However, there is still some overhead. It is faster to
compile with shell escaping disabled.
- Kjell Magne Fauske