summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/gmutils/gmRCS.sty
blob: 1ecabf4d00106e88dcb1bddaec84a140cd60aa4b (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
%% 
%% \iffalse ^^A we skip the debug setting
\IfFileExists{\string~/bin/gen_and_xela}{\errorcontextlines=1000 }{}
%% \fi
%% ^^A $Id: TheUltimateMaster.gmd,v 0.352 2011/10/12 15:19:42 natror Exp natror $
%% This is file “gmRCS.sty” generated with the DocStrip utility.
%% 
%%
%% The original source files were:
%%
%% gmutils/gmutils.gmd  (with options: `RCS')
%%
%% 
%% Copyright ©  
%% by Grzegorz ‘Natror’ Murzynowski
%% natror (at) gmail (dot) com
%% 
%% This program is subject to the LaTeX Project Public License.
%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
%% for the details of that license.
%%
%% LPPL status: "author-maintained".
%%
%% 
%% 
%% For documentation please refer to the file(s)
%% gmutils.{gmd,pdf}.
%% 
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{gmRCS}
    [2011/10/12 v0.996  (GM)]


%%
%%
%%     ^^A\typeout{\unexpanded{#4}}%%


\def\ParseRCSVersion$Id%
: #1.#2,v #3 #4 #5 #6 #7${%
  \def\RCSFileName{#1}%
  \def\RCSFileExt{#2}%
  \def\RCSFile{#1.#2}%
  \def\RCSVersion{#3}%
  \def\RCSDate{#4}%
  \def\RCSTime{#5}%
  \def\RCSAuthor{#6}%
}


\def\defRCSeDatum
#1% datum name
#2% datum definition (basically |#|number)
{%
  \@namedef{eRCS#1}$Id%
  : ##1.##2,v ##3 ##4 ##5 ##6 ##7${#2}%
}

\defRCSeDatum{File}{#1.#2} % |\eRCSFile|
\defRCSeDatum{Version}{#3}% |\eRCSVersion|
\defRCSeDatum{Date}{#4}% |\eRCSVDate|
\defRCSeDatum{Time}{#5}% |\eRCSVTime|
\defRCSeDatum{Author}{#6}% |\eRCSVAuthor|

\endinput
%%
%% End of file `gmRCS.sty'.