diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-05 21:38:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-05 21:38:50 +0000 |
commit | 675266a469958f9238613ad9e8ce6ae637736923 (patch) | |
tree | 869733d71acafaa19a1ce89c0c430d475448ae03 /Master/texmf-dist/tex/generic/pgf/systemlayer | |
parent | 89916d9520fa753d876b1c3d0b300c91be1eb5d3 (diff) |
pgf
git-svn-id: svn://tug.org/texlive/trunk@51018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/systemlayer')
20 files changed, 372 insertions, 350 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg index 01ae33272e7..5f7a34c8372 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg @@ -27,7 +27,7 @@ % Alternatively, use one of the above commands in your own files. \endinput - -%%% Local Variables: + +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf-via-dvi.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf-via-dvi.def index 1ba7515684b..c1744bae02c 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf-via-dvi.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf-via-dvi.def @@ -34,9 +34,10 @@ /Extend [false false] >> >> >>}}}\@temp% << \pgfutil@insertatbegincurrentpage{\special{pdf: content /Sh sh}% \special{pdf: endxobj}}% - \expandafter\xdef\csname @pgfshading#1!\endcsname{% - \hbox to\the\pgf@max{\vbox to#2{\vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}% + \xdef\pgfutil@tempa{% + \hbox to\the\pgf@max{\vbox to#2{\vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@vertshading#1#2#3{% {% @@ -52,9 +53,10 @@ /Extend [false false] >> >> >>}}}\@temp% << \pgfutil@insertatbegincurrentpage{\special{pdf: content /Sh sh}% \special{pdf: endxobj}}% - \expandafter\xdef\csname @pgfshading#1!\endcsname{% - \hbox to#2{\vbox to\the\pgf@max{\vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}% + \xdef\pgfutil@tempa{% + \hbox to#2{\vbox to\the\pgf@max{\vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@radialshading#1#2#3{% {% @@ -80,9 +82,10 @@ /Extend [true false] >> >> >>}}}\@temp% << \pgfutil@insertatbegincurrentpage{\special{pdf: content /Sh sh}% \special{pdf: endxobj}}% - \expandafter\xdef\csname @pgfshading#1!\endcsname{% - \hbox to\the\pgfutil@tempdima{\vbox to\the\pgfutil@tempdima{\vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}% + \xdef\pgfutil@tempa{% + \hbox to\the\pgfutil@tempdima{\vbox to\the\pgfutil@tempdima{\vfil\special{pdf: usexobj @pgfshade#1}}\hfil}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa }% \def\pgf@sys@pdf@dvi@tracker{ @@ -123,15 +126,15 @@ \pgf@sys@pdf@any@resourcesfalse% \ifpgf@sys@pdf@extgs@exists% \pgf@sys@pdf@any@resourcestrue% - \ifpgf@sys@pdf@extgs@created \else \special{pdf: obj @pgfextgs <<>>} \global\pgf@sys@pdf@extgs@createdtrue \fi% << + \ifpgf@sys@pdf@extgs@created \else \special{pdf: obj @pgfextgs <<>>} \global\pgf@sys@pdf@extgs@createdtrue \fi% << \fi% \ifpgf@sys@pdf@colorspaces@exists% \pgf@sys@pdf@any@resourcestrue% - \ifpgf@sys@pdf@colorspaces@created \else \special{pdf: obj @pgfcolorspaces <<>>} \global\pgf@sys@pdf@colorspaces@createdtrue \fi% << + \ifpgf@sys@pdf@colorspaces@created \else \special{pdf: obj @pgfcolorspaces <<>>} \global\pgf@sys@pdf@colorspaces@createdtrue \fi% << \fi% \ifpgf@sys@pdf@patterns@exists% \pgf@sys@pdf@any@resourcestrue% - \ifpgf@sys@pdf@patterns@created \else \special{pdf: obj @pgfpatterns <<>>} \global\pgf@sys@pdf@patterns@createdtrue \fi% << + \ifpgf@sys@pdf@patterns@created \else \special{pdf: obj @pgfpatterns <<>>} \global\pgf@sys@pdf@patterns@createdtrue \fi% << \fi% \ifpgf@sys@pdf@any@resources% \special{pdf: put @resources << @@ -159,6 +162,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def index ccac27335a3..c70f3ef2b7f 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def @@ -70,14 +70,14 @@ \expandafter\gdef\csname pgf@sys@pdf@so@#1\endcsname{/pgf@CA#1}% \pgfutil@addpdfresource@extgs{/pgf@CA#1 << /CA #1 >>}%<< \fi% - \pgfsysprotocol@literal{\csname pgf@sys@pdf@so@#1\endcsname\space gs}% + \pgfsysprotocol@literal{\csname pgf@sys@pdf@so@#1\endcsname\space gs}% } \def\pgfsys@fill@opacity#1{% \expandafter\ifx\csname pgf@sys@pdf@fo@#1\endcsname\relax% \expandafter\gdef\csname pgf@sys@pdf@fo@#1\endcsname{/pgf@ca#1}% \pgfutil@addpdfresource@extgs{/pgf@ca#1 << /ca #1 >>}%<< \fi% - \pgfsysprotocol@literal{\csname pgf@sys@pdf@fo@#1\endcsname\space gs}% + \pgfsysprotocol@literal{\csname pgf@sys@pdf@fo@#1\endcsname\space gs}% } % Blending @@ -92,7 +92,7 @@ \edef\pgf@temp{/pgf@bm\pgf@temp << /BM [ /\pgf@temp ] >>}%<< \expandafter\pgfutil@addpdfresource@extgs\expandafter{\pgf@temp}% \fi% - \pgfsysprotocol@literal{\csname pgf@sys@pdf@bm@#1\endcsname\space gs}% + \pgfsysprotocol@literal{\csname pgf@sys@pdf@bm@#1\endcsname\space gs}% } \expandafter\def\csname pgf@sys@pdf@blend@mode@map@normal\endcsname{Normal} \expandafter\def\csname pgf@sys@pdf@blend@mode@map@multiply\endcsname{Multiply} @@ -114,6 +114,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-postscript.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-postscript.def index 0f8ce5d0157..81d4527146d 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-postscript.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-postscript.def @@ -191,7 +191,7 @@ \pgf@sys@bp@correct{\pgf@x}% \pgf@y=\pgf@max% \pgf@sys@bp@correct{\pgf@y}% - \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to \the\pgf@max{% + \xdef\pgfutil@tempa{\hbox to \the\pgf@max{% \noexpand\vrule width0pt height\the\pgf@xa% \noexpand\pgfsys@beginpurepicture% \noexpand\pgfsys@rect{0pt}{0pt}{\the\pgf@max}{\the\pgf@xa}% @@ -201,6 +201,7 @@ \hss% \noexpand\pgfsys@endpurepicture}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@vertshading#1#2#3{% {% @@ -210,7 +211,7 @@ \pgf@sys@bp@correct{\pgf@x}% \pgf@y=\pgf@max% \pgf@sys@bp@correct{\pgf@y}% - \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to\the\pgf@xa{% + \xdef\pgfutil@tempa{\hbox to \the\pgf@max{% \noexpand\vrule width0pt height\the\pgf@max% \noexpand\pgfsys@beginpurepicture% \noexpand\pgfsys@rect{0pt}{0pt}{\the\pgf@xa}{\the\pgf@max}% @@ -220,6 +221,7 @@ \hss% \noexpand\pgfsys@endpurepicture}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@radialshading#1#2#3{% {% @@ -231,7 +233,7 @@ \pgf@sys@bp@correct{\pgf@max}% \advance\pgf@x by \pgf@max% \advance\pgf@y by \pgf@max% - \expandafter\xdef\csname @pgfshading#1!\endcsname{\hbox to \the\pgf@xa{% + \xdef\pgfutil@tempa{\hbox to \the\pgf@max{% \noexpand\vrule width0pt height\the\pgf@xa% \noexpand\pgfsys@beginpurepicture% \noexpand\pgfsys@invoke{% @@ -240,6 +242,7 @@ \hss% \noexpand\pgfsys@endpurepicture}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@functionalshading#1#2#3#4{% {% @@ -257,13 +260,13 @@ \pgf@sys@bp@correct{\pgf@yb}% \pgf@xc=-\pgf@xa% \pgf@yc=-\pgf@ya% - \expandafter\xdef\csname @pgfshading#1!\endcsname{% + \xdef\pgfutil@tempa{% \hbox to\the\pgf@x{\vbox to\the\pgf@y{\vfil \noexpand\pgfsys@beginpurepicture% \noexpand\pgfsys@invoke{% \pgf@sys@tonumber{\pgf@xc} \pgf@sys@tonumber{\pgf@yc} translate 1.1 setlinewidth [] 0 setdash 0 setlinecap - /pgfproc {#4} bind def + /pgfproc {#4} bind def \pgf@sys@tonumber{\pgf@ya} 1 \pgf@sys@tonumber{\pgf@yb} { \pgf@sys@tonumber{\pgf@xa} 1 \pgf@sys@tonumber{\pgf@xb} @@ -271,12 +274,13 @@ for pop } - for + for }% \noexpand\pgfsys@endpurepicture }\hfil}% }% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } % @@ -287,7 +291,7 @@ \def\pgfsys@declarepattern#1#2#3#4#5#6#7#8#9{% % Start building the pattern dictionary: \pgf@xa=#2\relax% - \pgf@ya=#3\relax% + \pgf@ya=#3\relax% \pgf@xb=#4\relax% \pgf@yb=#5\relax% \pgf@xc=#6\relax% @@ -350,13 +354,13 @@ /pgfheight exch def 0.75 setlinewidth [] 0 setdash /pgfshade {pgfA} def /pgfdir { dup 0 moveto dup 5 index lineto } bind def} bind def}% - + % Parameters to vertical pre axishade: \pgf@domb x \pgf@sys@postscript@header{/pgfV{% /pgfheight exch def 0.75 setlinewidth [] 0 setdash /pgfshade {pgfA} def /pgfdir { dup 0 exch moveto dup 5 index exch lineto } bind def} bind def}% - + % Parameters to axishade: end x, start x, r-, g-, b- of first color, r-, g-, b- of second color % Stack afterwards: end x \pgf@sys@postscript@header{/pgfA{ @@ -373,7 +377,7 @@ 4 -1 roll 6 index add % green += incgreen 4 -1 roll 5 index add % blue += incblue 4 -1 roll .5 sub % x += 0.5 - } repeat + } repeat mark 15 1 roll cleartomark exch pop % leave only start x on stack }bind def } @@ -393,7 +397,7 @@ }bind def } % Parameters to radialshade post: \pgf@firstcolor \pgf@doma - \pgf@sys@postscript@header{/pgfR2{ + \pgf@sys@postscript@header{/pgfR2{ newpath 0.5 add pgfcircx pgfcircy 3 2 roll 0 360 arc setrgbcolor fill pop}bind def }% @@ -421,7 +425,7 @@ 4 -1 roll .25 sub % x += 0.25 /pgfcircx pgfcircx pgfxstep add def /pgfcircy pgfcircy pgfystep add def - } repeat + } repeat mark 14 1 roll cleartomark exch pop % leave only start x on stack }bind def} } @@ -429,6 +433,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-svg.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-svg.def index 4986feaa46e..ec8a7c2b827 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-svg.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-svg.def @@ -81,7 +81,7 @@ \ifx\pgfsys@anim@ba@markerend\pgfutil@empty\else% marker-end="url(\#\pgfsys@anim@ba@markerend)" % \fi% - \fi% + \fi% #1/>\pgfsys@svg@newline }% \pgf@sys@svg@gs{clip-path="url(\#\pgfsys@if@fresh@currentid{\pgfsys@id@refcurrent}{pgfcp\the\pgf@sys@svg@objectcount}clip)"} \pgf@sys@svg@clipnextfalse% @@ -96,7 +96,7 @@ \ifx\pgfsys@anim@ba@markerend\pgfutil@empty\else% marker-end="url(\#\pgfsys@anim@ba@markerend)" % \fi% - \fi% + \fi% #1/>\pgfsys@svg@newline }% \fi% \pgfsys@invalidate@currentid% @@ -154,7 +154,7 @@ \else% \pgf@sys@svg@gs{transform="translate(\pgf@sys@tonumber{\pgf@x},\pgf@sys@tonumber{\pgf@y})"}% \fi% - \else% + \else% \pgf@sys@svg@gs{transform="matrix(#1,#2,#3,#4,\pgf@sys@tonumber{\pgf@x},\pgf@sys@tonumber{\pgf@y})"}% \fi}} \def\pgfsys@transformshift#1#2{% @@ -234,7 +234,7 @@ \advance\pgf@sys@svg@scopecount by-1\relax% \repeat% \endgroup% - \global\pgf@sys@svg@scopecount=\pgf@sys@svg@thescopecount\relax% + \global\pgf@sys@svg@scopecount=\pgf@sys@svg@thescopecount\relax% } \newif\ifpgfsys@svg@close@strokenone \def\pgfsys@begin@idscope{% @@ -284,7 +284,7 @@ \expandafter\xdef\csname pgf@sys@svg@lookup@#2\endcsname{t\the\pgf@sys@svg@type@count}% \expandafter\let\expandafter#1\csname pgf@sys@svg@lookup@#2\endcsname% \fi% -} +} @@ -329,11 +329,11 @@ % % Color management -% +% \def\pgf@sys@svg@rgb@to@hash#1#2#3{% {% - \pgf@sys@svg@do@color{#1}% + \pgf@sys@svg@do@color{#1}% \let\pgf@sys@svg@ra\pgf@sys@svg@hex@first% \let\pgf@sys@svg@rb\pgf@sys@svg@hex@second% \pgf@sys@svg@do@color{#2}% @@ -589,7 +589,7 @@ \pgf@sys@svg@shading@stops% \pgf@sys@svg@addtostops{</linearGradient>\noexpand\pgfsys@svg@newline}% \pgf@process{\pgfpoint{\pgf@sys@shading@end@pos}{#2}}% - \expandafter\xdef\csname @pgfshading#1!\endcsname{% + \xdef\pgfutil@tempa{% \def\noexpand\pgf@sys@svg@sh@defs{\noexpand\pgfsysprotocol@literal{\pgf@sys@svg@thestops}}% \def\noexpand\pgf@sys@svg@sh{\noexpand\pgfsysprotocol@literal{<rect width="\pgf@sys@tonumber{\pgf@x}" @@ -599,6 +599,7 @@ \def\noexpand\pgf@sys@svg@pos{\noexpand\pgfpoint{\the\pgf@x}{\the\pgf@y}}% }% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@functionalshading#1#2#3#4{% @@ -620,7 +621,7 @@ \pgf@sys@svg@shading@stops% \pgf@sys@svg@addtostops{</linearGradient>\noexpand\pgfsys@svg@newline}% \pgf@process{\pgfpoint{\pgf@sys@shading@end@pos}{#2}}% - \expandafter\xdef\csname @pgfshading#1!\endcsname{% + \xdef\pgfutil@tempa{% \def\noexpand\pgf@sys@svg@sh@defs{\noexpand\pgfsysprotocol@literal{\pgf@sys@svg@thestops}}% \def\noexpand\pgf@sys@svg@sh{\noexpand\pgfsysprotocol@literal{<rect width="\pgf@sys@tonumber{\pgf@y}" @@ -630,6 +631,7 @@ \def\noexpand\pgf@sys@svg@pos{\noexpand\pgfpoint{\the\pgf@y}{\the\pgf@x}}% }% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@radialshading#1#2#3{% @@ -655,8 +657,8 @@ \pgf@sys@svg@shading@stops% \pgf@sys@svg@addtostops{</radialGradient>\noexpand\pgfsys@svg@newline}% \pgf@xa=\pgf@sys@shading@end@pos% - \pgf@xb=2\pgf@xa% - \expandafter\xdef\csname @pgfshading#1!\endcsname{% + \pgf@xb=2\pgf@xa% + \xdef\pgfutil@tempa{% \def\noexpand\pgf@sys@svg@sh@defs{\noexpand\pgfsysprotocol@literal{\pgf@sys@svg@thestops}}% \def\noexpand\pgf@sys@svg@sh{\noexpand\pgfsysprotocol@literal{<circle cx="\pgf@sys@tonumber{\pgf@xa}" @@ -667,6 +669,7 @@ \def\noexpand\pgf@sys@svg@pos{\noexpand\pgfpoint{\the\pgf@xb}{\the\pgf@xb}}% }% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } @@ -675,7 +678,7 @@ \def\pgfsys@declarepattern#1#2#3#4#5#6#7#8#9{% % Start building the pattern dictionary: \pgf@xa=#2\relax% - \pgf@ya=#3\relax% + \pgf@ya=#3\relax% \pgf@xb=#4\relax% \pgf@yb=#5\relax% \pgf@xc=#6\relax% @@ -793,7 +796,7 @@ } \def\pgf@sys@svg@do@event#1#2#3#4{% \pgf@sys@at@least@one@eventtrue% - % + % {% \edef\pgf@temp{#1}% \ifx\pgf@temp\pgfutil@empty% @@ -816,7 +819,7 @@ \edef\pgf@@temp{ +\pgf@sys@tonumber\pgf@x s}% \fi% \xdef\pgf@svg@anim@temp{\pgf@temp#3\pgf@@temp}% - }% + }% \pgf@sys@svg@append{\pgf@sys@event@target}{\pgf@svg@anim@temp}% \global\let\pgf@svg@anim@temp\relax% \pgf@sys@svg@do@events@now% @@ -875,7 +878,7 @@ \let\pgf@sys@svg@add@code\pgfutil@empty% % % Setup markers: - % + % % Setup start \ifx\pgf@svg@anim@marker@start\pgfutil@empty% \let\pgf@sys@svg@marker@id@start\pgfutil@empty% @@ -945,7 +948,7 @@ \pgf@sys@svg@key{fill}% \pgf@sys@svg@key{begin}% \pgf@sys@svg@key{end}% - \pgf@sys@svg@key{xlink:href} + \pgf@sys@svg@key{xlink:href} from="\ifx\pgf@svg@anim@marker@start\pgfutil@empty none\else url(\#\pgf@sys@svg@marker@id@start)\fi" to="\ifx\pgf@svg@anim@marker@start\pgfutil@empty none\else url(\#\pgf@sys@svg@marker@id@start)\fi" />\pgfsys@svg@newline% @@ -957,7 +960,7 @@ \pgf@sys@svg@key{fill}% \pgf@sys@svg@key{begin}% \pgf@sys@svg@key{end}% - \pgf@sys@svg@key{xlink:href} + \pgf@sys@svg@key{xlink:href} from="\ifx\pgf@svg@anim@marker@end\pgfutil@empty none\else url(\#\pgf@sys@svg@marker@id@end)\fi" to="\ifx\pgf@svg@anim@marker@end\pgfutil@empty none\else url(\#\pgf@sys@svg@marker@id@end)\fi" />\pgfsys@svg@newline% @@ -1110,7 +1113,7 @@ \else% \edef\pgf@svg@anim@temp@{\pgf@svg@anim@temp@;#2}% \expandafter\let\csname pgfsys@anim@val@#1\endcsname\pgf@svg@anim@temp@% - \fi\fi% + \fi\fi% } % The actual animate command @@ -1312,7 +1315,7 @@ \expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\pgf@sys@svg@tl@entries% \expandafter\expandafter\expandafter{\expandafter\pgf@sys@svg@tl@entries\pgf@sys@svg@temp}% - \fi% + \fi% \let\pgf@sys@svg@tl@end\pgf@sys@svg@t% \edef\pgf@sys@svg@last@value{#1}% \fi% @@ -1505,7 +1508,7 @@ \pgfsysprotocol@literal{<marker id="\pgf@sys@svg@marker@id" markerUnits="userSpaceOnUse" orient="auto" overflow="visible"> <use xlink:href="\#pgfs#1"#2/> </marker>\pgfsys@svg@newline}% \edef#3{marker-#4="url(\#\pgf@sys@svg@marker@id)" }% -} +} % @@ -1598,6 +1601,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvi.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvi.def index 20ba5f0fdc7..a6397752ff4 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvi.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvi.def @@ -94,7 +94,7 @@ \ifdim\pgfutil@tempdima<0pt% \pgfutil@tempdima=-\pgfutil@tempdima% \fi% - \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% + \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% \pgfutil@tempdimb=\pgfutil@tempdima% \fi% \pgfutil@tempdima=\pgf@xb% @@ -102,7 +102,7 @@ \ifdim\pgfutil@tempdima<0pt% \pgfutil@tempdima=-\pgfutil@tempdima% \fi% - \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% + \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% \pgfutil@tempdimb=\pgfutil@tempdima% \fi% \pgfutil@tempdima=\pgf@yb% @@ -110,7 +110,7 @@ \ifdim\pgfutil@tempdima<0pt% \pgfutil@tempdima=-\pgfutil@tempdima% \fi% - \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% + \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% \pgfutil@tempdimb=\pgfutil@tempdima% \fi% \pgfutil@tempdima=\pgf@x% @@ -118,7 +118,7 @@ \ifdim\pgfutil@tempdima<0pt% \pgfutil@tempdima=-\pgfutil@tempdima% \fi% - \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% + \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% \pgfutil@tempdimb=\pgfutil@tempdima% \fi% \pgfutil@tempdima=\pgf@y% @@ -126,20 +126,20 @@ \ifdim\pgfutil@tempdima<0pt% \pgfutil@tempdima=-\pgfutil@tempdima% \fi% - \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% + \ifdim\pgfutil@tempdima>\pgfutil@tempdimb% \pgfutil@tempdimb=\pgfutil@tempdima% \fi% \pgfutil@tempcnta=\pgfutil@tempdimb% \ifdim\pgf@sys@dvi@linewidth>0.3pt% \pgfutil@tempdimb=0.15pt% \else% - \ifdim\pgf@sys@dvi@linewidth<0.05pt% + \ifdim\pgf@sys@dvi@linewidth<0.05pt% \pgfutil@tempdimb=.025pt% \else% \pgfutil@tempdimb=.5\pgf@sys@dvi@linewidth% \fi% \fi% - \pgfutil@tempcntb=\pgfutil@tempdimb% + \pgfutil@tempcntb=\pgfutil@tempdimb% \divide\pgfutil@tempcnta by\pgfutil@tempcntb\relax% \ifnum\pgfutil@tempcnta>0\relax% \pgfutil@tempcntb=0\relax% @@ -156,7 +156,7 @@ }% \advance\pgfutil@tempcntb by1\relax \ifnum\pgfutil@tempcntb<\pgfutil@tempcnta% - {\def\pgf@time@t{1}\def\pgf@time@s{0}\pgf@sys@dvi@bezier}% + {\def\pgf@time@t{1}\def\pgf@time@s{0}\pgf@sys@dvi@bezier}% \repeat% \fi% }% @@ -331,7 +331,7 @@ \advance\pgf@y by-0.5\pgf@sys@dvi@linewidth% \pgf@sys@dvi@drawrect{\pgf@x}{\pgf@y}{\pgf@xb}{\pgf@sys@dvi@linewidth}% \else% - \ifdim\pgf@x=\pgf@xa% + \ifdim\pgf@x=\pgf@xa% % Ok, also easy... \pgf@yb=\pgf@ya% \advance\pgf@yb by-\pgf@y% @@ -342,7 +342,7 @@ \pgf@marshal% \fi% \fi% - }% + }% % Remember: \pgf@xc=#1\relax% \pgf@yc=#2\relax% @@ -389,6 +389,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def index cb545f2b66f..939595089ad 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfm.def @@ -47,7 +47,7 @@ \pgf@pt@x=0pt% \pgf@pt@y=0pt% \special{pdf: content q}% - \pgflowlevelsynccm% + \pgflowlevelsynccm% \pgfsys@invoke{q -1 0 0 -1 0 0 cm}% \special{pdf: content -1 0 0 -1 0 0 cm q}% translate to original coordinate system \pgfsys@invoke{0 J [] 0 d}% reset line cap and dash @@ -105,6 +105,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def index beadfff3bf1..2077a2707b9 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def @@ -94,7 +94,7 @@ \pgfsys@dvipdfmx@start@force@reset@color% \pgf@sys@bp@correct\pgf@pt@x% \pgf@sys@bp@correct\pgf@pt@y% - \special{pdf:btrans matrix \pgf@pt@aa\space \pgf@pt@ab\space \pgf@pt@ba\space \pgf@pt@bb\space + \special{pdf:btrans matrix \pgf@pt@aa\space \pgf@pt@ab\space \pgf@pt@ba\space \pgf@pt@bb\space \pgf@sys@tonumber{\pgf@pt@x} \pgf@sys@tonumber{\pgf@pt@y}}% \box#1% \special{pdf:etrans}% @@ -130,9 +130,10 @@ >>}% \pgfsys@invoke{/Sh sh}% \special{pdf:exobj}}}\@tempa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{% + \xdef\pgfutil@tempa{% \hbox to\the\pgf@max{\vbox to\pgfmathresult pt{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa \global\advance\pgfsys@objnum\@ne% } \def\pgfsys@vertshading#1#2#3{% @@ -153,9 +154,10 @@ >>}% \pgfsys@invoke{/Sh sh}% \special{pdf:exobj}}}\@tempa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{% - \hbox to\pgfmathresult pt{\vbox to\the\pgf@max{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}% + \xdef\pgfutil@tempa{% + \hbox to\pgfmathresult pt{\vbox to\the\pgf@max{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa \global\advance\pgfsys@objnum\@ne% } \def\pgfsys@radialshading#1#2#3{% @@ -185,9 +187,10 @@ >>}% \pgfsys@invoke{/Sh sh}% \special{pdf:exobj}}}\@tempa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{% - \hbox to\the\pgfutil@tempdima{\vbox to\the\pgfutil@tempdima{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}% + \xdef\pgfutil@tempa{% + \hbox to\the\pgfutil@tempdima{\vbox to\the\pgfutil@tempdima{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa \global\advance\pgfsys@objnum\@ne% } \def\pgfsys@functionalshading#1#2#3#4{% @@ -220,9 +223,10 @@ /Function @pgfstream\the\pgfsys@objnum>> >> >>}% \pgfsys@invoke{/Sh sh}% \special{pdf:exobj}}}\@tempa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{% - \leavevmode\hbox to\the\pgf@x{\vbox to\the\pgf@y{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}% + \xdef\pgfutil@tempa{% + \leavevmode\hbox to\the\pgf@x{\vbox to\the\pgf@y{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa \global\advance\pgfsys@objnum\@ne% } @@ -347,23 +351,23 @@ \pgf@sys@bp@correct\pgf@yc% % Now create the pattern object: \pgfsys@dvipdfmx@patternobj{% - \pgfsys@dvipdfmx@stream{@pgfpatternobject#1}{#8}{% - /Type /Pattern - /PatternType 1 - /PaintType \ifnum#9=0 2 \else 1 \fi - /TilingType 1 - /BBox [\pgf@sys@tonumber\pgf@xa\space\pgf@sys@tonumber\pgf@ya\space\pgf@sys@tonumber\pgf@xb\space\pgf@sys@tonumber\pgf@yb] - /XStep \pgf@sys@tonumber\pgf@xc\space - /YStep \pgf@sys@tonumber\pgf@yc\space - /Resources << >> %<< - }% + \pgfsys@dvipdfmx@stream{@pgfpatternobject#1}{#8}{% + /Type /Pattern + /PatternType 1 + /PaintType \ifnum#9=0 2 \else 1 \fi + /TilingType 1 + /BBox [\pgf@sys@tonumber\pgf@xa\space\pgf@sys@tonumber\pgf@ya\space\pgf@sys@tonumber\pgf@xb\space\pgf@sys@tonumber\pgf@yb] + /XStep \pgf@sys@tonumber\pgf@xc\space + /YStep \pgf@sys@tonumber\pgf@yc\space + /Resources << >> %<< + }% }% \pgfutil@addpdfresource@patterns{/pgfpat#1\space @pgfpatternobject#1}% } % hook for xdvipdfmx: \def\pgfsys@dvipdfmx@patternobj#1{% - #1% + #1% }% % hook for xdvipdfmx: @@ -493,6 +497,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.def index b349b07e2f3..4cb4d51b8b0 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.def @@ -70,8 +70,8 @@ /pgfeofill{eofill}bind def% /pgfe{a dup 0 rlineto exch 0 exch rlineto neg 0 rlineto closepath}bind def% rectangle /pgfw{setlinewidth}bind def% setlinewidth - /pgfs{save pgfpd 72 Resolution div 72 VResolution div neg scale - magscale{1 DVImag div dup scale}if + /pgfs{save pgfpd 72 Resolution div 72 VResolution div neg scale + magscale{1 DVImag div dup scale}if pgfx neg pgfy neg translate pgffoa .setopacityalpha}bind def% save /pgfr{pgfsd restore}bind def %restore userdict begin% @@ -79,7 +79,7 @@ /pgfc{newpath @endspecial pgfpd}bind def %close /pgfsd{globaldict /pgfdelta /delta where {pop delta} {0} ifelse put}bind def% save delta /pgfpd{/delta globaldict /pgfdelta get def}bind def % put delta - /.setopacityalpha where {pop} {/.setopacityalpha{pop}def} ifelse % install .setopacityalpha + /.setopacityalpha where {pop} {/.setopacityalpha{pop}def} ifelse % install .setopacityalpha /.pgfsetfillopacityalpha{/pgffoa exch def /pgffill{gsave pgffoa .setopacityalpha fill 1 .setopacityalpha newpath fill grestore newpath}bind def /pgfeofill{gsave pgffoa .setopacityalpha eofill 1 .setopacityalpha newpath eofill grestore newpath}bind def}bind def @@ -140,6 +140,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def index 3acef85b177..f817f508740 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvisvgm.def @@ -73,7 +73,7 @@ \pgf@sys@svg@sh% \pgfsys@endscope% \pgfsys@endpicture% - \hss% + \hss% }% \pgf@process{\pgf@sys@svg@pos}% \pgf@picminx=0pt% @@ -212,6 +212,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def index 24fad51a342..aa04c30f37f 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-luatex.def @@ -10,9 +10,9 @@ \ProvidesFileRCS{pgfsys-luatex.def} \ifnum\luatexversion<95 - \immediate\write-1{luatex driver of PGF: detected lua version \the\luatexversion; falling back to old pdftex driver^^J}% - \input pgfsys-pdftex.def - \expandafter\endinput + \immediate\write-1{luatex driver of PGF: detected lua version \the\luatexversion; falling back to old pdftex driver^^J}% + \input pgfsys-pdftex.def + \expandafter\endinput \fi % Driver commands for pdf @@ -36,7 +36,7 @@ \raise\pgf@pt@y\hbox{% \pgf@pt@x=0pt% \pgf@pt@y=0pt% - \pgflowlevelsynccm% + \pgflowlevelsynccm% \pgfsys@hbox#1}% \hss% }% @@ -92,8 +92,9 @@ /Coords [\pgf@doma\space0 \pgf@domb\space0] /Function \pgf@pdfparsedfunction /Extend [false false] >> >>}\pgfutil@tempboxa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\useboxresource\the\lastsavedboxresourceindex}% + \xdef\pgfutil@tempa{\leavevmode\noexpand\useboxresource\the\lastsavedboxresourceindex}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@vertshading#1#2#3{% {% @@ -108,8 +109,9 @@ /Coords [0 \pgf@doma\space0 \pgf@domb] /Function \pgf@pdfparsedfunction /Extend [false false] >> >>}\pgfutil@tempboxa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\useboxresource\the\lastsavedboxresourceindex}% + \xdef\pgfutil@tempa{\leavevmode\noexpand\useboxresource\the\lastsavedboxresourceindex}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@radialshading#1#2#3{% {% @@ -132,8 +134,9 @@ /Coords [\pgf@sys@tonumber{\pgf@xa} \pgf@sys@tonumber{\pgf@ya} \pgf@doma\space \pgf@sys@tonumber{\pgf@x} \pgf@sys@tonumber{\pgf@y} \pgf@domb] /Function \pgf@pdfparsedfunction /Extend [true false] >> >>}\pgfutil@tempboxa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\useboxresource\the\lastsavedboxresourceindex}% + \xdef\pgfutil@tempa{\leavevmode\noexpand\useboxresource\the\lastsavedboxresourceindex}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa }% \def\pgfsys@functionalshading#1#2#3#4{% {% @@ -153,7 +156,7 @@ \pgf@xc=-\pgf@xa% \pgf@yc=-\pgf@ya% % Now build the function - \pdfextension obj + \pdfextension obj stream attr { @@ -168,14 +171,15 @@ /ColorSpace /DeviceRGB /Matrix [1 0 0 1 \pgf@sys@tonumber{\pgf@xc}\space\pgf@sys@tonumber{\pgf@yc}] /Domain [\pgf@sys@tonumber{\pgf@xa}\space\pgf@sys@tonumber{\pgf@xb}\space\pgf@sys@tonumber{\pgf@ya}\space\pgf@sys@tonumber{\pgf@yb}] - /Function \pgf@temp@num\space 0 R + /Function \pgf@temp@num\space 0 R >> >>}\pgfutil@tempboxa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{% + \xdef\pgfutil@tempa{% \leavevmode% \noexpand\useboxresource\the\lastsavedboxresourceindex% \noexpand\pdfextension refobj \pgf@temp@num% }% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } @@ -185,7 +189,7 @@ \def\pgfsys@declarepattern#1#2#3#4#5#6#7#8#9{% % Start building the pattern dictionary: \pgf@xa=#2\relax% - \pgf@ya=#3\relax% + \pgf@ya=#3\relax% \pgf@xb=#4\relax% \pgf@yb=#5\relax% \pgf@xc=#6\relax% @@ -209,7 +213,7 @@ /YStep \pgf@sys@tonumber\pgf@yc\space /Resources << >> %<< } - {#8}% + {#8}% \pgfutil@addpdfresource@patterns{/pgfpat#1\space \the\numexpr\pdffeedback lastobj\relax\space 0 R}% } @@ -233,7 +237,7 @@ \def\pgfsys@declarepattern@meta#1#2#3#4#5#6#7{% % Start building the pattern dictionary: \pgf@xa=#2\relax% - \pgf@ya=#3\relax% + \pgf@ya=#3\relax% \pgf@xb=#4\relax% \pgf@yb=#5\relax% \pgf@xc=#6\relax% @@ -265,7 +269,7 @@ /Matrix [#2\space#3\space#4\space#5\space\pgf@sys@tonumber\pgfutil@tempdima\space\pgf@sys@tonumber\pgfutil@tempdimb] /Resources << >> %<< } - {#8}% + {#8}% \pgfutil@addpdfresource@patterns{/pgfpat#1\space \the\numexpr\pdffeedback lastobj\relax\space 0 R}% } @@ -350,7 +354,7 @@ /CS /DeviceGray >> }% << - \pgfutil@tempboxa% + \pgfutil@tempboxa% \pgfutil@addpdfresource@extgs{% /pgfsmask\the\lastsavedboxresourceindex\space << @@ -425,12 +429,12 @@ \pgfutil@addpdfresource@colorspaces{ /pgfprgb [/Pattern /DeviceRGB] } \def\pgfsys@color@unstacked#1{% - \pdfextension literal{\csname\string\color@#1\endcsname}% + \pdfextension literal{\csname\string\color@#1\endcsname}% } \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def index f6498264735..1e8df9b6628 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def @@ -32,7 +32,7 @@ \raise\pgf@pt@y\hbox{% \pgf@pt@x=0pt% \pgf@pt@y=0pt% - \pgflowlevelsynccm% + \pgflowlevelsynccm% \pgfsys@hbox#1}% \hss% }% @@ -89,8 +89,9 @@ /Coords [\pgf@doma\space0 \pgf@domb\space0] /Function \pgf@pdfparsedfunction /Extend [false false] >> >>}\pgfutil@tempboxa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}% + \xdef\pgfutil@tempa{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@vertshading#1#2#3{% {% @@ -105,8 +106,9 @@ /Coords [0 \pgf@doma\space0 \pgf@domb] /Function \pgf@pdfparsedfunction /Extend [false false] >> >>}\pgfutil@tempboxa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}% + \xdef\pgfutil@tempa{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } \def\pgfsys@radialshading#1#2#3{% {% @@ -129,8 +131,9 @@ /Coords [\pgf@sys@tonumber{\pgf@xa} \pgf@sys@tonumber{\pgf@ya} \pgf@doma\space \pgf@sys@tonumber{\pgf@x} \pgf@sys@tonumber{\pgf@y} \pgf@domb] /Function \pgf@pdfparsedfunction /Extend [true false] >> >>}\pgfutil@tempboxa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}% + \xdef\pgfutil@tempa{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa }% \def\pgfsys@functionalshading#1#2#3#4{% {% @@ -165,14 +168,15 @@ /ColorSpace /DeviceRGB /Matrix [1 0 0 1 \pgf@sys@tonumber{\pgf@xc}\space\pgf@sys@tonumber{\pgf@yc}] /Domain [\pgf@sys@tonumber{\pgf@xa}\space\pgf@sys@tonumber{\pgf@xb}\space\pgf@sys@tonumber{\pgf@ya}\space\pgf@sys@tonumber{\pgf@yb}] - /Function \pgf@temp@num\space 0 R + /Function \pgf@temp@num\space 0 R >> >>}\pgfutil@tempboxa% << - \expandafter\xdef\csname @pgfshading#1!\endcsname{% + \xdef\pgfutil@tempa{% \leavevmode% \noexpand\pdfrefxform\the\pdflastxform% \noexpand\pdfrefobj\pgf@temp@num% }% }% + \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa } @@ -182,7 +186,7 @@ \def\pgfsys@declarepattern#1#2#3#4#5#6#7#8#9{% % Start building the pattern dictionary: \pgf@xa=#2\relax% - \pgf@ya=#3\relax% + \pgf@ya=#3\relax% \pgf@xb=#4\relax% \pgf@yb=#5\relax% \pgf@xc=#6\relax% @@ -206,7 +210,7 @@ /YStep \pgf@sys@tonumber\pgf@yc\space /Resources << >> %<< } - {#8}% + {#8}% \pgfutil@addpdfresource@patterns{/pgfpat#1\space \the\pdflastobj\space 0 R}% } @@ -230,7 +234,7 @@ \def\pgfsys@declarepattern@meta#1#2#3#4#5#6#7{% % Start building the pattern dictionary: \pgf@xa=#2\relax% - \pgf@ya=#3\relax% + \pgf@ya=#3\relax% \pgf@xb=#4\relax% \pgf@yb=#5\relax% \pgf@xc=#6\relax% @@ -262,7 +266,7 @@ /Matrix [#2\space#3\space#4\space#5\space\pgf@sys@tonumber\pgfutil@tempdima\space\pgf@sys@tonumber\pgfutil@tempdimb] /Resources << >> %<< } - {#8}% + {#8}% \pgfutil@addpdfresource@patterns{/pgfpat#1\space \the\pdflastobj\space 0 R}% } @@ -347,7 +351,7 @@ /CS /DeviceGray >> }% << - \pgfutil@tempboxa% + \pgfutil@tempboxa% \pgfutil@addpdfresource@extgs{% /pgfsmask\the\pdflastxform\space << @@ -422,12 +426,12 @@ \pgfutil@addpdfresource@colorspaces{ /pgfprgb [/Pattern /DeviceRGB] } \def\pgfsys@color@unstacked#1{% - \pdfliteral{\csname\string\color@#1\endcsname}% + \pdfliteral{\csname\string\color@#1\endcsname}% } \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def index 751ab7e6fa7..97fdf109746 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-tex4ht.def @@ -72,7 +72,7 @@ % \Configure{SUB}{\HCode{<tspan baseline-shift="sub">}}{\HCode{</tspan>}} % \Configure{SUP}{\HCode{<tspan baseline-shift="sub">}}{\HCode{</tspan>}} % \Configure{SUBSUP}{}{}{} -% \Configure{htf} +% \Configure{htf} % {0}{+}{<tspan font-family="} % {\%s}{" font-size="\%s}{}{} % {">}{</tspan>} @@ -90,12 +90,12 @@ % we don't want tex4ht putting <p> and </p> tags automatically in our svg code and causing invalid xhtml in our svg pictures \newif\ifpgfsys@CssIncluded@\pgfsys@CssIncluded@false -\def\pgfsys@beginpicture{% +\def\pgfsys@beginpicture{% \pgfsys@svg@boxmodefalse% \EndP\HtmlParOff% \pgfkeys{/pgf/tex4ht node/escape=false}% % text only nodes are the default. Advantage : pure svg pictures are - % the default, nicer for text only nodes. + % the default, nicer for text only nodes. % Disadvantages : this rendering methods produce more invalid or degraded svg pictures than with the foreignelement tag %% we use css to control the display of foreignelement rendered text nodes \ifpgfsys@CssIncluded@ @@ -105,14 +105,14 @@ line-height:100\%; font-size:120\%; % this is the trick....a font of size 100% in % a box scaled down to half size makes it a - % half size font. + % half size font. % you'll have to double the size of things % that you want to have a regular size in - % this half-scaled box though + % this half-scaled box though font-family:STIXgeneral,Times,Symbol,cmr10,CMSY10,CMEX10;% % can't wait for the stix font...the cmr10, etc font are % available from the mozilla site, times and symbols should be - % okey + % okey padding:0; margin:0; % background-color:\#12ff55; usefull for debugging positioning @@ -155,8 +155,8 @@ \ifdim\pgf@y<1pt% \pgf@y=1pt% \fi% - \pgf@xc=\pgf@x% - \pgf@yc=\pgf@y% + \pgf@xc=\pgf@x% + \pgf@yc=\pgf@y% \pgfsysprotocol@flushcurrentprotocol% \HCode{<object data="\jobname-\the\pgf@sys@svg@picnum.svg" width="}% % Calculate pixel coordinates (this does not really make sense, but @@ -178,7 +178,7 @@ /pgf/tex4ht node/css/.get=\pgfsys@foreignobject@css }% \pgfsys@invoke{<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>\Hnewline% added that - <?xml-stylesheet href="\pgfsys@foreignobject@css.css" type="text/css"?>\Hnewline}% added that + <?xml-stylesheet href="\pgfsys@foreignobject@css.css" type="text/css"?>\Hnewline}% added that %%%%%%%%%%%%%%% maybee I should add an option to change the css, for the whole picture \pgfsys@invoke{<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="\the\pgf@xc" @@ -247,17 +247,17 @@ {% grouping necessary cause we change the catcode of ":" \catcode`:=11\relax %%% this is necessary to calculate the size of text nodes with - %%% inline maths + %%% inline maths % (it is an improvement of tex4ht, got to ask eitan gurary if he - % could put it in the tex4ht code) + % could put it in the tex4ht code) \gdef\DviMathAlt{% \a:DviMath\leavevmode \MathClass \ht:special{t4ht@(}\hbox\bgroup{\expandafter\ifx\csname ht:everypar\endcsname\relax\expandafter\everypar\else - \expandafter\ht:everypar\fi{}\leavevmode\ht:special{t4ht@)}}\DviSend + \expandafter\ht:everypar\fi{}\leavevmode\ht:special{t4ht@)}}\DviSend }% % these are configures for the foreignelement rendering method of text nodes : we let tex4ht write xhtml and mathml in the svg picture - % + % \gdef\pgfsys@foreignobject@configure{% \Configure{$}{\Configure{@math}{%\a:mathml display="inline" }\DviMathAlt}{\EndDviMath}{}%%% we REALLY need to use \DviMathAlt here instead of \DviMath see above remark @@ -278,15 +278,15 @@ \global\let\pgfsys@foreignobject@par=\par % use this instead of \par % -- \Configure is no \long macro (at % least in one of the older - % versions). - + % versions). + % these are the configures for the mtext rendering method of text % nodes : we turn everything into regular character (don't want math - % modes or subsup) - % and we hope it works (it doesn't if the text nodes aren't simple) + % modes or subsup) + % and we hope it works (it doesn't if the text nodes aren't simple) \gdef\pgfsys@mtext@configure{% % no configures for \(\) and \[\] those might be needed for - % context or Latex. Let me know ! + % context or Latex. Let me know ! \Configure{$$}{}{}{}% no block maths \Configure{$}{}{}{}%$ no inline maths \Configure{SUB}{\HCode{<tspan baseline-shift="sub">}}{\HCode{</tspan>}}% @@ -302,21 +302,21 @@ % pgfutil@minipage % -% I had to change it to make it play nice with the way tex4ht puts <p> and <\p> tags +% I had to change it to make it play nice with the way tex4ht puts <p> and <\p> tags % \newif\ifpgfsys@textonly \def\pgfutil@minipage[#1]#2{% \hbox to#2\bgroup \hsize=#2\relax - \vbox\bgroup -% though it works, I'm desabling the above mentioned hack to make tex4ht behave with <p> <\p>, because it blurps the positioning + \vbox\bgroup +% though it works, I'm desabling the above-mentioned hack to make tex4ht behave with <p> <\p>, because it blurps the positioning % (I''l try to fix that later, it's a css thing) % % \ifpgfsys@textonly\else\HtmlParOn\fi % % \noindent is better as it doesn't produce indentation AND it makes you leave vertical mode - \noindent%\leavevmode + \noindent%\leavevmode }% \def\pgfutil@endminipage{% % same thing here @@ -330,14 +330,14 @@ \newbox\pgfsys@foreignobject@Box \newdimen\pgf@s \newdimen\pgf@t -% this is the alternate hbox routine that renders text nodes through the foreignobject tag +% this is the alternate hbox routine that renders text nodes through the foreignobject tag \def\pgfsys@foreignobject@hbox#1{% % Compute box y translation (x translation is correct). \pgf@y=-\ht#1\relax \HCode{<g transform="scale(1,-1) translate(0,\pgf@sys@tonumber{\pgf@y}) % got to translate in y scale(0.5,0.5)">\Hnewline}% scaling work around (damn dumb browsers !) % Compute box size (scaled 2 times) - % this is necessary to make the browser scale the font down 50% (the STUPID browsers won't make font-size:50% happen, + % this is necessary to make the browser scale the font down 50% (the STUPID browsers won't make font-size:50% happen, % so we have to work around this by making svg scale the things down 50%, doubling the size of the text node frame (i.e. no changement there) \pgf@x=2\wd#1\relax \pgf@y=2\ht#1\relax @@ -355,9 +355,9 @@ \pgf@t=0pt \else \advance \pgf@y by -2\pgf@s\relax - \pgf@t=2\pgf@t\relax + \pgf@t=2\pgf@t\relax \fi - % + % \HCode{<foreignObject x="0" y="\pgf@sys@tonumber{\pgf@t}" width="\pgf@sys@tonumber{\pgf@x}" height="\pgf@sys@tonumber{\pgf@y}">}% % this is to make use of the css, class and id options through which you can control the way things display @@ -372,8 +372,8 @@ % I'll have to look into this, perhaps there are better % doctype.... aren't recognised and produces invalid svg % pictures a workaround (not implemented yet) would be to make - % them into entities of the svg picture. - <body id="\pgfsys@foreignobject@id" class="\pgfsys@foreignobject@class" xmlns="http://www.w3.org/1999/xhtml" >\Hnewline + % them into entities of the svg picture. + <body id="\pgfsys@foreignobject@id" class="\pgfsys@foreignobject@class" xmlns="http://www.w3.org/1999/xhtml" >\Hnewline <div>\Hnewline }% \box#1% @@ -383,10 +383,10 @@ </foreignObject>\Hnewline }% % debug positioning not needed but it would be nice to let it there to control things later on - % \HCode{<rect x="0" y="0" width="\pgf@sys@tonumber{\pgf@x}" height="\pgf@sys@tonumber{\pgf@y}" + % \HCode{<rect x="0" y="0" width="\pgf@sys@tonumber{\pgf@x}" height="\pgf@sys@tonumber{\pgf@y}" % style="fill:yellow;stroke:red; fill-opacity:0.5;stroke-opacity:0.5"/>} \HCode{</g>\Hnewline}% - \global\advance\pgf@sys@svg@nodenum by 1\relax + \global\advance\pgf@sys@svg@nodenum by 1\relax }% % the options and the code that controls it all (switches between \pgfsys@mtext@hbox and \pgfsys@foreignelement@hbox) @@ -406,7 +406,7 @@ -% this might be needed +% this might be needed %\font\SvgText=cmr10\relax @@ -431,7 +431,7 @@ \pgf@sys@svg@sh% \pgfsys@endscope% \pgfsys@endpicture% - \hss% + \hss% }% \pgf@process{\pgf@sys@svg@pos}% \pgf@picminx=0pt% @@ -480,6 +480,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-textures.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-textures.def index 033d949baac..1a01a6f8f11 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-textures.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-textures.def @@ -69,9 +69,9 @@ end pop pop}def/eps{}def userdict begin}bind def /pgfbeginpicture{/pgfx pgfgx def /pgfy pgfgy def pgfx pgfy translate 1 1 72.27 72 div mul2 neg scale}bind def /pgfbeginhbox{1 1 72 72.27 div mul2 neg scale - pgfx neg pgfy neg translate + pgfx neg pgfy neg translate pgffoa .setopacityalpha}bind def% save - /.setopacityalpha where {pop} {/.setopacityalpha{pop}def} ifelse % install .setopacityalpha + /.setopacityalpha where {pop} {/.setopacityalpha{pop}def} ifelse % install .setopacityalpha /.pgfsetfillopacityalpha{/pgffoa exch def /pgffill{gsave pgffoa .setopacityalpha fill 1 .setopacityalpha newpath fill grestore newpath}bind def @@ -86,6 +86,6 @@ \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-vtex.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-vtex.def index e5e9b1d5df9..cce6e4a3444 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-vtex.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-vtex.def @@ -31,10 +31,10 @@ % Starting and ending a picture: -\def\pgfsys@beginpicture{\special{pS: - save - /pgfx currentpoint /pgfy exch def def - currentpoint translate +\def\pgfsys@beginpicture{\special{pS: + save + /pgfx currentpoint /pgfy exch def def + currentpoint translate gsave}% \let\set@color=\pgf@sys@vtex@set@color% \let\reset@color=\pgf@sys@vtex@reset@color% @@ -58,7 +58,7 @@ \def\pgfsys@endpicture{\special{pS: newpath grestore - newpath + newpath restore}} % Graphics: @@ -94,13 +94,13 @@ % vtex commands for changing the paper size \def\pgfsys@papersize#1#2{\mediawidth#1\mediaheight#2} - - + + \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.def index a4a49c1faab..5147214ef9b 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.def +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.def @@ -12,20 +12,20 @@ \input pgfsys-dvipdfmx.def \def\pgfsys@dvipdfmx@patternobj#1{% - % I have NO idea why this is necessary for xdvipdfmx - but without - % it, it crashes. - \pgfutil@insertatbegincurrentpagefrombox{#1}% + % I have NO idea why this is necessary for xdvipdfmx - but without + % it, it crashes. + \pgfutil@insertatbegincurrentpagefrombox{#1}% }% % XeTeX supports pdftex commands for paper size \def\pgfsys@papersize#1#2{% \pdfpageheight#2\relax% \pdfpagewidth#1\relax} - + \def\pgfsys@global@papersize#1#2{% \global\pdfpageheight#2\relax% \global\pdfpagewidth#1\relax} - + % Xetex does not support interpolate and not mask \def\pgfsys@defineimage{% width, height, page number @@ -43,7 +43,7 @@ \edef\pgf@image{\noexpand\includegraphics[\pgf@imageheight\pgf@imagewidth\pgf@imagepage]{\pgf@filename}}% \fi% } - + % XeTeX supports position tracking, now \def\pgfsys@markposition#1{% \pdfsavepos% 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 393a7860608..f25b11e5fec 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex @@ -24,7 +24,7 @@ % % The following conversion functions are used to convert from TeX % dimensions to postscript/pdf points. -% +% {\catcode`\p=12\catcode`\t=12\gdef\Pgf@geT#1pt{#1}} \def\pgf@sys@tonumber#1{\expandafter\Pgf@geT\the#1} @@ -64,7 +64,7 @@ \newread\r@pgf@reada \let\pgfutil@inputcheck=\r@pgf@reada -% internal counters that are alwyas present when pgfsys is loaded +% internal counters that are always present when pgfsys is loaded \newcount\c@pgf@counta \newcount\c@pgf@countb \newcount\c@pgf@countc @@ -103,7 +103,7 @@ % In some cases, some pgf system commands are just shorthands for a % series of more complicated commands. In this case, a default % implementation is given in this file, but a driver may choose to -% overwrite this default implementation with a more effecient +% overwrite this default implementation with a more efficient % version. For example, a closestroke is the same as a closepath % followed by a stroking, but in pdf there is a special shorthand for % this. So, the pdf driver overwrites \pgfsys@closestroke, while the @@ -132,8 +132,8 @@ % \pgfsys@xxxx commands will not directly call this command, but, % rather, use the protocolling mechanism to record their literal % text. It is then left to the discretion of the protocolling -% mechansim to insert the literal text at some appropriate, later -% time. +% mechanism to insert the literal text at some appropriate, later +% time. % % This command should only be called when \pgfsys@beginpicture has % been called previously and when the picture has not been suspended @@ -142,7 +142,7 @@ \def\pgfsys@outerinvoke{\pgfsys@invoke} % This command can be used to insert protocolled graphic commands % outside any picture. This is extremely dangerous, but sometimes -% useful. By default, this command does the same as inside pictures. +% useful. By default, this command does the same as inside pictures. @@ -156,7 +156,7 @@ % This command is used to start a path at a specific point (#1,#2) % or to move the current point of the current path to (#1,#2) % without drawing anything upon stroking (the current path is -% `interrupted'). +% `interrupted'). % % The arguments must be dimensions (like |10pt|). % @@ -172,7 +172,7 @@ % Continue the current path to (#1,#2) with a line. \def\pgfsys@curveto#1#2#3#4#5#6{\pgf@sys@fail{path constructions}} -% Continue the current path with a bezier curver to (#5,#6). The +% Continue the current path with a bezier curve to (#5,#6). The % control points of the curve are at (#1,#2) and (#3,#4). \def\pgfsys@rect#1#2#3#4{\pgf@sys@fail{path constructions}} @@ -188,7 +188,7 @@ % operation. Typically, this is preferable over using lineto to the % last point specified by a moveto, since the line starting at this % point and the line ending at this point will be smoothly joined by -% closepath. +% closepath. % % Example: % @@ -205,7 +205,7 @@ % \pgfsys@lineto{0}{10} % \pgfsys@lineto{0}{0} % \pgfsys@stroke -% +% % The difference between the above will be that in the second triangle % the corner at the origin will be wrong; it will just be the overlay % of two lines going in different directions, not a sharp pointed @@ -273,13 +273,13 @@ % consisting of multiple parts, the nonzero winding number rule is % used to determine whether a point is inside or outside the % path, except if \ifpgfsys@eorule holds -- in which case the even-odd -% rule should be used. (See the pdf or postscript manual for details.) +% rule should be used. (See the pdf or postscript manual for details.) % % The following graphic state parameters influence the filling: % % - fill color % If the fill color is not especially set, the current color is -% used. +% used. % % - clipping area % If a clipping area is established, only those parts of the filling @@ -314,7 +314,7 @@ % Normally, this command should `throw away' the current path. % However, after \pgfsys@clipnext has been called, the current path % should subsequently be used for clipping. See \pgfsys@clipnext for -% details. +% details. \def\pgfsys@closestroke{\pgfsys@closepath\pgfsys@stroke} % This command should have the same effect as first closing the path @@ -335,7 +335,7 @@ % \def\pgfsys@setlinewidth#1{\pgf@sys@fail{setting the line width}} % Sets the width of lines, when stroked, to #1, which must be a TeX -% dimension (as text). +% dimension (as text). \def\pgfsys@buttcap{\pgf@sys@fail{setting the line cap}} % Sets the cap to a butt cap. See \pgfsys@stroke. @@ -388,7 +388,7 @@ \def\pgfsys@color@rgb@stroke#1#2#3{\pgf@sys@fail{color}} % Sets the color used for stroking operations to the given rgb tuple -% (numbers between 0 and 1). +% (numbers between 0 and 1). % % Example: Make stroked text dark red: \pgfsys@color@rgb@stroke{0.5}{0}{0} % @@ -408,33 +408,33 @@ \def\pgfsys@color@cmyk@stroke#1#2#3#4{\pgf@sys@fail{color}} % Sets the color used for stroking operations to the given cymk tuple -% (numbers between 0 and 1). +% (numbers between 0 and 1). \def\pgfsys@color@cmyk@fill#1#2#3#4{\pgf@sys@fail{color}} % Sets the color used for filling operations to the given cymk tuple -% (numbers between 0 and 1). +% (numbers between 0 and 1). \def\pgfsys@color@cmyk#1#2#3#4{\pgfsys@color@cmyk@stroke{#1}{#2}{#3}{#4}\pgfsys@color@cmyk@fill{#1}{#2}{#3}{#4}} % Sets the color used for filling and stroking operations. \def\pgfsys@color@cmy@stroke#1#2#3{\pgf@sys@fail{color}} % Sets the color used for stroking operations to the given cym tuple -% (numbers between 0 and 1). +% (numbers between 0 and 1). \def\pgfsys@color@cmy@fill#1#2#3{\pgf@sys@fail{color}} % Sets the color used for filling operations to the given cym tuple -% (numbers between 0 and 1). +% (numbers between 0 and 1). \def\pgfsys@color@cmy#1#2#3{\pgfsys@color@cmy@stroke{#1}{#2}{#3}\pgfsys@color@cmy@fill{#1}{#2}{#3}} % Sets the color used for filling and stroking operations. \def\pgfsys@color@gray@stroke#1{\pgf@sys@fail{color}} -% Sets the color used for stroking operations to the given gray level -% (number between 0 and 1). +% Sets the color used for stroking operations to the given gray level +% (number between 0 and 1). \def\pgfsys@color@gray@fill#1{\pgf@sys@fail{color}} -% Sets the color used for filling operations to the given gray level -% (number between 0 and 1). +% Sets the color used for filling operations to the given gray level +% (number between 0 and 1). \def\pgfsys@color@gray#1{\pgfsys@color@gray@stroke{#1}\pgfsys@color@gray@fill{#1}} % Sets the color used for filling and stroking operations. @@ -460,7 +460,7 @@ \def\pgfsys@color@unstacked#1{} % This slightly obscure command causes the color stack to be % tricked. When called, this command should set the current color to -% #1 without causing any change in the color stack. +% #1 without causing any change in the color stack. \def\pgfsys@text@to@black@hook{} % Another slightly obscure command that allows tikz to hack into @@ -479,7 +479,7 @@ % Perform a concatenation of the low-level current transformation % matrix with the matrix given by the values #1 to #6. The % transformation matrix is a transformation on a homogeneous -% 2D-coordinate system. See the pdf or postscript manual for details. +% 2D-coordinate system. See the pdf or postscript manual for details. \def\pgfsys@transformshift#1#2{\pgfsys@transformcm{1}{0}{0}{1}{#1}{#2}} % This command will change the origin of the low-level coordinate @@ -530,7 +530,7 @@ \ifdim\aspectr pt#9\aspects pt% \pgfmathdivide@\pgf@xa\pgf@xc% \else% - \pgfmathdivide@\pgf@ya\pgf@yc% + \pgfmathdivide@\pgf@ya\pgf@yc% \fi% \advance\pgf@x by.5\pgf@xa% \advance\pgf@xb by.5\pgf@xc% @@ -560,7 +560,7 @@ % whether the current path is part of the graphic state or not. For % this reason, you should never use this command unless the path is % currently empty. For example, it might be a good idea to use -% discardpath prior to calling this command. +% discardpath prior to calling this command. \def\pgfsys@endscope{\pgf@sys@fail{scoping}} % Restores the last saved graphic state. @@ -667,7 +667,7 @@ \pgfsys@register@type\pgfsys@current@type% } \let\pgfsys@current@type\pgfutil@empty -% Sets the type to be used for the next graphic object. +% Sets the type to be used for the next graphic object. \def\pgfsys@append@type#1{% \ifx\pgfsys@current@type\pgfutil@empty% @@ -760,7 +760,7 @@ \fi% } % Checks whether a given id-type pair #1-#2 has not been used, yet. If -% so, #3 is executed, otherwise #4. +% so, #3 is executed, otherwise #4. \def\pgfsys@if@fresh@currentid#1#2{% \ifx\pgf@sys@id@current@id\pgfutil@empty% empty id always counts as "has been used" @@ -822,7 +822,7 @@ % are part of a transparency group, the overlap will get the same % color as the rest. % -% The following settings modify the bevahiour of a transparency group: +% The following settings modify the behaviour of a transparency group: \newif\ifpgfsys@transparency@group@isolated \newif\ifpgfsys@transparency@group@knockout @@ -853,7 +853,7 @@ \def\pgfsys@fadingfrombox#1#2{\pgf@sys@fail{fadings}} % Declares an fading named #1. The parameter #2 must be a % box. Its contents luminosity determines the opacity of the resulting -% mask. +% mask. \def\pgfsys@usefading#1#2#3#4#5#6#7{\pgf@sys@fail{fadings}} % Installs a previously declared fading #1 in the current graphics @@ -878,7 +878,7 @@ % macro name. #2 is the height of the shading and must be given as a % TeX dimension like `2cm' or `10pt'. #3 is a shading color % specification as specified in the pgfuserguide. The shading -% specification implicitly fixes the width of the shading. +% specification implicitly fixes the width of the shading. % % When `@pgfshading#1!' is invoked, it should insert a box of height % #2 and the width implicit in the shading declaration. @@ -890,7 +890,7 @@ \def\pgfsys@radialshading#1#2#3{\pgf@sys@fail{shadings}\pgf@sys@noshading{#1}} % Declares a radial shading. Like the previous macros, this command % should setup the macro `@pgfshading#1!', which upon invocation -% should insert a radial shading whose size is implicit in #3. +% should insert a radial shading whose size is implicit in #3. % % The parameter #2 is a pgf point specification if the starting point % of the shading. See the pgfuserguide for details. @@ -915,7 +915,7 @@ % green, and blue components of the color. % % A buggy #4 will result is *totally unpredictable chaos* during -% rendering. +% rendering. \def\pgf@sys@noshading#1{\expandafter\global\expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@empty} @@ -933,7 +933,7 @@ % patterns have no inherent color, the color is provided when they are % set. Colored patters have an inherent color. % #1 = name of the pattern (must be a plain suffix for use in -% postscript/pdf/etc.) +% postscript/pdf/etc.) % #2 to #5 = four coordinates describing the corners of a bounding box % of pattern cells % #6 = x-step @@ -956,7 +956,7 @@ % % Animations % -% +% \newif\ifpgfsysanimationsupported @@ -965,19 +965,19 @@ \def\pgfsys@animate#1{\pgf@sys@fail{animations}} -% Adds an animation of the attribute #1 to the current scope. +% Adds an animation of the attribute #1 to the current scope. % The configuration of the animation (like start times, etc.) is taken % from the current values of the animation keys, which are configured % using calls to \pgfsys@animation@..., which setup an animation % key for the local scope. This means that you typically setup these % keys in a scope and at the end of the scope call \pgfsys@animate. -% +% % Some keys accumulate (like begin or keytime), most do not. In those -% cases, the last call overrides the previous one. -% +% cases, the last call overrides the previous one. +% % Not all value types make sense or are allowed, it depends on the -% specific \pgfsys@animate call. -% +% specific \pgfsys@animate call. +% % Example: % % { @@ -993,11 +993,11 @@ % % When a driver does not support a specific attribute #1, it should % issue a \pgf@sys@fail. Typical attributes are things like "opacity" -% or "linewidth" or "dash". +% or "linewidth" or "dash". % % The following values are permissible for "#1": % -% "opacity" adds an animation of the opacity. +% "opacity" adds an animation of the opacity. % Type: scalar % % "fillopacity" adds an animation of the fill opacity. @@ -1006,7 +1006,7 @@ % "strokeopacity" adds an animation of the stroke opacity. % Type: scalar % -% "visibility" adds an animation of the visiblity. +% "visibility" adds an animation of the visibility. % Type: text ("visible" or "hidden") % % "linewidth" adds an animation of the line width. @@ -1043,35 +1043,35 @@ % Type: view box % % "path" adds an animation of the path to the path specified by -% \pgfsys@animation@whom +% \pgfsys@animation@whom % Type: path % % "syncbase" adds a sync base to the animation. A sync base does not animate % anything by itself, but other animations can begin and end relative % to it. % -% "none" supresses the animation +% "none" suppresses the animation % Type: any -% Animation timing : +% Animation timing : % % You specify an animation using a timeline. A timeline consists of a % sequence of times together with values for these times. The times % must be given in increasing order. You use the command % \pgfsys@animation@time to specify a time and % \pgfsys@animation@val@... to specify a value. The time must be -% specfied first, the time--value is created when the value command is -% used. +% specified first, the time--value is created when the value command is +% used. % -% Times are given in seconds (so 0.01 is one hundreth of a second). +% Times are given in seconds (so 0.01 is one hundredth of a second). % % The animation's timeline will start with the first time mentioned % (not necessarily zero and not necessarily a positive value) and ends % with the last value. The duration is the difference between these -% two values. +% two values. \def\pgfsys@animation@restart@always{} % Specifies that the animation can always restart @@ -1083,7 +1083,7 @@ % Specifies that the animation should only restart when it is not active \def\pgfsys@animation@repeat#1{} -% #1 must be a number +% #1 must be a number \def\pgfsys@animation@repeat@indefinite{} % Repeats forever @@ -1096,7 +1096,7 @@ % the end \def\pgfsys@animation@removeatend{} -% Specifies that the effect of the animation is removed at the end +% Specifies that the effect of the animation is removed at the end \def\pgfsys@animation@time#1#2#3#4#5{} % Specifies a time together with spline control points for the entry @@ -1106,7 +1106,7 @@ % while the values #4 and #5 specify the control point of the spline % *leaving* the time point. They are all dimensionless values between % 0 and 1. For a linear animation, set the first two to 1 and the last -% two to 0. +% two to 0. % % Example: % \pgfsys@animation@time{5}{1}{1}{0.25}{0.1} @@ -1124,7 +1124,7 @@ % For the key spline, note that the entry spline controls of the first % time and the exit spline controls of the last point are dropped. % -% +% % When the exit spline takes the special values #4="stay" and #5="0", % the attribute's value "stays" until the next value for the next time % (it "jumps" to the next value then). This corresponds, roughly, to @@ -1132,7 +1132,7 @@ % % Similarly, when the entry spline takes the special value #2="jump" % and #3="1", the value immediately jumps from the previous value to -% the next value when the previous value was "created". +% the next value when the previous value was "created". \def\pgfsys@stay@text{{stay}{0}} \def\pgfsys@jump@text{{jump}{1}} @@ -1160,7 +1160,7 @@ \def\pgfsys@animation@syncbegin#1#2#3#4{} % #1 is the id of a sync base (obtained by % \pgfsys@new@id), #2 is the id type (or empty), #3 is an optional -% offset, #4 is the target. +% offset, #4 is the target. \def\pgfsys@animation@syncend#1#2#3#4{} % Like the previous command. @@ -1168,14 +1168,14 @@ \def\pgfsys@animation@event#1#2#3#4#5{} % #1 is the optional id of another element (obtained by % \pgfsys@new@id), #2 is the optional type of the id, #3 is an event -% name, #4 is an optional offset, #5 is the target. +% name, #4 is an optional offset, #5 is the target. \def\pgfsys@animation@repeat@event#1#2#3#4#5{} % #1 is the optional id of another element, #2 is the type, #3 is a -% repeat count, and #4 is an optional offset, #5 is the target. +% repeat count, and #4 is an optional offset, #5 is the target. \def\pgfsys@animation@accesskey#1#2#3{} -% #1 is a character, #2 is an optional offset, #3 is the target. +% #1 is a character, #2 is an optional offset, #3 is the target. \def\pgf@sys@begin@text{begin} @@ -1202,14 +1202,14 @@ \def\pgfsys@animation@rotatealong{} % Applicable only to motion animations. Indicates that the % to-be-animated group should be rotated automatically so that it -% points along the path as time progresses. +% points along the path as time progresses. \def\pgfsys@animation@norotatealong{} % Corresponds to rotate="0" \def\pgfsys@animation@movealong#1{} % Applicable only to motion animations. #1 is a softpath along which -% the movement will be done. +% the movement will be done. \def\pgfsys@animation@tip@markers#1#2{} % Applicable only to path animations. #1 and #2 are markers (declared @@ -1219,14 +1219,14 @@ \def\pgfsys@animation@canvas@transform#1#2{} % #1 is some code that may call \pgfsys@transformcm at most once. It -% will be executed when a canvas transformation animation is +% will be executed when a canvas transformation animation is % installed for a scope id. #2 is some further codes that may also % call \pgfsys@transformcm at most once. It will be installed right % after the animation. % % Typically, #1 is some pgf coordinate shift followed by % {\pgflowlevelsynccm} and #2 is \pgftransforminvert followed by -% \pgflowlevelsynccm. +% \pgflowlevelsynccm. @@ -1244,7 +1244,7 @@ % #1 should be a single value. \def\pgfsys@animation@val@dimension#1{} -% #1 must be a dimension. +% #1 must be a dimension. \def\pgfsys@animation@val@color@rgb#1#2#3{} % #1,#2,#3 must be an rgb tuple @@ -1270,7 +1270,7 @@ \def\pgfsys@animation@val@viewbox#1#2#3#4{} % #1,#2 describe the lower left, #3,#4 the upper right corner of the -% view box. +% view box. \def\pgfsys@animation@val@dash#1#2{} % #1,#2 have the syntax of \pgfsys@setdash. @@ -1294,22 +1294,22 @@ \pgfsys@endscope% \xdef#1{\the\pgf@sys@id@count}% \expandafter\expandafter\expandafter\global\expandafter\pgfsysprotocol@getcurrentprotocol\csname pgf@sys@marker@prot@#1\endcsname% - \pgfsys@marker@declare@% curtesy hook + \pgfsys@marker@declare@% curtesy hook \pgfsysprotocol@setcurrentprotocol\pgfsys@marker@temp% \global\advance\pgf@sys@id@count by1\relax% }% } \let\pgfsys@marker@declare@\relax % Declares a new marker symbol whose code is in #2. #1 should be a -% macro name, which will be set to a unique +% macro name, which will be set to a unique % value by which the marker can be referenced later on. #2 should be -% code that, when executed, produces recordable code. +% code that, when executed, produces recordable code. \def\pgfsys@marker@use#1{% \pgfsysprotocol@literal{\csname pgf@sys@marker@prot@#1\endcsname}% } % Draws the marker symbol not at the end of a path, but simply with -% the current transformation matrix +% the current transformation matrix @@ -1325,24 +1325,24 @@ \def\pgfsys@rdf@about#1{\pgf@sys@fail{rdf}} % Adds the rdf attribute "about" with value #1 to the next % idscope. The RDF-spec says: "a SafeCURIEorCURIEorIRI, used for -% stating what the data is about (a 'subject' in RDF terminology);" +% stating what the data is about (a 'subject' in RDF terminology);" \def\pgfsys@rdf@content#1{\pgf@sys@fail{rdf}} % Adds the rdf attribute content with value #1 to the next % idscope. The RDF-spec says: "a CDATA string, for supplying % machine-readable content for a literal (a 'literal object', in RDF -% terminology);" +% terminology);" \def\pgfsys@rdf@datatype#1{\pgf@sys@fail{rdf}} % Adds the rdf attribute datatype with value #1 to the next % idscope. The RDF-spec says: "a TERMorCURIEorAbsIRI representing a -% datatype, to express the datatype of a literal;" +% datatype, to express the datatype of a literal;" \def\pgfsys@rdf@href#1{\pgf@sys@fail{rdf}} % Adds the rdf attribute href with value #1 to the next idscope % The RDF-spec says: "a traditionally navigable IRI for % expressing the partner resource of a relationship (a 'resource -% object', in RDF terminology);" +% object', in RDF terminology);" \def\pgfsys@rdf@inlist{\pgf@sys@fail{rdf}} % Adds the rdf attribute inlist to the next idscope. The @@ -1350,34 +1350,34 @@ % associated with a rel or property attribute on the same element is % to be added to the list for that predicate. The value of this % attribute must be ignored. Presence of this attribute causes a list -% to be created if it does not already exist." +% to be created if it does not already exist." \def\pgfsys@rdf@prefix#1{\pgf@sys@fail{rdf}} % Adds #1 to the list of the rdf prefix attribute to the next % idscope. Can be called several times, in which case all values of #1 % are concatenated with whitespaces. The RDF-spec says: "a white space % separated list of prefix-name IRI pairs of the form NCName ':' ' '+ -% xsd:anyURI" +% xsd:anyURI" \def\pgfsys@rdf@property#1{\pgf@sys@fail{rdf}} % Adds #1 to the list of the rdf property attribute to the next % idscope. Can be called repeatedly. The RDF-spec says: "a white space % separated list of TERMorCURIEorAbsIRIs, used for expressing % relationships between a subject and either a resource object if -% given or some literal text (also a 'predicate');" +% given or some literal text (also a 'predicate');" \def\pgfsys@rdf@rel#1{\pgf@sys@fail{rdf}} % Adds #1 to the list of the rdf rel attribute to the next % next idscope. Can be called repeatedly. The % RDF-spec says: "a white space separated list of % TERMorCURIEorAbsIRIs, used for expressing relationships between two -% resources ('predicates' in RDF terminology);" +% resources ('predicates' in RDF terminology);" \def\pgfsys@rdf@resource#1{\pgf@sys@fail{rdf}} % Adds the rdf attribute resource with value #1 to the next idscope. The % RDF-spec says: "a SafeCURIEorCURIEorIRI for expressing the partner % resource of a relationship that is not intended to be navigable -% (e.g., a 'clickable' link) (also an 'object');" +% (e.g., a 'clickable' link) (also an 'object');" \def\pgfsys@rdf@rev#1{\pgf@sys@fail{rdf}} % Adds #1 to the list of the rdf rev attribute to the next @@ -1390,19 +1390,19 @@ % Adds an rdf attribute src with value #1 to the next idscope. The % RDF-spec says: "an IRI for expressing the partner resource of a % relationship when the resource is embedded (also a 'resource -% object');" +% object');" \def\pgfsys@rdf@typeof#1{\pgf@sys@fail{rdf}} % Adds #1 to the list of the rdf typeof attribute to the next % idscope. Can be called repeatedly. The % RDF-spec says: "a white space separated list of TERMorCURIEorAbsIRIs -% that indicate the RDF type(s) to associate with a subject;" +% that indicate the RDF type(s) to associate with a subject;" \def\pgfsys@rdf@vocab#1{\pgf@sys@fail{rdf}} % Adds an rdf attribute vocab with value #1 to the next idscope. The % RDF-spec says: "an IRI that defines the mapping to use when a TERM % is referenced in an attribute value. See General Use of Terms in -% Attributes and the section on Vocabulary Expansion." +% Attributes and the section on Vocabulary Expansion." @@ -1420,13 +1420,13 @@ % shipped-out document and will ignore all other uses. In contrast, % pdftex will use the current value of the papersize for each page % and, additionally, setting the papersize is local to the current TeX -% group. +% group. % #1 = width % #2 = height \def\pgfsys@global@papersize#1#2{\pgfsys@papersize{#1}{#2}} % This command does the same as the papersize command, only for -% drivers that support this, \global is used to set the papersize. +% drivers that support this, \global is used to set the papersize. % #1 = width % #2 = height @@ -1472,10 +1472,10 @@ % to the position "pgfpageorigin" to make sure that the origin is at % the lower left corner. Typically, getting this position % requires two runs of TeX. On the first run, the macro will be set to -% \relax, indicating that the position is not available. +% \relax, indicating that the position is not available. % % If #1 is set to the special position "pgfpageorigin", the position -% of the the lower left page corner is returned. +% of the the lower left page corner is returned. \def\pgfsys@getposition#1#2{\let#2=\relax} @@ -1485,7 +1485,7 @@ % % Commands having a default implementation. These commands only need % not be implemented by drivers if this results in a better -% preformance. +% performance. % % @@ -1523,20 +1523,20 @@ \pgfsys@endscope% \pgfsys@end@idscope% } -% Called to insert a TeX hbox into a pgfpicture. +% Called to insert a TeX hbox into a pgfpicture. \def\pgfsys@hboxsynced#1{% \pgfsys@beginscope\pgflowlevelsynccm\pgfsys@hbox#1\pgfsys@endscope% }% % Called to insert box #1 into a pgfpicture, but with the current % coordinate transformation matrix synced with the canvas -% transformation matrix and surrounded by a scope. +% transformation matrix and surrounded by a scope. % % In essence, this command does the same as if you first said % \pgflowlevelsynccm and then \pgfsys@hbox#1. However, a % ``TeX-translation'' is used for the translation part of the % transformation cm. This will ensure that hyperlinks ``survive'' at -% least translations. +% least translations. \def\pgfsys@pictureboxsynced#1{% {% @@ -1556,7 +1556,7 @@ % Called at the beginning of a pgfpicture. Used to setup things. \def\pgfsys@endpicture{} -% Called at the end of a pgfpicture. +% Called at the end of a pgfpicture. \def\pgfsys@typesetpicturebox#1{% \pgf@ya=\pgf@shift@baseline\relax% @@ -1596,7 +1596,7 @@ \ifx\pgf@imagepage\pgfutil@empty\else\edef\pgf@imagepage{page=\pgf@imagepage,}\fi% \edef\pgf@image{\noexpand\includegraphics[\pgf@imageheight\pgf@imagewidth]{\pgf@filename}}% } -% Called, when an image should be defined. +% Called, when an image should be defined. % % This command does not take any parameters. Instead, certain macros % will be preinstalled with appropriate values when this command is @@ -1622,11 +1622,11 @@ % % % The following macros presumable mostly make sense for drivers that -% can handle pdf: +% can handle pdf: % % - \pgf@imagepage % The desired page number to be extracted from a multi-page -% `image'. +% `image'. % % - \pgf@imagemask % If set, it will be set to `/SMask x 0 R', where x is the pdf @@ -1635,7 +1635,7 @@ % - \pgf@imageinterpolate % If set, it will be set to `/Interpolate true' or `/Interpolate % false', indicating whether the image should be interpolated in -% pdf. +% pdf. % % % The command should now setup the macro \pgf@image such that calling @@ -1664,7 +1664,7 @@ % % The parameter #1 is the name for later use. #2 and #3 are pgf points % specifying a bounding box for the object. #4 is the code for the -% object. The code may only contain protocollable code. +% object. The code may only contain protocolable code. \def\pgfsys@useobject#1#2{% @@ -1679,9 +1679,9 @@ \pgfsysprotocol@setcurrentprotocol\pgfsys@temp% } % Renders a previously declared object. The first parameter is the -% name of the the object. The second parameter is extra code that +% name of the object. The second parameter is extra code that % should be executed right *before* the object is rendered. Typically, -% this will be some transformation code. +% this will be some transformation code. \def\pgfsys@begininvisible{\pgfsys@transformcm{1}{0}{0}{1}{2000bp}{2000bp}} @@ -1691,7 +1691,7 @@ % graphic scope. \def\pgfsys@endinvisible{\pgfsys@transformcm{1}{0}{0}{1}{-2000bp}{-2000bp}} -% Ends the invisibilty section, unless invisibility blocks have been +% Ends the invisibility section, unless invisibility blocks have been % nested. In this case, only the `last' one restores visibility. \def\pgfsys@begininvisiblescope{\pgfsys@beginscope\pgfsys@begininvisible} @@ -1727,7 +1727,7 @@ % This will insert always-present-specials at the beginning of the -% code. +% code. \AtBeginDocument{ \pgfsys@atbegindocument \let\pgfsys@atbegindocument=\pgfutil@empty diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex index 12862bee9db..06bd9934bff 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysanimations.code.tex @@ -38,7 +38,7 @@ % Set the current time to a snapshot time % % #1 = a global snapshot time (a dimensionless number, measured in -% seconds). +% seconds). % % Description: % @@ -47,11 +47,11 @@ % of the animation at the given time. % % The value #1 can be thought of as the "global time", which can be -% thought of as the time that elapsed since the "onload" event. +% thought of as the time that elapsed since the "onload" event. % % The command \pgfsysanimsnapshotafter works the same way as % pgfsysanimsnapshot, only the time #1 is interpreted as "global time -% #1 + epsilon". This means that when two or mroe values are specified +% #1 + epsilon". This means that when two or more values are specified % for time #1, the last of them is used rather than the % first. Likewise, when a non-freezing timeline ends at time #1, % \pgfsysanimsnapshot will set the value to the last value in the @@ -65,10 +65,10 @@ % - Events and restarts are ignored. For the snapshot, all animations % start at global time 0, except if the command % \pgfsysanimkeysnapshotstart is used to specify a different -% start for a specific animation. +% start for a specific animation. % - The "current value" as starting value (pgf has no real chance of % determining the correct value of this). Using this with a snapshot -% will raise an errer. +% will raise an error. % % Example: % @@ -200,7 +200,7 @@ % Companions for \pgfsys@animation@freezeatend and -% \pgfsys@animation@removeatend +% \pgfsys@animation@removeatend % % Description: % @@ -226,7 +226,7 @@ \def\pgfsysanimkeytime#1#2#3#4#5{% % Setup animation \pgfsys@animation@time{#1}{#2}{#3}{#4}{#5}% - % and rember for snapshots + % and remember for snapshots \def\pgfsysanim@time{{#1}{#2}{#3}{#4}{#5}}% } @@ -267,7 +267,7 @@ % % Description: % -% Calls \pgfsys@animation@offset. +% Calls \pgfsys@animation@offset. \def\pgfsysanimkeyoffset#1#2{% \pgfsys@animation@offset{#1}{#2}% @@ -338,7 +338,7 @@ % Description: % % Calls \pgfsys@animaion@(no)accumulate and records the setting for -% snapshots. +% snapshots. \def\pgfsysanimkeyaccumulate{\pgfsys@animation@accumulate\pgfsysanim@accumulatetrue} \def\pgfsysanimkeynoaccumulate{\pgfsys@animation@noaccumulate\pgfsysanim@accumulatefalse} @@ -353,7 +353,7 @@ % % Description: % -% Calls \pgfsys@animation@whom and records the setting for snapshots. +% Calls \pgfsys@animation@whom and records the setting for snapshots. \def\pgfsysanimkeywhom#1#2{% \pgfsys@register@type{#2}% @@ -368,12 +368,12 @@ % Companions for \pgfsys@animation@rotatealong and -% \pgfsys@animation@norotatealong +% \pgfsys@animation@norotatealong % % Description: % % Calls the system layer command and records the setting for -% snapshots. +% snapshots. \def\pgfsysanimkeyrotatealong{\pgfsys@animation@rotatealong\pgfsysanim@rotatealongtrue} \def\pgfsysanimkeynorotatealong{\pgfsys@animation@norotatealong\pgfsysanim@rotatealongfalse} @@ -450,7 +450,7 @@ } -% Supresses the animation value +% Suppresses the animation value % % Description: % @@ -566,7 +566,7 @@ \pgfsys@animation@val@color@rgb{#1}{#2}{#3}% \ifpgfsysanim@is@snap% \pgfsysanim@esnap@record{{#1}{#2}{#3}}% - \fi% + \fi% } @@ -599,7 +599,7 @@ \edef\pgfsys@temp{{\pgf@sys@tonumber\pgf@xa}{\pgf@sys@tonumber\pgf@xb}{\pgf@sys@tonumber\pgf@xc}}% \expandafter}% \expandafter\pgfsysanim@esnap@record\expandafter{\pgfsys@temp}% - \fi% + \fi% } @@ -625,7 +625,7 @@ \edef\pgfsys@temp{{\pgf@sys@tonumber\pgf@xa}{\pgf@sys@tonumber\pgf@xb}{\pgf@sys@tonumber\pgf@xc}}% \expandafter}% \expandafter\pgfsysanim@esnap@record\expandafter{\pgfsys@temp}% - \fi% + \fi% } @@ -643,7 +643,7 @@ \pgfsys@animation@val@color@gray{#1}% \ifpgfsysanim@is@snap% \pgfsysanim@esnap@record{{#1}{#1}{#1}}% - \fi% + \fi% } @@ -661,7 +661,7 @@ \pgfsys@animation@val@path{#1}% \ifpgfsysanim@is@snap% \pgfsysanim@snap@record{#1}% - \fi% + \fi% } @@ -678,7 +678,7 @@ \pgfsys@animation@val@translate{#1}{#2}% \ifpgfsysanim@is@snap% \pgfsysanim@esnap@record{{#1}{#2}}% - \fi% + \fi% } @@ -696,7 +696,7 @@ \pgfsys@animation@val@scale{#1}{#2}% \ifpgfsysanim@is@snap% \pgfsysanim@esnap@record{{#1}{#2}}% - \fi% + \fi% } @@ -714,7 +714,7 @@ \pgfsys@animation@val@viewbox{#1}{#2}{#3}{#4}% \ifpgfsysanim@is@snap% \pgfsysanim@esnap@record{{#1}{#2}{#3}{#4}}% - \fi% + \fi% } @@ -733,7 +733,7 @@ \pgfsys@animation@val@dash{#1}{#2}% \ifpgfsysanim@is@snap% \pgfsysanim@esnap@record{{#1}{#2}}% - \fi% + \fi% } @@ -1005,7 +1005,7 @@ \fi% \pgf@x\pgfmathresult pt\relax% \expandafter\pgfsysanim@splitter\the\pgf@x% - % + % \pgf@xc=\pgfsysanim@repeat@frac\pgf@xa% \advance\pgf@xc by\pgf@xb% \pgfsysanim@compute@time% @@ -1027,7 +1027,7 @@ \expandafter\pgfsysanim@test@time\pgfsys@temp% \fi% \ifpgfsysanim@cont% - \advance\pgfutil@tempcnta by1\relax% + \advance\pgfutil@tempcnta by1\relax% \pgfutil@repeat% } @@ -1056,7 +1056,7 @@ % else, do nothing \fi \else% - % always overwrite: + % always overwrite: \def\pgfsysanim@prev@val{#6}% \def\pgfsysanim@prev@time{#1}% \def\pgfsysanim@prev@spline{{#2}{#3}{#4}{#5}}% @@ -1076,7 +1076,7 @@ \pgfsysanim@contfalse% \fi% \fi% - \fi% + \fi% } \let\pgfsysanim@prev@val\relax% @@ -1100,8 +1100,8 @@ \let\pgfsysanim@code@end\pgfsysanim@code@closer% \expandafter\global\expandafter\let\pgfsysanim@code@main\pgfutil@empty% \else% - \let\pgfsysanim@code@begin\relax% - \let\pgfsysanim@code@end\relax% + \let\pgfsysanim@code@begin\relax% + \let\pgfsysanim@code@end\relax% \fi% \expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\def% \expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\expandafter\pgfsysanim@new@main% @@ -1159,7 +1159,7 @@ \fi% \pgfsysanim@add@trans@% \fi% -} +} \def\pgfsysanim@add@trans@{% \toks0\expandafter{\pgfsysanim@snap@canvas@transform@pre}% \toks1\expandafter{\pgfsysanim@code@begin}% @@ -1307,8 +1307,8 @@ \pgfsysanim@cap@scalar{\pgfsysanim@z@val}{0}{1}% \pgfsysanim@attach{strokecolor}{\noexpand\pgfsys@color@rgb@stroke{\pgfsysanim@x@val}{\pgfsysanim@y@val}{\pgfsysanim@z@val}}{}% \fi% -} - +} + \def\pgfsysanim@prep@attr@fillcolor{% \ifpgfsysanim@valid@snapshot@time% \pgfsysanim@comp@color% @@ -1440,26 +1440,26 @@ \def\pgfsysanim@prepare@start@of@path{% \ifx\pgfsysanim@snap@tip@start\pgfutil@empty\else - % + % % Step 1: Split - % + % \ifx\pgfprocessresultpathsuffix\relax% % Ok, still need to compute the split: \pgfprocesssplitpath{\pgf@arrowpath}% \fi% - % + % % Step 2: extract - % + % \expandafter\pgf@parse@start\pgfprocessresultpathsuffix\pgf@stop\pgf@stop\pgf@stop% - % + % % Step 3: prep - % + % \pgf@prep@start% \fi% } \def\pgfsysanim@add@marker@at@start{% \ifx\pgfsysanim@snap@tip@start\pgfutil@empty\else - % + % % Step 4: draw % {% @@ -1480,24 +1480,24 @@ \pgf@precise@shorteningfalse% \edef\pgf@path@shortening@distance{0pt}% \ifx\pgfsysanim@snap@tip@end\pgfutil@empty\else - % + % % Step 1: Split - % + % \pgfprocesssplitpath{\pgfsysanim@path@val}% \pgfprocesssplitsubpath{\pgfprocessresultpathsuffix}% - % + % % Step 2: extract - % + % \expandafter\pgf@parse@end\pgfprocessresultsubpathsuffix\pgf@stop\pgf@stop\pgf@stop% - % - % Step 3: prep - % + % + % Step 3: prep + % \pgf@prep@end% \fi% } \def\pgfsysanim@add@marker@at@end{% \ifx\pgfsysanim@snap@tip@end\pgfutil@empty\else - % + % % Step 4: draw % {% @@ -1663,7 +1663,7 @@ } -% Text interpolation +% Text interpolation \def\pgfsysanim@comp@text{% \let\pgfsysanim@text@val\pgfsysanim@prev@val% @@ -1853,11 +1853,11 @@ \else% \pgf@xa#3pt% \pgf@xb#5pt% - % #4 is val supoort a + % #4 is val support a % #6 is val support b % our first approximation - \let\pgfsysanim@t\pgfsysanim@frac@a% - \let\pgfsysanim@s\pgfsysanim@frac@b% + \let\pgfsysanim@t\pgfsysanim@frac@a% + \let\pgfsysanim@s\pgfsysanim@frac@b% \pgfsysanim@eval@spline% \edef\pgfsysanim@ft{\the\pgf@x}% \pgf@x\pgfsysanim@t pt% @@ -1870,7 +1870,7 @@ % Ok, now do Newton one step \advance\pgf@x by-\pgfsysanim@ft% \pgf@x256\pgf@x% - % \pgf@x is f'(t) + % \pgf@x is f'(t) % must compute t - (f(t)-frac@a)/f'(t) \pgf@ya\pgfsysanim@ft% \advance\pgf@ya by-\pgfsysanim@frac@a pt% @@ -1901,7 +1901,7 @@ % Ok, now do Newton one step2 \advance\pgf@x by-\pgfsysanim@ft% \pgf@x256\pgf@x% - % \pgf@x is f'(t) + % \pgf@x is f'(t) % must compute t - (f(t)-frac@a)/f'(t) \pgf@ya\pgfsysanim@ft% \advance\pgf@ya by-\pgfsysanim@frac@a pt% @@ -1920,7 +1920,7 @@ \advance\pgf@y by-\pgf@x% \edef\pgfsysanim@t{\pgf@sys@tonumber\pgf@x}% \edef\pgfsysanim@s{\pgf@sys@tonumber\pgf@y}% - % Third newton: + % Third Newton: \pgfsysanim@eval@spline% \edef\pgfsysanim@ft{\the\pgf@x}% \pgf@x\pgfsysanim@t pt% @@ -1933,7 +1933,7 @@ % Ok, now do Newton one step2 \advance\pgf@x by-\pgfsysanim@ft% \pgf@x256\pgf@x% - % \pgf@x is f'(t) + % \pgf@x is f'(t) % must compute t - (f(t)-frac@a)/f'(t) \pgf@ya\pgfsysanim@ft% \advance\pgf@ya by-\pgfsysanim@frac@a pt% @@ -1973,12 +1973,12 @@ \advance\pgf@yb by\pgfsysanim@s\pgf@xa% \pgf@yc\pgfsysanim@t pt% \advance\pgf@yc by\pgfsysanim@s\pgf@xb% - % Iteration two: (ya,yb,yc) recuded to (y,xc) + % Iteration two: (ya,yb,yc) reduced to (y,xc) \pgf@y\pgfsysanim@t\pgf@yb% \advance\pgf@y by\pgfsysanim@s\pgf@ya% \pgf@xc\pgfsysanim@t\pgf@yc% \advance\pgf@xc by\pgfsysanim@s\pgf@yb% - % Iteration three: (y,xc) recuded to (x) + % Iteration three: (y,xc) reduced to (x) \pgf@x\pgfsysanim@t\pgf@xc% \advance\pgf@x by\pgfsysanim@s\pgf@y% } diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex index 09e6eed0a84..3625abbb576 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex @@ -11,7 +11,7 @@ -% This package provides the pgf system protcol layer. Protocolling is +% This package provides the pgf system protocol layer. Protocolling is % used to record a bunch of graphic operations so that they can be % reused quickly at a later point. % diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex index c52f4d49de8..d04eb022885 100644 --- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex @@ -13,7 +13,7 @@ % This package provides the pgf system path abstraction layer. This % layer is used to construct paths first ``abstractly.'' These % abstract paths can still be modified, before they are ``made -% concrete.'' +% concrete.'' % % An abstract path consists of a sequence of basic building blocks, % each of which is a tuple consisting of two numbers (specifying a @@ -29,9 +29,9 @@ % 8. closepath % 9. specialround % -% A curveto must always be preceeded by a curvetosupporta and a +% A curveto must always be preceded by a curvetosupporta and a % curvetosupportb. A non-empty path must always begin with a -% moveto. The coordinates of a closepath are non-specified, currently, +% moveto. The coordinates of a closepath are non-specified, currently, % but they might be set to the coordinate of the path segment start, % in the future. @@ -166,7 +166,7 @@ } -% Add rectanlge elements to the current path +% Add rectangle elements to the current path \def\pgfsyssoftpath@rect#1#2#3#4{% \edef\pgfsyssoftpath@temp{{% \noexpand\pgfsyssoftpath@rectcornertoken{#1}{#2}% @@ -193,12 +193,12 @@ \def\pgfsyssoftpath@curvetosupportatoken#1#2#3#4#5#6#7#8{\pgfsys@curveto{#1}{#2}{#4}{#5}{#7}{#8}} \def\pgfsyssoftpath@closepathtoken#1#2{\pgfsys@closepath} \let\pgfsyssoftpath@specialroundtoken=\pgfutil@gobbletwo -\def\pgfsyssoftpath@curvetosupportbtoken#1#2{curvetotokenb} % make sure this this \ifx-equal only to itself -\def\pgfsyssoftpath@curvetotoken#1#2{curvetotoken}% make sure this this \ifx-equal only to itself +\def\pgfsyssoftpath@curvetosupportbtoken#1#2{curvetotokenb} % make sure this \ifx-equal only to itself +\def\pgfsyssoftpath@curvetotoken#1#2{curvetotoken}% make sure this \ifx-equal only to itself \endinput -%%% Local Variables: +%%% Local Variables: %%% mode: latex -%%% End: +%%% End: |