diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-06 15:03:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-06 15:03:03 +0000 |
commit | bafb761bce627f6f4ca4e263dd68130518b50cf6 (patch) | |
tree | 28764db2f9a390e43517712593f699d69d48c890 /Master/texmf-dist/tex/latex/svn-prov | |
parent | b4afea7b1b3b0414f91a2c2632b1788c2cc6634f (diff) |
svn-prov 1 (3may09)
git-svn-id: svn://tug.org/texlive/trunk@12948 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/svn-prov')
-rw-r--r-- | Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty | 52 |
1 files changed, 34 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty b/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty index 17aab53df27..2a74bc8a8f2 100644 --- a/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty +++ b/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty @@ -6,22 +6,26 @@ %% %% svn-prov.dtx (with options: `package') %% -%% This is a generated file. -%% %% Copyright (C) 2009 by Martin Scharrer <martin@scharrer-online.de> %% -%% 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: +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% 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. +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2008/05/04 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Martin Scharrer. %% -\let\svnprov@orig@fileversion\fileversion -\def\fileversion{v0.\rev} +%% This work consists of the files svn-prov.dtx, svn-prov.ins +%% and the derived file svn-prov.sty. +%% +\def\svnprov@version{v1.\rev} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \def\ProvidesClassSVN{% \svnprov@generic\ProvidesClass{\svnprov@filebase}% @@ -117,26 +121,38 @@ \let\filename\svnprov@filename \let\filedate\svnprov@filedate \let\filerev\svnprov@filerev - \let\fileinfo\svnprov@fileinfo \expandafter\svnprov@getversion \svnprov@fileinfo\relax{} \relax\svnprov@endmarker + \let\fileversion\svnprov@fileversion + \let\fileinfo\svnprov@fileinfoonly \else \PackageError{svn-prov}{Macro \textbackslash GetFileInfoSVN without '*' is not implemented yet.}{}{}{}% \fi } +\newcommand*\DefineFileInfoSVN[1][\svnprov@filemask]{% + \expandafter\svnprov@getversion + \svnprov@fileinfo\relax{} \relax\svnprov@endmarker + \expandafter + \let\csname#1@date\endcsname\svnprov@filedate + \expandafter + \let\csname#1@version\endcsname\svnprov@fileversion + \expandafter + \let\csname#1@rev\endcsname\svnprov@filerev + \expandafter + \let\csname#1@info\endcsname\svnprov@fileinfoonly +} \def\svnprov@getversion#1 #2\relax#3\svnprov@endmarker{% \if&% - \def\fileversion{??}% + \def\svnprov@fileversion{??}% \else - \def\fileversion{#1}% - \def\fileinfo{#2}% + \def\svnprov@fileversion{#1}% + \def\svnprov@fileinfoonly{#2}% \fi } -\ProvidesPackageSVN{$Id: svn-prov.dtx 922 2009-04-26 19:18:53Z martin $}% - [\fileversion\space Package Date/Version from SVN Keywords] -\let\fileversion\svnprov@orig@fileversion -\let\svnprov@orig@fileversion\@undefined +\ProvidesPackageSVN{$Id: svn-prov.dtx 1049 2009-05-03 00:24:49Z martin $}% + [\svnprov@version\space Package Date/Version from SVN Keywords] + \endinput %% %% End of file `svn-prov.sty'. |