Re: [XeTeX] Externalizing PGF graphics - page size incorrect

2010-12-20 Thread Alan Munn


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.cls2007/10/19 v1.4h Standard LaTeX document class
  size10.clo2007/10/19 v1.4h Standard LaTeX file (size option)
tikz.sty2010/10/13 v2.10 (rcs-revision 1.76)
 pgf.sty2008/01/15 v2.10 (rcs-revision 1.12)
  pgfrcs.sty2010/10/25 v2.10 (rcs-revision 1.24)
everyshi.sty2001/05/15 v3.00 EveryShipout Package (MS)
  pgfrcs.code.tex
 pgfcore.sty2010/04/11 v2.10 (rcs-revision 1.7)
graphicx.sty1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty1999/03/16 v1.13 key=value parser (DPC)
graphics.sty2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
trig.sty1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg2010/04/23 v1.9 graphics configuration of TeX Live
   xetex.def2009/11/22 v0.94 LaTeX color/graphics driver for  
XeTeX (RRM/JK)


  pgfsys.sty2010/06/30 v2.10 (rcs-revision 1.37)
  pgfsys.code.tex
pgfsyssoftpath.code.tex2008/07/18  (rcs-revision 1.7)
pgfsysprotocol.code.tex2006/10/16  (rcs-revision 1.4)
  xcolor.sty2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg2007/01/18 v1.5 color configuration of teTeX/TeXLive
 pgfcore.code.tex
pgfcomp-version-0-65.sty2007/07/03 v2.10 (rcs-revision 1.7)
pgfcomp-version-1-18.sty2007/07/23 v2.10 (rcs-revision 1.1)
  pgffor.sty2010/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
am...@gmx.com






--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


[XeTeX] Externalizing PGF graphics - page size incorrect

2010-12-20 Thread Wesley Griffin
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}


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex