fp@369: %% fp@369: %% This is file `svn.sty', fp@369: %% generated with the docstrip utility. fp@369: %% fp@369: %% The original source files were: fp@369: %% fp@369: %% svn.dtx (with options: `package') fp@369: %% fp@369: %% This is a generated file. fp@369: %% fp@369: %% Copyright (C) 2003 by Richard Lewis fp@369: %% fp@369: %% This file may be distributed and/or modified under the conditions fp@369: %% of the LaTeX Project Public License, either version 1.2 of this fp@369: %% license or (at your option) any later version. The latest version fp@369: %% of this license is in: fp@369: %% fp@369: %% http://www.latex-project.org/lppl.txt fp@369: %% fp@369: %% and version 1.2 or later is part of all distributions of LaTeX fp@369: %% version 1999/12/01 or later. fp@369: %% fp@369: \NeedsTeXFormat{LaTeX2e} fp@369: \def\next $Id: #1 #2 #3-#4-#5 #6${% fp@369: \def\svn@date{#3/#4/#5}% fp@369: \def\svn@revision{#2}% fp@369: } fp@369: \next $Id: svn.dtx 32 2003-09-21 19:08:50Z rpil2 $ fp@369: \edef\next{% fp@369: \noexpand\ProvidesPackage{svn}[\svn@date\space r\svn@revision\space fp@369: Typeset Subversion keywords.]% fp@369: } fp@369: \next fp@369: \def\SVN $#1${\svn@$#1: $} fp@369: \let\SVNempty\relax fp@369: \def\svn@$#1: #2${% fp@369: \def\svn@tmp{#2}% fp@369: \ifx\svn@tmp\@empty fp@369: \def\svn@suffix{@unexpanded}% fp@369: \else fp@369: \def\svn@suffix{@expanded}% fp@369: \fi fp@369: \@ifundefined{SVN@#1\svn@suffix}% fp@369: {\@nameuse{SVN@generic\svn@suffix}{#1}{#2}}% fp@369: {\@nameuse{SVN@#1\svn@suffix}{#1}{#2}}% fp@369: } fp@369: \def\SVN@generic@expanded#1#2{% fp@369: \expandafter\svn@set\csname SVN#1\endcsname$#2$% fp@369: } fp@369: \def\SVN@generic@unexpanded#1#2{% fp@369: \expandafter\global\expandafter\let\csname SVN#1\endcsname\SVNempty fp@369: } fp@369: \def\svn@set#1$#2 : ${\gdef#1{#2}} fp@369: \def\SVN@Date@unexpanded#1#2{% fp@369: \gdef\SVNDate{\today}% fp@369: \global\let\SVNTime\SVNempty fp@369: \global\let\SVNRawDate\SVNempty fp@369: } fp@369: \let\SVN@LastChangedDate@unexpanded\SVN@Date@unexpanded fp@369: \def\SVN@Date@expanded#1#2{% fp@369: \svn@set\SVNRawDate$#2$% fp@369: \svn@parse@date$#2$% fp@369: } fp@369: \let\SVN@LastChangedDate@expanded\SVN@Date@expanded fp@369: \def\svn@parse@date$#1-#2-#3 #4:#5:#6 #7${% fp@369: \gdef\SVNDate{% fp@369: \begingroup fp@369: \def\svn@tmp{\PackageError{svn}{\SVNDate should not fp@369: be used in an \protect\edef}{See the svn.sty documentation for a fp@369: work around.}}% fp@369: \day#3 \month#2 \year#1 fp@369: \today fp@369: \endgroup}% fp@369: \gdef\SVNTime{#4:#5:#6}% fp@369: } fp@369: \def\SVNdate $#1${\SVN $#1$\date{\SVNDate}} fp@369: \endinput fp@369: %% fp@369: %% End of file `svn.sty'.