summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cachepic/prcachepic.def
blob: 533fd9dcb8575da61cd8bf0b755c5462de5ca0c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% cachepic option for Preview package 
% implements log output of cachpic specific info 
\ifPreview\else\expandafter\endinput\fi
%\pr@loadcfg{prcachepic}
\g@addto@macro\pr@ship@end{
  \ifx\cachepic@name\@undefined
  \else
    \typeout{Preview: CachePic
             \number\pr@snippet\space
             \number\wd\pr@box\space
             \number\ht\pr@box\space
             \number\dp\pr@box\space
             \cachepic@name}
    \global\let\cachepic@name\@undefined
  \fi
 }
\PreviewMacro[!!]{\cachepic}
%\PreviewMacro[!]{\cacheinput}% defined through \cachepic
\PreviewEnvironment[!]{cachepicture}
\endinput