The following document produces a PDF with two pages, while only one is called for:
\documentclass{article}
\usepackage{pgfcore}
\usepackage[active]{preview}
\begin{document}
Text
\begin{preview}HELLO\end{preview}
\end{document}
While this is a known bug (where I also borrowed the MWE, thanks Ulrike), I'd be curious to know if a workaround at the user level exists, especially one that does not involve changing system files (as in this related question).
(A DVI user also wondered: Does tikz 2.1 no longer work with the preview package? The question here is about pdflatex.)
preview? – cfr Mar 29 '15 at 16:40previewis fine as long aspgfis not loaded. On the other hand,pgfdoes not seem to be affected bypreview. (Loadingpgfseems to involve\AtBeginDocumentat some point, so the order of package loading is irrelevant.) – krlmlr Mar 29 '15 at 17:21previewandeveryshi, but after substitutingpgfcorewitheveryshithe error disappears. I guesspgfitself needs to meddle with\shipout. – krlmlr Mar 29 '15 at 18:22