[XeTeX] Externalizing PGF graphics - page size incorrect

Alan Munn amunn at gmx.com
Mon Dec 20 20:27:18 CET 2010


On Dec 20, 2010, at 1:59 PM, Wesley Griffin wrote:

> 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?

Update your distribution?  I don't get the warning, and both files are  
image-sized.

Here's the output of \listfiles

-Alan


  *File List*
  article.cls    2007/10/19 v1.4h Standard LaTeX document class
   size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
     tikz.sty    2010/10/13 v2.10 (rcs-revision 1.76)
      pgf.sty    2008/01/15 v2.10 (rcs-revision 1.12)
   pgfrcs.sty    2010/10/25 v2.10 (rcs-revision 1.24)
everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
   pgfrcs.code.tex
  pgfcore.sty    2010/04/11 v2.10 (rcs-revision 1.7)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
    xetex.def    2009/11/22 v0.94 LaTeX color/graphics driver for  
XeTeX (RRM/JK)

   pgfsys.sty    2010/06/30 v2.10 (rcs-revision 1.37)
   pgfsys.code.tex
pgfsyssoftpath.code.tex    2008/07/18  (rcs-revision 1.7)
pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)
   xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
    color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
  pgfcore.code.tex
pgfcomp-version-0-65.sty    2007/07/03 v2.10 (rcs-revision 1.7)
pgfcomp-version-1-18.sty    2007/07/23 v2.10 (rcs-revision 1.1)
   pgffor.sty    2010/03/23 v2.10 (rcs-revision 1.18)
  pgfkeys.sty
  pgfkeys.code.tex
   pgffor.code.tex
     tikz.code.tex

>
> Thanks,
> Wes
>
> -----
>
> \documentclass{article}
> \usepackage{tikz}
>
> \pgfrealjobname{pgf}
> \begin{document}
> 	
> \beginpgfgraphicnamed{fig1}
> \begin{tikzpicture}
> 	\fill (0,0) circle (1cm);
> \end{tikzpicture}
> \endpgfgraphicnamed
>
> \end{document}
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex

-- 
Alan Munn
amunn at gmx.com






More information about the XeTeX mailing list