diff options
author | Karl Berry <karl@freefriends.org> | 2006-10-15 22:37:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-10-15 22:37:32 +0000 |
commit | 237df1eb06d422ff243a05b9a25501ba287681c1 (patch) | |
tree | 4cc4f2032474921cb986d1ca63b3cf9a267b480a /Master/texmf-dist/tex/generic/pgf/utilities | |
parent | 15e21b5bab66eca251ac48fdc052126505428d4e (diff) |
pgf/tikz 1.09 big update (13oct06)
git-svn-id: svn://tug.org/texlive/trunk@2332 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/utilities')
3 files changed, 48 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/utilities/pgf-latex-emulation.tex b/Master/texmf-dist/tex/generic/pgf/utilities/pgf-latex-emulation.tex index 139ac162264..257741a3c9a 100644 --- a/Master/texmf-dist/tex/generic/pgf/utilities/pgf-latex-emulation.tex +++ b/Master/texmf-dist/tex/generic/pgf/utilities/pgf-latex-emulation.tex @@ -1,10 +1,12 @@ -% This file is pgf-latex-emulation.tex - -% Copyright 2005 by Till Tantau <tantau@cs.tu-berlin.de>. +% Copyright 2006 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. % -% This program can be redistributed and/or modified under the terms -% of the LaTeX Project Public License Distributed from CTAN -% archives in directory macros/latex/base/lppl.txt. +% See the file doc/generic/pgf/licenses/LICENSE for more details. + \catcode`\@=11\relax @@ -14,7 +16,6 @@ \else% % Direct copy from latex.ltx: -\long\def\@ifundefined#1#2#3{\expandafter\ifx\csname #1\endcsname\relax#2\else#3\fi} \def\typeout#1{\immediate\write\@unused{#1}} \alloc@7\write\chardef\sixt@@n\@unused \let\@@par=\par @@ -118,6 +119,10 @@ \gdef\Gin@driver{pdftex.def}% \fi% +% aux files +\newwrite\@auxout +\IfFileExists{\jobname.aux}{\input \jobname.aux\relax}{} +\openout\@auxout % Things that are not too clever, yet: \def\selectfont{\rm} @@ -144,6 +149,7 @@ \definecolor{purple}{rgb}{0.75,0,0.25} \definecolor{brown}{rgb}{0.75,0.5,0.25} +\ifx\color\@undefined \def\color#1{% \colorlet{.}{#1}% \pgfsysprotocol@getcurrentprotocol\pgf@emu@temp% @@ -156,6 +162,8 @@ \pgfsysprotocol@setcurrentprotocol\pgf@emu@temp% \aftergroup\reset@color% } +\fi + \def\reset@color{% \pgfsysprotocol@getcurrentprotocol\pgf@emu@temp% {% diff --git a/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex b/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex index 6d381dcbdec..86b4106af18 100644 --- a/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex @@ -1,11 +1,13 @@ -\ProvidesPackageRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/utilities/pgffor.code.tex,v 1.2 2005/07/06 15:58:58 tantau Exp $ - -% Copyright 2005 by Till Tantau <tantau@cs.tu-berlin.de>. +% Copyright 2006 by Till Tantau % -% This program can be redistributed and/or modified under the terms -% of the GNU Public License, version 2. - +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/generic/pgf/licenses/LICENSE for more details. +\ProvidesPackageRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/utilities/pgffor.code.tex,v 1.4 2006/10/11 15:22:26 tantau Exp $ \newdimen\pgffor@iter \newdimen\pgffor@skip @@ -15,9 +17,14 @@ \let\pgffor@endhook=\@empty \let\pgffor@afterhook=\@empty +\def\pgffor@emptyvalues{, \pgffor@stop,}% + \def\foreach#1in#2{% \def\pgffor@var{#1}% \def\pgffor@values{#2, \pgffor@stop,}% + \ifx\pgffor@values\pgffor@emptyvalues + \def\pgffor@values{\pgffor@stop,}% + \fi% \let\pgffor@body\@empty% \global\pgffor@continuetrue% \pgffor@collectbody} diff --git a/Master/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex b/Master/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex index b744514f544..68c5150641a 100644 --- a/Master/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex @@ -1,7 +1,13 @@ -% Copyright 2005 by Till Tantau <tantau@users.sourceforge.net>. +% Copyright 2006 by Till Tantau % -% This program can be redistributed and/or modified under the terms -% of the GNU Public License, version 2. +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/generic/pgf/licenses/LICENSE for more details. + + % The purpose of this file is to define the command % \ProvidesPackageRCS, which should be followed by an RCS id @@ -9,7 +15,7 @@ % prints out a message to the log. -\def\pgfversion{1.01} +\def\pgfversion{1.09} \ifx\pgfrcsloaded\undefined @@ -35,12 +41,17 @@ \pgf@parsercsfile$#2$ \fi} -\def\ProvidesFileRCS $#1${ - \pgf@parseid $#1$ - \ProvidesFile{\pgf@rcsfile.\pgf@rcssuffix}[\pgf@rcsdate\space (rcs-revision \pgf@rcsrevision)] +\def\ProvidesFileRCS{% + \def\pgfrcs@marshal{\ProvidesFile{\pgf@rcsfile.\pgf@rcssuffix}}% + \pgfrcs@parserest% } \def\ProvidesPackageRCS{% + \def\pgfrcs@marshal{\ProvidesPackage{\pgf@rcsfile}}% + \pgfrcs@parserest% +} + +\def\pgfrcs@parserest{% \def\pgf@rcsadditional{}% \afterassignment\pgfrcs@checkforoptional\let\next=} @@ -59,7 +70,7 @@ \def\pgfrcs@package#1${ \pgf@parseid $#1$ - \ProvidesPackage{\pgf@rcsfile}[\pgf@rcsdate\space\pgf@rcsadditional\space(rcs-revision \pgf@rcsrevision)] + \pgfrcs@marshal[\pgf@rcsdate\space\pgf@rcsadditional\space(rcs-revision \pgf@rcsrevision)] } \def\ProvidesClassRCS $#1$ [#2]{% @@ -77,7 +88,7 @@ \def\ProvidesFile#1[#2]{\wlog{Loading file #1 version #2.}} \fi -\ProvidesPackageRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/utilities/pgfrcs.code.tex,v 1.8 2005/11/14 17:37:52 tantau Exp $ +\ProvidesPackageRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/utilities/pgfrcs.code.tex,v 1.12 2006/10/11 15:22:26 tantau Exp $ \catcode`\@=\pgfrcsatcode |