blob: 97727fdbeb7088ea37576774694729a7495c224d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
% 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.
%
% 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
% string. This command will also be available in plain TeX, where it
% prints out a message to the log.
\def\pgfversion{2.00}
\def\pgftypesetversion{\oldstylenums{2}.\oldstylenums{00}}
\ifx\pgfrcsloaded\undefined
\def\pgfrcsloaded{}
\edef\pgfrcsatcode{\the\catcode`\@}
\catcode`\@=11
% Get date and version from RCS Ids
\def\pgf@parseid $#1: #2.#3,v #4 #5/#6/#7 #8${%
\pgf@parsercsfile$#2/$
\def\pgf@rcssuffix{#3}
\def\pgf@rcsrevision{#4}
\def\pgf@rcsdate{#5/#6/#7}
}
\def\pgf@parsercsfile$#1/#2${
\def\pgf@temp{#2}
\ifx\pgf@temp\pgfutil@empty
\def\pgf@rcsfile{#1}
\else
\pgf@parsercsfile$#2$
\fi}
\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=}
\def\pgfrcs@checkforoptional{%
\ifx\next[%
\let\next=\pgfrcs@getoptional%
\else
\let\next=\pgfrcs@package%
\fi%
\next}%}
\def\pgfrcs@getoptional#1] ${%
\def\pgf@rcsadditional{#1}%
\pgfrcs@package%
}
\def\pgfrcs@package#1${
\pgf@parseid $#1$
\pgfrcs@marshal[\pgf@rcsdate\space\pgf@rcsadditional\space(rcs-revision \pgf@rcsrevision)]
}
\def\ProvidesClassRCS $#1$ [#2]{%
\pgf@parseid $#1$
\ProvidesClass{\pgf@rcsfile}[\pgf@rcsdate\space#2\space (rcs-revision \pgf@rcsrevision)]
}
\ifx\ProvidesPackage\@undefined
% plain tex
\def\ProvidesPackage#1[#2]{\wlog{Loading package #1 version #2.}}
\fi
\ifx\ProvidesFile\@undefined
% plain tex
\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.21 2008/02/20 11:00:42 tantau Exp $
\catcode`\@=\pgfrcsatcode
\fi
|