[XeTeX] Externalizing PGF graphics - page size incorrect

Wesley Griffin wgriffin at fraktured.net
Mon Dec 20 19:59:03 CET 2010


I am trying to externalize PGF graphics and it does not appear that
xelatex sets the page size correctly. The following code works (i.e.
creates a PDF sized to the graphic):

% pdflatex --jobname=fig1 pgf.tex

while using xelatex gives the following warning and creates a full 8.5x11 PDF:

% xelatex --jobname=fig1 pgf.tex

Package pgf Warning: Your graphic driver pgfsys-xetex.def does not
support papersize. This warning is given only once on input line 14.

Is there anything I can do?

Thanks,
Wes

-----

\documentclass{article}
\usepackage{tikz}

\pgfrealjobname{pgf}
\begin{document}
	
\beginpgfgraphicnamed{fig1}
\begin{tikzpicture}
	\fill (0,0) circle (1cm);
\end{tikzpicture}
\endpgfgraphicnamed

\end{document}


More information about the XeTeX mailing list