diff options
author | Karl Berry <karl@freefriends.org> | 2015-08-08 22:54:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-08-08 22:54:29 +0000 |
commit | 531d43fafa269c546d587eaca6cd14adcd11914f (patch) | |
tree | 1883933af984c60254e6d9d1bd955a76748cb827 /Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex | |
parent | 877e963d44f039783cb9227d90c911866c780961 (diff) |
pgf (8aug15)
git-svn-id: svn://tug.org/texlive/trunk@38079 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex index 63a1aac41a5..e33a132c29b 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex @@ -7,7 +7,7 @@ % % See the file doc/generic/pgf/licenses/LICENSE for more details. -\ProvidesPackageRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/systemlayer/pgfsys.code.tex,v 1.47 2013/11/30 11:35:10 ludewich Exp $ +\ProvidesPackageRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/systemlayer/pgfsys.code.tex,v 1.48 2014/07/09 14:01:22 cfeuersaenger Exp $ % Load key mechanism @@ -683,6 +683,19 @@ % #1 = width % #2 = height +\def\pgfsys@prepare@papersize#1#2{\pgfsys@papersize{#1}{#2}} +% Like \pgfsys@papersize, this prepares the paper size in a portable +% way -- but it is supposed to be a preparation step before the +% document has started. Drivers may decide to postpone the action +% until the document has started. +% +% The root cause why I added this method is that image externalization +% seems to suffer from the fact that some drivers need a "prepared" +% routine whereas others must not have a prepared routine and have to +% apply the action right-away. This method is the solution for image +% externalization. +% #1 = width +% #2 = height \ifx\paperheight\@undefined \def\pgfsys@thepageheight{\the\vsize} % this is wrong, but I do not |