diff --git a/pgf.requires b/pgf.requires new file mode 100644 index 0000000..d7a7f7f --- /dev/null +++ b/pgf.requires @@ -0,0 +1 @@ +Requires: tex(atbegshi.sty) diff --git a/pgf_plain.dif b/pgf_plain.dif new file mode 100644 index 0000000..9bcd224 --- /dev/null +++ b/pgf_plain.dif @@ -0,0 +1,128 @@ +--- tex/generic/pgf/math/pgfmathutil.code.tex ++++ tex/generic/pgf/math/pgfmathutil.code.tex 2012-07-12 08:52:20.220509841 +0000 +@@ -80,7 +80,7 @@ + \let\pgfmath@yc\pgf@yc + + \let\pgfmath@tempdima\pgfutil@tempdima +-\let\pgfmath@tempdima\pgfutil@tempdima ++\let\pgfmath@tempdimb\pgfutil@tempdimb + + \let\c@pgfmath@counta\c@pgf@counta + \let\c@pgfmath@countb\c@pgf@countb +--- tex/generic/pgf/utilities/pgfutil-latex.def ++++ tex/generic/pgf/utilities/pgfutil-latex.def 2012-07-12 08:54:56.028009931 +0000 +@@ -62,7 +62,12 @@ + \let\pgfutil@tempdima=\@tempdima + \let\pgfutil@tempdimb=\@tempdimb + +-\AtEndDocument{\the\pgfutil@everybye} ++\let\pgfmath@tempdima\pgfutil@tempdima ++\let\pgfmath@tempdima\pgfutil@tempdima ++\let\pgfmath@tempcnta\pgfutil@tempcnta ++\let\pgfmath@tempcntb\pgfutil@tempcntb ++ ++\AtEndDocument{\par\vfil\penalty-10000\relax\the\pgfutil@everybye} + + \def\pgfutil@insertatbegincurrentpagefrombox#1{% + \global\setbox\pgfutil@abb\hbox{\unhbox\pgfutil@abb#1}% +--- tex/generic/pgf/utilities/pgfutil-plain.def ++++ tex/generic/pgf/utilities/pgfutil-plain.def 2012-07-12 08:56:55.316010210 +0000 +@@ -209,6 +209,14 @@ + \newdimen\pgfutil@tempdima + \newdimen\pgfutil@tempdimb + ++\let\pgfmath@tempdima\pgfutil@tempdima ++\let\pgfmath@tempdima\pgfutil@tempdima ++\let\pgfmath@tempcnta\pgfutil@tempcnta ++\let\pgfmath@tempcntb\pgfutil@tempcntb ++ ++% From LaTeX ++\newskip\pgfutil@flushglue ++\pgfutil@flushglue=0pt plus 1fil + + % Module stuff + +@@ -228,8 +236,7 @@ + + + +-% Hack shipout. Should perhaps use atbegshi? Not in standard distribution, currently... +-% Code inspired (but patched...) from everyshi.sty: ++% Hack shipout. Now use atbegshi + + \def\pgfutil@insertatbegincurrentpagefrombox#1{% + \global\setbox\pgfutil@abb\hbox{\unhbox\pgfutil@abb#1}% +@@ -244,32 +251,27 @@ + } + \let\pgfutil@abe\pgfutil@empty% + +-\def\pgfutil@@EveryShipout@Shipout{% +- \afterassignment\pgfutil@@EveryShipout@Test +- \setbox255= % +-} +-\def\pgfutil@@EveryShipout@Test{% +- \ifvoid\@cclv\relax +- \aftergroup\pgfutil@EveryShipout@Output +- \else +- \pgfutil@EveryShipout@Output +- \fi% +-} +-\def\pgfutil@EveryShipout@Output{% +- \setbox255=\vbox{% +- \setbox0=\hbox{\pgfutil@abe\unhbox\pgfutil@abb\pgfutil@abc\global\let\pgfutil@abc\pgfutil@empty}% +- \wd0=0pt% +- \ht0=0pt% +- \dp0=0pt% +- \box0% +- \unvbox255% +- }% +- \pgfutil@@EveryShipout@Org@Shipout\box\@cclv% +-} +-\let\pgfutil@@EveryShipout@Org@Shipout\shipout +-\let\shipout\pgfutil@@EveryShipout@Shipout +- +- ++% Code by Heiko Oberdiek on ctt ++\input atbegshi.sty\relax ++\AtBeginShipout{% ++ \setbox\AtBeginShipoutBox=\vbox{% ++ \setbox0=\hbox{% ++ \begingroup ++ \pgfutil@abe ++ \unhbox\pgfutil@abb ++ \pgfutil@abc ++ \global\let\pgfutil@abc\pgfutil@empty ++ \endgroup ++ }% ++ \wd0=0pt\relax ++ \ht0=0pt\relax ++ \dp0=0pt\relax ++ \box0 % ++ \nointerlineskip ++ \box\AtBeginShipoutBox ++ }% ++}% ++% End of HO code + + % The following is still messy and needs to be cleanup up (everything + % prefixed by pgfutil@): +--- tex/latex/pgf/math/pgfmath.sty ++++ tex/latex/pgf/math/pgfmath.sty 2012-07-12 08:58:15.052010130 +0000 +@@ -7,6 +7,7 @@ + % + % See the file doc/generic/pgf/licenses/LICENSE for more details. + ++\RequirePackage{pgfrcs,pgfkeys} + \input{pgfmath.code.tex} + + \endinput +--- tex/latex/pgf/utilities/pgffor.sty ++++ tex/latex/pgf/utilities/pgffor.sty 2012-07-12 08:58:34.616510234 +0000 +@@ -9,6 +9,7 @@ + + \RequirePackage{pgfrcs} + \RequirePackage{pgfkeys} ++\RequirePackage{pgfmath} + + \input{pgffor.code.tex} + diff --git a/texlive-specs.tar.xz b/texlive-specs.tar.xz index deb154b..585e5e9 100644 --- a/texlive-specs.tar.xz +++ b/texlive-specs.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d9c9d1a5a278c3a06daaab61f2d494347520f0a2826e7dc07a5b987be777e27 -size 833176 +oid sha256:9c212df382b9275a8adcdd8ba2a4cd0e784f15b8da1bdcd9e24e32bf9e57b7bb +size 1046704