summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/svninfo/svninfo.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/svninfo/svninfo.dtx')
-rw-r--r--Master/texmf-dist/source/latex/svninfo/svninfo.dtx70
1 files changed, 37 insertions, 33 deletions
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{}