summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/svn
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:08:14 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:08:14 +0000
commit3afdc22a0e10bd289b913db8d90177307d428fba (patch)
treeea92ad83b062cfa32dbd7a369348f9f71bee7922 /Master/texmf-dist/tex/latex/svn
parent38d85a40cf41f09e4a03b846c48dd1d1acbf5b55 (diff)
svn
git-svn-id: svn://tug.org/texlive/trunk@1360 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/svn')
-rw-r--r--Master/texmf-dist/tex/latex/svn/svn.sty79
1 files changed, 79 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/svn/svn.sty b/Master/texmf-dist/tex/latex/svn/svn.sty
new file mode 100644
index 00000000000..b5bea408c02
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/svn/svn.sty
@@ -0,0 +1,79 @@
+%%
+%% This is file `svn.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% svn.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2003 by Richard Lewis <rpil+svn@rtf.org.uk>
+%%
+%% This file may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.2 of this
+%% license or (at your option) any later version. The latest version
+%% of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all distributions of LaTeX
+%% version 1999/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\def\next $Id: #1 #2 #3-#4-#5 #6${%
+ \def\svn@date{#3/#4/#5}%
+ \def\svn@revision{#2}%
+}
+\next $Id: svn.dtx 32 2003-09-21 19:08:50Z rpil2 $
+\edef\next{%
+ \noexpand\ProvidesPackage{svn}[\svn@date\space r\svn@revision\space
+ Typeset Subversion keywords.]%
+}
+\next
+\def\SVN $#1${\svn@$#1: $}
+\let\SVNempty\relax
+\def\svn@$#1: #2${%
+ \def\svn@tmp{#2}%
+ \ifx\svn@tmp\@empty
+ \def\svn@suffix{@unexpanded}%
+ \else
+ \def\svn@suffix{@expanded}%
+ \fi
+ \@ifundefined{SVN@#1\svn@suffix}%
+ {\@nameuse{SVN@generic\svn@suffix}{#1}{#2}}%
+ {\@nameuse{SVN@#1\svn@suffix}{#1}{#2}}%
+}
+\def\SVN@generic@expanded#1#2{%
+ \expandafter\svn@set\csname SVN#1\endcsname$#2$%
+}
+\def\SVN@generic@unexpanded#1#2{%
+ \expandafter\global\expandafter\let\csname SVN#1\endcsname\SVNempty
+}
+\def\svn@set#1$#2 : ${\gdef#1{#2}}
+\def\SVN@Date@unexpanded#1#2{%
+ \gdef\SVNDate{\today}%
+ \global\let\SVNTime\SVNempty
+ \global\let\SVNRawDate\SVNempty
+}
+\let\SVN@LastChangedDate@unexpanded\SVN@Date@unexpanded
+\def\SVN@Date@expanded#1#2{%
+ \svn@set\SVNRawDate$#2$%
+ \svn@parse@date$#2$%
+}
+\let\SVN@LastChangedDate@expanded\SVN@Date@expanded
+\def\svn@parse@date$#1-#2-#3 #4:#5:#6 #7${%
+ \gdef\SVNDate{%
+ \begingroup
+ \def\svn@tmp{\PackageError{svn}{\SVNDate should not
+ be used in an \protect\edef}{See the svn.sty documentation for a
+ work around.}}%
+ \day#3 \month#2 \year#1
+ \today
+ \endgroup}%
+ \gdef\SVNTime{#4:#5:#6}%
+}
+\def\SVNdate $#1${\SVN $#1$\date{\SVNDate}}
+\endinput
+%%
+%% End of file `svn.sty'.