summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-09 00:37:53 +0000
committerKarl Berry <karl@freefriends.org>2007-09-09 00:37:53 +0000
commit7f621653d24a0704fa5c543cb8357360a04921bd (patch)
tree0e67c895fbf07018cff1f79a5a7acac026d6aaef
parent3407d103032c2b370491adcfdc621c034e01ec4e (diff)
rcs update (6jun07)
git-svn-id: svn://tug.org/texlive/trunk@4918 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/cdbuild/ctan2tds.pl1
-rwxr-xr-xBuild/tools/tpm-ctan-check3
-rw-r--r--Master/texmf-dist/doc/latex/rcs/CATALOG (renamed from Master/texmf-dist/source/latex/rcs/CATALOG)0
-rw-r--r--Master/texmf-dist/doc/latex/rcs/History (renamed from Master/texmf-dist/source/latex/rcs/History)0
-rw-r--r--Master/texmf-dist/doc/latex/rcs/INSTALL (renamed from Master/texmf-dist/source/latex/rcs/INSTALL)0
-rw-r--r--Master/texmf-dist/doc/latex/rcs/MANIFEST (renamed from Master/texmf-dist/source/latex/rcs/MANIFEST)0
-rw-r--r--Master/texmf-dist/doc/latex/rcs/rcs-conf.dvibin7660 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/rcs/rcs-conf.pdfbin0 -> 67955 bytes
-rw-r--r--Master/texmf-dist/doc/latex/rcs/rcs-user.dvibin19720 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/rcs/rcs-user.pdfbin0 -> 98946 bytes
-rw-r--r--Master/texmf-dist/tex/latex/rcs/rcs.sty49
11 files changed, 35 insertions, 18 deletions
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl
index 2e4df2a7fe7..1c074a6bfe9 100755
--- a/Build/cdbuild/ctan2tds.pl
+++ b/Build/cdbuild/ctan2tds.pl
@@ -395,6 +395,7 @@ $standardsource='\.fdd|\.dtx|\.ins|\.c$|Makefile|\.drv';
'eskdx', 'NULL', # do not move makefiles
'mff', '\.mfj|\.bat|\.diz',
'fpl', "$standardsource|Add|\.sfd|\.pe|\.ps",
+ 'rcs', "$standardsource|rcs.el|src",
);
%specialfoundry = (
diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check
index 90f3dafd819..993f6a3ce5e 100755
--- a/Build/tools/tpm-ctan-check
+++ b/Build/tools/tpm-ctan-check
@@ -116,7 +116,8 @@ my @WorkingTPM = qw(
pst-slpe pst-uml pst-vue3d
pstricks pstricks-add
qcm qstest qtree
- randbild rccol rcsinfo refstyle regcount register resume robustcommand
+ randbild rccol rcs rcsinfo
+ refstyle regcount register resume robustcommand
robustindex rsc rtkinenc rtklage
sae sauerj sauterfonts savefnmark savesym savetrees scale
scalebar schedule scientificpaper sciposter screenplay script
diff --git a/Master/texmf-dist/source/latex/rcs/CATALOG b/Master/texmf-dist/doc/latex/rcs/CATALOG
index 45c99f821c7..45c99f821c7 100644
--- a/Master/texmf-dist/source/latex/rcs/CATALOG
+++ b/Master/texmf-dist/doc/latex/rcs/CATALOG
diff --git a/Master/texmf-dist/source/latex/rcs/History b/Master/texmf-dist/doc/latex/rcs/History
index 37bbfe8b35b..37bbfe8b35b 100644
--- a/Master/texmf-dist/source/latex/rcs/History
+++ b/Master/texmf-dist/doc/latex/rcs/History
diff --git a/Master/texmf-dist/source/latex/rcs/INSTALL b/Master/texmf-dist/doc/latex/rcs/INSTALL
index 686ea4574e9..686ea4574e9 100644
--- a/Master/texmf-dist/source/latex/rcs/INSTALL
+++ b/Master/texmf-dist/doc/latex/rcs/INSTALL
diff --git a/Master/texmf-dist/source/latex/rcs/MANIFEST b/Master/texmf-dist/doc/latex/rcs/MANIFEST
index a801d5b203f..a801d5b203f 100644
--- a/Master/texmf-dist/source/latex/rcs/MANIFEST
+++ b/Master/texmf-dist/doc/latex/rcs/MANIFEST
diff --git a/Master/texmf-dist/doc/latex/rcs/rcs-conf.dvi b/Master/texmf-dist/doc/latex/rcs/rcs-conf.dvi
deleted file mode 100644
index 0c35f5804d2..00000000000
--- a/Master/texmf-dist/doc/latex/rcs/rcs-conf.dvi
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/rcs/rcs-conf.pdf b/Master/texmf-dist/doc/latex/rcs/rcs-conf.pdf
new file mode 100644
index 00000000000..ed986918d5f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/rcs/rcs-conf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/rcs/rcs-user.dvi b/Master/texmf-dist/doc/latex/rcs/rcs-user.dvi
deleted file mode 100644
index 1174d9c39d5..00000000000
--- a/Master/texmf-dist/doc/latex/rcs/rcs-user.dvi
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/rcs/rcs-user.pdf b/Master/texmf-dist/doc/latex/rcs/rcs-user.pdf
new file mode 100644
index 00000000000..c1d903bd81b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/rcs/rcs-user.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/rcs/rcs.sty b/Master/texmf-dist/tex/latex/rcs/rcs.sty
index 453b947d75c..cb87900c1f9 100644
--- a/Master/texmf-dist/tex/latex/rcs/rcs.sty
+++ b/Master/texmf-dist/tex/latex/rcs/rcs.sty
@@ -1,6 +1,8 @@
% $StyleId: rcs.doc,v 2.10 2003/02/02 20:42:38 schrod Exp $
+% With modifications by Jeff Goldberg, December 2, 1999
%----------------------------------------------------------------------
% Written by Joachim Schrod <jschrod@acm.org>.
+% Minor modification by Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
% Copyright conditions see below.
%
@@ -430,18 +432,36 @@
%%% definition of |\today|. This way language-specific styles (e.g., from
%%% the \textsf{babel} system) may supply their own way to present a date.
+%%% Modified put the group and |\day|, |\month|, and |\year| setting
+%%% within the definition of RCSDate to avoid having to do an edef
+%%% which would expand |\today| before babel could redefine it. ---JPG
+
+%%% Further modified to use simple character parsing to allow for both
+%%% / delimiter used by original RCS and - delimiter used by modern
+%%% CVS, taking care that old 2-digit RCS years are still handled
+%%% properly. ---KHR
+
%%% \beginprog
-\def\rcs_set_date #1/#2/#3 #4\end_date{%
- \begingroup
- \day #3 % <-- space!
- \month #2 % <-- space!
- \year #1 % <-- space!
- \expandafter\xdef \csname RCS\RCS_keyword\endcsname {\today}%
- \endgroup
- \def\RCSTime{#4}%
+\def\rcs_set_date #1 #2\end_date{%
+ \expandafter\def \csname RCS\RCS_keyword\endcsname
+ {\begingroup\rcs_set_date_really#1\today\endgroup}%
+ \def\RCSTime{#2}%
}
-%%% \endprog
+\def\rcs_set_date_really#1#2#3#4#5{%
+ \ifx#3/ % Very old RCS file with two digit year...
+ \year 19#1#2 % <-- space!
+ \def\_{\rcs_set_date_really_ii#4#5}\expandafter\_
+ \else
+ \year #1#2#3#4 % <-- space!
+ \expandafter\rcs_set_date_really_ii
+ \fi}
+
+\def\rcs_set_date_really_ii#1#2#3#4#5{%
+ \month #1#2 % <-- space!
+ \day #4#5 % <-- space!
+ }
+%%% \endprog
@@ -581,7 +601,7 @@
%%% \beginprog
\def\RcsLogRevision#1#2#3#4{%
\item [Revision #1]%
- (created at \RcsLogDate #2\endDate\space \RcsLogTime{#3} % <-- space!
+ (created at \RcsLogDate #2\end_date\space \RcsLogTime{#3} % <-- space!
by \RCS_get_author{#4})\\\relax
}
%%% \endprog
@@ -599,13 +619,8 @@
%%% private macro, too.
%%% \beginprog
-\def\RcsLogDate #1/#2/#3\endDate{%
- \begingroup
- \day #3 % <-- space!
- \month #2 % <-- space!
- \year #1 % <-- space!
- \today
- \endgroup
+\def\RcsLogDate #1\end_date{%
+ \begingroup\rcs_set_date_really#1\today\endgroup
}
\def\RcsLogTime#1{\ignorespaces}