From a7956e764d3d3af5690ecb941bf6e6152f9c7f97 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Mar 2010 18:33:07 +0000 Subject: svninfo update (24mar10) git-svn-id: svn://tug.org/texlive/trunk@17554 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/svninfo/README | 9 +-- Master/texmf-dist/doc/latex/svninfo/svninfo.pdf | Bin 157308 -> 274729 bytes Master/texmf-dist/source/latex/svninfo/Makefile | 4 +- Master/texmf-dist/source/latex/svninfo/svninfo.dtx | 70 +++++++++++---------- Master/texmf-dist/source/latex/svninfo/svninfo.ins | 6 +- Master/texmf-dist/tex/latex/svninfo/svninfo.cfg | 2 +- Master/texmf-dist/tex/latex/svninfo/svninfo.sty | 15 ++--- 7 files changed, 54 insertions(+), 52 deletions(-) diff --git a/Master/texmf-dist/doc/latex/svninfo/README b/Master/texmf-dist/doc/latex/svninfo/README index a0c3661c289..8ee1c8af6bc 100644 --- a/Master/texmf-dist/doc/latex/svninfo/README +++ b/Master/texmf-dist/doc/latex/svninfo/README @@ -1,13 +1,13 @@ `svninfo' - version 0.7.3, August 9, 2008 + version 0.7.4, March 23, 2010 This package is used to extract the revision and file information provided by the subversion revision control system. -Copyright (C) 2003-2008 Achim D. Brucker -email: brucker@freiburg.linux.de +Copyright (C) 2003-2010 Achim D. Brucker +email: brucker@member.fsf.org License: This program can be redistributed and/or modified under the terms @@ -49,8 +49,9 @@ to a place where LaTeX can find it ============================================================================ HISTORY +0.7.4 : Fixed localization of date formats, e.g., \svnToday. 0.7.3 : Fixed bug resulting in wrong date for maximal - revision (\svnInfoMaxToday) + revision (\svnInfoMaxToday). 0.7.2 : Fixed documentation: the option for using scrpage2 package is called scrpage. Fixed support for svk. 0.7.1 : Fixed \svnMaxToday and introduced \svnInfoMaxToday as an alternative diff --git a/Master/texmf-dist/doc/latex/svninfo/svninfo.pdf b/Master/texmf-dist/doc/latex/svninfo/svninfo.pdf index 9c2515752c5..53fefdce8a0 100644 Binary files a/Master/texmf-dist/doc/latex/svninfo/svninfo.pdf and b/Master/texmf-dist/doc/latex/svninfo/svninfo.pdf differ diff --git a/Master/texmf-dist/source/latex/svninfo/Makefile b/Master/texmf-dist/source/latex/svninfo/Makefile index 510e4ab2d6a..822d6e301dc 100644 --- a/Master/texmf-dist/source/latex/svninfo/Makefile +++ b/Master/texmf-dist/source/latex/svninfo/Makefile @@ -3,7 +3,7 @@ ## ## For configuration, update the following defines: ## -## $Id: Makefile 3963 2008-08-08 21:42:56Z brucker $ +## $Id: Makefile 4701 2010-03-21 19:44:08Z brucker $ ## ## This file ist part of the svninfo package. Please see the file ## svninfo.dtx for copyright information. @@ -24,7 +24,7 @@ TAR = tar ######################################################################## -REV = 0.7.3 +REV = 0.7.4 TAR_FILE = svninfo-$(REV).tar.gz TAR_DIR = svninfo-$(REV) SRC = svninfo.dtx svninfo.ins README Makefile diff --git a/Master/texmf-dist/source/latex/svninfo/svninfo.dtx b/Master/texmf-dist/source/latex/svninfo/svninfo.dtx index 409013e9aee..e8e70d0c850 100644 --- a/Master/texmf-dist/source/latex/svninfo/svninfo.dtx +++ b/Master/texmf-dist/source/latex/svninfo/svninfo.dtx @@ -10,7 +10,7 @@ %% by the Subversion revision control system. %% %% Copyright (C) 1995 Dr. Juergen Vollmer -%% Copyright (C) 2003-2008 Achim D. Brucker +%% Copyright (C) 2003-2010 Achim D. Brucker %% %% License: %% This program can be redistributed and/or modified under the terms @@ -70,6 +70,8 @@ % \newcommand{\Id}{\texttt{\$Id\$}} % \newcommand{\SvnInfoCmd}[1]{\texttt{$\backslash$svnInfo\blank\$Id#1\$\blank}} % +% \changes{v0.7.4}{2010/03/23}{Fixed localization of date formats, +% e.g., \texttt{\\svnToday}.} % \changes{v0.7.3}{2008/08/09}{Fixed bug resulting in wrong date for maximal % revision} % \changes{v0.7.2}{2008/04/28}{Fixed documentation: the option for using @@ -84,8 +86,8 @@ % \texttt{\\svnMaxToday}; and fixed the use of \texttt{fancyhdr} for % single-sided documents.} % \changes{v0.6}{2006/05/11}{Added \texttt{\\svnInfoMinRevision} and -% \texttt{\\svnInfoMaxRevision} together with the option -% \texttt{revrange}. Also added support for \texttt{\textbackslash} in keywords.} +% \texttt{\\svnInfoMaxRevision} together with the option +% \texttt{revrange}. Also added support for \texttt{\textbackslash} in keywords.} % \changes{v0.5}{2006/01/11}{Removed support for \LatexToHtml{} (it is % non-free software and also seems to be unmaintained) and added new % command \texttt{\\svnKeyword} for defining arbitrary svn keywords @@ -102,9 +104,9 @@ % % \title{The \texttt{svninfo} package} % \author{Achim D.~Brucker\\ -% {\footnotesize brucker@freiburg.linux.de}\\ +% {\footnotesize brucker@member.fsf.org}\\ % {\footnotesize http://www.brucker.ch/}} -% \date{August 9, 2008\\Version 0.7.3} +% \date{March 23, 2010\\Version 0.7.4} % % \maketitle % @@ -126,7 +128,7 @@ % that are expanded by the \Svn\ and \Svk\ \emph{update} % commands.\footnote{The expansion of keywords has to be enabled % manually, e.g., \texttt{svn propset svn:keywords "Id" -% svninfo.dtx}.} The most informative keyword is |$Id$| which +% svninfo.dtx}.} The most informative keyword is |$Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $| which % contains a lot of useful information. This information is made % available through this package. Additionally, the package allows one % to extract also the information from the more specific keywords, @@ -174,11 +176,11 @@ % Use \texttt{svk} for parsing the Id information generated by % \Svk. % \item[today] -% Set the date of |\svnToday| to the date obtained by the \Svn\ information. +% Set the date of |\today| to the date obtained by the \Svn\ information. % If the \Id\ string is not expanded (see below), the current date is % used. % \item[notoday] -% Don't use the \Svn\ date for |\svnToday|. +% Don't use the \Svn\ date for |\today|. % \item[revrange] For multi-file documents, display minimum and % maximum revision. Every file of the document must either % include a |\svnInfo| or a |\svnKeyword $Revision:$| statement. @@ -207,7 +209,7 @@ % \item[long] % If used together with \texttt{fancy} / \texttt{fancyhdr} the date % string is printed in the long format -% as |\svnToday| returns it. If \texttt{fancy} / \texttt{fancyhdr} +% as |\today| returns it. If \texttt{fancy} / \texttt{fancyhdr} % is not used, nothing. % \item[short] % If used together with \texttt{fancy} / \texttt{fancyhdr} the date @@ -328,29 +330,29 @@ % \bigskip %} % -% \svnInfo $Id$ +% \svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $ % |\svnInfo| not expanded, no colon\\ % \verb+\svnInfo $+\verb+Id$+\\ % \svnExample % -% \svnInfo $Id:$ +% \svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $ % |\svnInfo| not expanded, having colon\\ % \verb+\svnInfo $+\verb+Id:$+\\ % \svnExample % -% \svnInfo $Id: svninfo.dtx 1168 2005-04-08 06:18:47Z brucker $ +% \svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $ % |\svnInfo| standard version\\ -% {\small\verb+\svnInfo $Id: svninfo.dtx 1168 2005-04-08 06:18:47Z brucker $+}\\ +% {\small\verb+\svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $+}\\ % \svnExample % -% \svnInfo $Id: svninfo.dtx 1168 2005-04-08 06:18:47Z $ +% \svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $ % |\svnInfo| standard version without owner\\ -% {\small\verb+\svnInfo $Id: svninfo.dtx 1168 2005-04-08 06:18:47Z $+}\\ +% {\small\verb+\svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $+}\\ % \svnExample % -% \svnInfo $Id: svninfo.dtx 1168 2005-04-08 06:18:47Z infsec\brucker $ +% \svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $ % |\svnInfo| standard version with \\ in the owner \\ -% {\small\verb+\svnInfo $Id: svninfo.dtx 1168 2005-04-08 06:18:47Z brucker $+}\\ +% {\small\verb+\svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $+}\\ % \svnExample % % \svnInfo Id: svninfo.dtx 12 2002-04-19 12:27:55 brucker $ @@ -360,7 +362,7 @@ % % \section{The generic \Svn\ keyword interface} % In addition to the already presented |\svnInfo| macro which is -% specially built for analyzing the \Svn\ |$Id$| information we also +% specially built for analyzing the \Svn\ |$Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $| information we also % provide a generic interface via % |\svnKeyword|\DescribeMacro{\svnKeyword}. This interface can % be used to extract information from the remaining keywords: @@ -403,7 +405,7 @@ % % Note, the parser used by |\svnKeyword| is not that powerful than % the one used by |\svnInfo|. Thus it is advisable to use -% |\svnKeywordId| for the |$Id$| keyword and |\svnKeyword| +% |\svnKeywordId| for the |$Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $| keyword and |\svnKeyword| % only for the keywords described in this section. % % Further, the |\svnKeyword| macro does not reset all keyword @@ -424,17 +426,18 @@ % % Further I want to thank all the people that reported bugs and ideas % for improvements, often including patches: Andreas Haller, Benjamin -% Hiller, Christophe Jacquet, Dries Kimpe, Jami Lawrence, Henning Lenz, -% Stefan Mann, Nigel Metheringham, Igor Nikolic, Michael Niedermair, -% Heiko Oberdiek, Bernd Raichle, Krzysztof Retel, J\"org, Sommer, Arnout -% Standaert, Daniel Tr\"umper, Thomas Weber, and Uwe Ziegenhagen. +% Hiller, Christophe Jacquet, Dries Kimpe, Jami Lawrence, Henning +% Lenz, Stefan Mann, Nigel Metheringham, Igor Nikolic, Michael +% Niedermair, Heiko Oberdiek, Oliver Pons, Bernd Raichle, Krzysztof +% Retel, J\"org, Sommer, Arnout Standaert, Daniel Tr\"umper, Thomas +% Weber, and Uwe Ziegenhagen. % % \section{Copyright and License} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \begin{tabular}{ll} % Copyright (\copyright) 1995 & Dr. J{\"u}rgen Vollmer\\ -% Copyright (\copyright) 2003--2008 & Achim D.~Brucker \texttt{brucker@freiburg.linux.de}\\ +% Copyright (\copyright) 2003--2010 & Achim D.~Brucker \texttt{brucker@member.fsf.org}\\ % \end{tabular} % % \noindent This program can be redistributed and/or modified under @@ -512,7 +515,7 @@ % \begin{macrocode} %<*package> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{svninfo}[2008/08/09 v0.7.3] +\ProvidesPackage{svninfo}[2010/03/22 v0.7.4] % \end{macrocode} % % Declare some local counters to store the \Svn\ date @@ -685,10 +688,11 @@ % we have to redefine |\svnToday| (otherwise the changed |\year|, |\month| and % |\day| won't work). In this case use the English version of |\svnToday|. % \begin{macrocode} -\def\svnToday{\ifcase\month\or - January\or February\or March\or April\or May\or June\or - July\or August\or September\or October\or November\or December\fi - \space\number\day, \number\year} +\def\svnToday{\@svnInfoToday} +%ifcase\month\or +% January\or February\or March\or April\or May\or June\or +% July\or August\or September\or October\or November\or December\fi +% \space\number\day, \number\year} % \end{macrocode} % % We have a problem, since the number of arguments of |\svnInfo| vary from @@ -872,7 +876,7 @@ \year =\@svnInfoYear \month =\@svnInfoMonth \day =\@svnInfoDay - \svnToday + \today \endgroup } \def\@svnInfoMaxToday {% @@ -880,7 +884,7 @@ \year =\svnInfoMaxYear \month =\svnInfoMaxMonth \day =\svnInfoMaxDay - \svnToday + \today \endgroup } @@ -1227,7 +1231,7 @@ \svn@parse@id$#2$ }% \def\svn@parse@id$#1 : ${% - \svnInfo $Id: #1 $ % + \svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $ % }% % \end{macrocode} % \end{macro} @@ -1336,7 +1340,7 @@ \Msg{} \Msg{***********************************************************} \Msg{** Hello to the installation of the `svninfo' package.} -\Msg{** Version 0.7.3, August 9, 2009} +\Msg{** Version 0.7.4, March 22, 2010} \Msg{***********************************************************} \Msg{} diff --git a/Master/texmf-dist/source/latex/svninfo/svninfo.ins b/Master/texmf-dist/source/latex/svninfo/svninfo.ins index d518ab3ab56..7c3404f8477 100644 --- a/Master/texmf-dist/source/latex/svninfo/svninfo.ins +++ b/Master/texmf-dist/source/latex/svninfo/svninfo.ins @@ -29,7 +29,7 @@ %% by the Subversion revision control system. %% %% Copyright (C) 1995 Dr. Juergen Vollmer -%% Copyright (C) 2003-2008 Achim D. Brucker +%% Copyright (C) 2003-2010 Achim D. Brucker %% License: %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN @@ -37,7 +37,7 @@ %% version 1 of the License, or any later version. %% %% -%% $Id: svninfo.dtx 99 2003-09-06 15:13:28Z abrucker $ +%% $Id: svninfo.ins 4705 2010-03-23 19:57:29Z brucker $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% \CheckSum{389} @@ -63,7 +63,7 @@ \Msg{} \Msg{***********************************************************} \Msg{** Hello to the installation of the `svninfo' package.} -\Msg{** Version 0.7.3, August 9, 2008} +\Msg{** Version 0.7.4, March 23, 2010} \Msg{***********************************************************} \Msg{} diff --git a/Master/texmf-dist/tex/latex/svninfo/svninfo.cfg b/Master/texmf-dist/tex/latex/svninfo/svninfo.cfg index 3824f30df22..3f9e5041341 100644 --- a/Master/texmf-dist/tex/latex/svninfo/svninfo.cfg +++ b/Master/texmf-dist/tex/latex/svninfo/svninfo.cfg @@ -8,7 +8,7 @@ %% by the Subversion revision control system. %% %% Copyright (C) 1995 Dr. Juergen Vollmer -%% Copyright (C) 2003-2008 Achim D. Brucker +%% Copyright (C) 2003-2010 Achim D. Brucker %% %% License: %% This program can be redistributed and/or modified under the terms diff --git a/Master/texmf-dist/tex/latex/svninfo/svninfo.sty b/Master/texmf-dist/tex/latex/svninfo/svninfo.sty index 205bc2d189e..d63989afe19 100644 --- a/Master/texmf-dist/tex/latex/svninfo/svninfo.sty +++ b/Master/texmf-dist/tex/latex/svninfo/svninfo.sty @@ -30,7 +30,7 @@ %% by the Subversion revision control system. %% %% Copyright (C) 1995 Dr. Juergen Vollmer -%% Copyright (C) 2003-2008 Achim D. Brucker +%% Copyright (C) 2003-2010 Achim D. Brucker %% %% License: %% This program can be redistributed and/or modified under the terms @@ -59,7 +59,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{svninfo}[2008/08/09 v0.7.3] +\ProvidesPackage{svninfo}[2010/03/22 v0.7.4] \newcount\@svnInfoDay \newcount\@svnInfoMonth \newcount\@svnInfoYear @@ -151,10 +151,7 @@ \fi \fi \RequirePackage{ifthen} -\def\svnToday{\ifcase\month\or - January\or February\or March\or April\or May\or June\or - July\or August\or September\or October\or November\or December\fi - \space\number\day, \number\year} +\def\svnToday{\@svnInfoToday} \def\@svnBeginRead{\begingroup @@ -250,7 +247,7 @@ \year =\@svnInfoYear \month =\@svnInfoMonth \day =\@svnInfoDay - \svnToday + \today \endgroup } \def\@svnInfoMaxToday {% @@ -258,7 +255,7 @@ \year =\svnInfoMaxYear \month =\svnInfoMaxMonth \day =\svnInfoMaxDay - \svnToday + \today \endgroup } @@ -461,7 +458,7 @@ \svn@parse@id$#2$ }% \def\svn@parse@id$#1 : ${% - \svnInfo $Id: #1 $ % + \svnInfo $Id: svninfo.dtx 4705 2010-03-23 19:57:29Z brucker $ % }% \def\svnKeyword@Author@unexp#1#2{}% -- cgit v1.2.3