summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-22 17:19:19 +0000
committerKarl Berry <karl@freefriends.org>2007-04-22 17:19:19 +0000
commit09443fcc9d28c368cae1ee0a429df3196b4ea706 (patch)
tree7668c253f33e75c58e2f250a843b585bdb5afa95
parent8a756de114b8f79175c82eecacd9a7c87546982f (diff)
svninfo 0.7.1 (17apr07)
git-svn-id: svn://tug.org/texlive/trunk@4175 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/svninfo/README4
-rw-r--r--Master/texmf-dist/doc/latex/svninfo/svninfo.init1
-rw-r--r--Master/texmf-dist/doc/latex/svninfo/svninfo.pdfbin156587 -> 155607 bytes
-rw-r--r--Master/texmf-dist/source/latex/svninfo/Makefile4
-rw-r--r--Master/texmf-dist/source/latex/svninfo/svninfo.dtx133
-rw-r--r--Master/texmf-dist/source/latex/svninfo/svninfo.ins2
-rw-r--r--Master/texmf-dist/tex/latex/svninfo/svninfo.cfg1
-rw-r--r--Master/texmf-dist/tex/latex/svninfo/svninfo.sty59
-rw-r--r--Master/texmf-dist/tpm/svninfo.tpm10
9 files changed, 124 insertions, 90 deletions
diff --git a/Master/texmf-dist/doc/latex/svninfo/README b/Master/texmf-dist/doc/latex/svninfo/README
index 4a4793670dc..fe8f9cc70e1 100644
--- a/Master/texmf-dist/doc/latex/svninfo/README
+++ b/Master/texmf-dist/doc/latex/svninfo/README
@@ -1,7 +1,7 @@
`svninfo'
- version 0.7, March 26, 2007
+ version 0.7.1, April 17, 2007
This package is used to extract the revision and file information provided
by the subversion revision control system.
@@ -49,6 +49,8 @@ to a place where LaTeX can find it
============================================================================
HISTORY
+0.7.1 : Fixed \svnMaxToday and introduced \svnInfoMaxToday as an alternative
+ name. Improved documentation
0.7 : Added option margin for showing version info in the margins of the
document; added option svk for supporting the keyword expansion of svk;
added new command \svnMaxToday; and fixed the use of fancyhdr for
diff --git a/Master/texmf-dist/doc/latex/svninfo/svninfo.init b/Master/texmf-dist/doc/latex/svninfo/svninfo.init
index 14c1a56f34c..b9e76301e3b 100644
--- a/Master/texmf-dist/doc/latex/svninfo/svninfo.init
+++ b/Master/texmf-dist/doc/latex/svninfo/svninfo.init
@@ -1,4 +1,3 @@
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/doc/latex/svninfo/svninfo.pdf b/Master/texmf-dist/doc/latex/svninfo/svninfo.pdf
index 6606ffb41f5..d91d416591f 100644
--- a/Master/texmf-dist/doc/latex/svninfo/svninfo.pdf
+++ b/Master/texmf-dist/doc/latex/svninfo/svninfo.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/svninfo/Makefile b/Master/texmf-dist/source/latex/svninfo/Makefile
index b704906a6a4..ecf11c5ae45 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 3045 2007-03-25 20:34:21Z brucker $
+## $Id: Makefile 3114 2007-04-17 05:53:05Z 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
+REV = 0.7.1
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 8135a16abf3..26a542b638e 100644
--- a/Master/texmf-dist/source/latex/svninfo/svninfo.dtx
+++ b/Master/texmf-dist/source/latex/svninfo/svninfo.dtx
@@ -70,6 +70,9 @@
% \newcommand{\Id}{\texttt{\$Id\$}}
% \newcommand{\SvnInfoCmd}[1]{\texttt{$\backslash$svnInfo\blank\$Id#1\$\blank}}
%
+% \changes{v0.7.1}{2007/04/27}{Fixed \texttt{\\svnMaxToday} and
+% introduced \texttt{\\svnInfoMaxToday} as an alternative
+% name. Improved documentation}
% \changes{v0.7}{2007/03/26}{Added option \texttt{margin} for showing
% version info in the margins of the document; added option
% \texttt{svk} for supporting the keyword expansion of svk; added command
@@ -96,7 +99,7 @@
% \author{Achim D.~Brucker\\
% {\footnotesize brucker@freiburg.linux.de}\\
% {\footnotesize http://www.brucker.ch/}}
-% \date{March 26, 2007\\Version 0.7}
+% \date{April 17, 2007\\Version 0.7.1}
%
% \maketitle
%
@@ -111,20 +114,30 @@
%
% To maintain different versions of a document or to keep track on the
% development of one, the document is kept under a revision control
-% system like \emph{SCCS}, \emph{CVS}, or \Svn. This package assumes
-% you are using either the \Svn\ or the \Svk\ system. To present the
-% version information of a document, one needs to extract it from some
-
-% \Svk\ offer therefore several keywords that are expanded by the
-% \Svn\ and \Svk\ \emph{update} commands. The most informative keyword
-% is |$Id$| 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, e.g., |$Author$| or |$Date$|.
-%
-% In this documentation we we \Svn in the examples; but the results
-% should be similar if you use \Svk. Note that you to use the
-% \texttt{svk} option if you use \Svk.
+% system like \emph{SCCS}, \emph{CVS}, \Svn, or \Svk. This package
+% assumes you are using either the \Svn\ or the \Svk\ system. To
+% present the version information of a document, one needs to extract
+% it from somewhere. For example, \Svk and \Svn offer several keywords
+% 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
+% 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,
+% e.g., |$Author$| or |$Date$|.
+%
+% In this documentation we use \Svn in the examples; but the results
+% should be similar if you are using \Svk. Note that you have to use
+% the \texttt{svk} option if you use \Svk.
+%
+% Moreover, one has to set the \Svn property for keywords expansion of
+% that file, e.g., by executing:
+% \begin{verbatim}
+% svn propset svn:keywords "Id" svninfo.dtx
+% \end{verbatim}
+% Please consult the manual of \Svn (e.g., \emph{h}) or \Svk for further
+% details about keyword expansion.
%
% The information obtained from the expanded \Id\ string are
% \begin{itemize}
@@ -151,7 +164,6 @@
%\subsection{Options}
%
% Options for this package are:
-%
% \begin{description}
% \item[svk]
% Use \texttt{svk} for parsing the Id information generated by
@@ -163,7 +175,7 @@
% \item[notoday]
% Don't use the \Svn\ date for |\svnToday|.
% \item[revrange] For multi-file documents, display minimum and
-% maximium revision. Every file of the document must either
+% maximum revision. Every file of the document must either
% include a |\svnInfo| or a |\svnKeyword $Revision:$| statement.
% This is information needs two runs of \LaTeX{} to be correct.
% \item[fancyhdr]
@@ -281,9 +293,8 @@
% information.
% \item \DescribeMacro{\svnToday} The date obtained from the \Svn\ information
% in the format |\today| is using.
-% \item \DescribeMacro{\svnMaxToday} The date obtained from the latest
-% \Svn revision in the format |\today| is using, e.g., you can
-% use something like |\date{\svnMaxToday}| in your preample.
+% \item \DescribeMacro{\svnInfoMaxToday} The date obtained from the latest
+% \Svn revision in the format |\today| is using.
% \end{itemize}
% \section{Examples}
%
@@ -302,8 +313,11 @@
% \Cmd{svnInfoMonth} & \svnInfoMonth \\
% \Cmd{svnInfoDay} & \svnInfoDay \\
% \Cmd{svnInfoLongDate} & \svnInfoLongDate \\
-% \Cmd{svnToday} & \svnToday \\
-% \Cmd{svnMaxToday} & \svnMaxToday \\
+% \Cmd{svnToday} & \svnToday \\
+% \Cmd{svnInfoMaxYear} & \svnInfoMaxYear \\
+% \Cmd{svnInfoMaxDay} & \svnInfoMaxDay \\
+% \Cmd{svnInfoMaxMonth} & \svnInfoMaxMonth \\
+% \Cmd{svnInfoMaxToday} & \svnInfoMaxToday \\
% \end{tabular}\\
% \Cmd{svnId} \svnId
% \bigskip
@@ -371,7 +385,7 @@
% detail:
% \begin{itemize}
% \item |\svnKeyword $Date:$| updates the date and time
-% informations, e.g., |\svnInfoDate|\DescribeMacro{\svnInfoDate},
+% information, e.g., |\svnInfoDate|\DescribeMacro{\svnInfoDate},
% |\svnInfoMonth|\DescribeMacro{\svnInfoMonth}, or
% |\svnInfoTime|\DescribeMacro{\svnInfoTime}.
% \item |\svnKeyword $Revision:$| updates
@@ -392,7 +406,7 @@
% of one file, with the |$Author$| of another file. Please take
% care of that!
%
-% \section{Acknowledgements}
+% \section{Acknowledgments}
% %%%%%%%%%%%%%%%%%%%%%%%%%
% This package is based on \texttt{rcsinfo} from Dr.~J{\"u}rgen
% Vollmer. The \texttt{rcsinfo} package is distributed via the CTAN
@@ -404,10 +418,11 @@
% ('\texttt{macros/latex/contrib/svn}').
%
% Further I want to thank all the people that reported bugs and ideas
-% for improvements, often including patches: Christophe Jacquet, Jami
-% Lawrence, Stefan Mann, Nigel Metheringham, Michael Niedermair, Heiko
-% Oberdiek, Bernd Raichle, J\"org Sommer, Arnout Standaert, Daniel
-% Tr\"umper, Thomas Weber, and Uwe Ziegenhagen.
+% for improvements, often including patches: Andreas Haller, Christophe
+% Jacquet, Jami Lawrence, Stefan Mann, Nigel Metheringham, Igor
+% Nikolic, Michael Niedermair, Heiko Oberdiek, Bernd Raichle, J\"org
+% Sommer, Arnout Standaert, Daniel Tr\"umper, Thomas Weber, and Uwe
+% Ziegenhagen.
%
% \section{Copyright and License}
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -492,7 +507,7 @@
% \begin{macrocode}
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{svninfo}[2007/03/26 v0.8]
+\ProvidesPackage{svninfo}[2007/04/17 v0.7.1]
% \end{macrocode}
%
% Declare some local counters to store the \Svn\ date
@@ -500,9 +515,6 @@
\newcount\@svnInfoDay
\newcount\@svnInfoMonth
\newcount\@svnInfoYear
-\newcount\@svnInfoMaxDay
-\newcount\@svnInfoMaxMonth
-\newcount\@svnInfoMaxYear
% \end{macrocode}
%
% To memorize, that we want to set |\svnToday| to the date obtained by the
@@ -782,25 +794,23 @@
\def\@svnInfoCrackString #1 #2 #3 #4 #5 {%
\def\svnInfoFile{#1}%
\def\svnInfoRevision{#2}%
- \ifthenelse{\(\equal{\svnInfoMaxRevision}{--maxrevision--}\) %
- \OR \( #2 > \svnInfoMaxRevision \)}{%
- \@svnInfoMaxYear =\@svnInfoYear
- \@svnInfoMaxMonth =\@svnInfoMonth
- \@svnInfoMaxDay =\@svnInfoDay
- \def\svnInfoMaxRevision{#2}%
- }{}%
- \ifthenelse{\(\equal{\svnInfoMinRevision}{--minrevision--}\) %
- \OR \( #2 < \svnInfoMinRevision \)}{\def\svnInfoMinRevision{#2}}{}%
\def\svnInfoTime{#4}%
-%
- \@svnInfoSplitDate x#3x%
+ %
+ \@svnInfoSplitDate x#3r#2x%
\@svnInfoMargin%
\def\svnInfoLongDate{\@svnInfoToday}%
+%
\if@svnInfoToday@
\year =\@svnInfoYear
\month =\@svnInfoMonth
\day =\@svnInfoDay
\fi
+\ifthenelse{\(\equal{\svnInfoMaxRevision}{--maxrevision--}\) %
+ \OR \( \svnInfoMaxRevision < #2 \)}{%
+ \def\svnInfoMaxRevision{#2}%
+ }{}%
+ \ifthenelse{\(\equal{\svnInfoMinRevision}{--minrevision--}\) %
+ \OR \( #2 < \svnInfoMinRevision \)}{\def\svnInfoMinRevision{#2}}{}%
\if $#5 \def\svnInfoOwner{}%$%
\def\svnId{#1\ #2\ #3\ #4}%
\else
@@ -817,16 +827,28 @@
% It takes a \texttt{x}\emph{YYYY-MM-DD}\texttt{x} style of argument.
% \begin{macrocode}
\if@svnInfoSVK@
- \def\@svnInfoSplitDate x#1-#2-#3T#4Zx{%
+ \def\@svnInfoSplitDate x#1-#2-#3T#4Zr#4x{%
\@svnInfoDay =#3\relax
\@svnInfoMonth=#2\relax
\@svnInfoYear =#1\relax
+ \ifthenelse{\(\equal{\svnInfoMaxRevision}{--maxrevision--}\) %
+ \OR \( \svnInfoMaxRevision < #4 \)}{%
+ \def\svnInfoMaxYear{#1}%
+ \def\svnInfoMaxMonth{#2}%
+ \def\svnInfoMaxDay{#3}%
+ }{}%
}
\else%
- \def\@svnInfoSplitDate x#1-#2-#3x{%
+ \def\@svnInfoSplitDate x#1-#2-#3r#4x{%
\@svnInfoDay =#3\relax
\@svnInfoMonth=#2\relax
\@svnInfoYear =#1\relax
+ \ifthenelse{\(\equal{\svnInfoMaxRevision}{--maxrevision--}\) %
+ \OR \( \svnInfoMaxRevision < #4 \)}{%
+ \def\svnInfoMaxYear{#1}%
+ \def\svnInfoMaxMonth{#2}%
+ \def\svnInfoMaxDay{#3}%
+ }{}%
}
\fi%
% \end{macrocode}
@@ -850,9 +872,9 @@
}
\def\@svnInfoMaxToday {%
\begingroup
- \year =\@svnInfoMaxYear
- \month =\@svnInfoMaxMonth
- \day =\@svnInfoMaxDay
+ \year =\svnInfoMaxYear
+ \month =\svnInfoMaxMonth
+ \day =\svnInfoMaxDay
\svnToday
\endgroup
}
@@ -867,9 +889,9 @@
\@svnInfoYear =\year
\@svnInfoMonth =\month
\@svnInfoDay =\day
- \@svnInfoMaxYear =\year
- \@svnInfoMaxMonth =\month
- \@svnInfoMaxDay =\day
+ \ifthenelse{\isundefined{\svnInfoMaxYear}}{\def\svnInfoMaxYear{\the\year}}{}
+ \ifthenelse{\isundefined{\svnInfoMaxMonth}}{\def\svnInfoMaxMonth{\the\month}}{}
+ \ifthenelse{\isundefined{\svnInfoMaxDay}}{\def\svnInfoMaxDay{\the\day}}{}
\def\svnInfoFile{--sourcefile--}%
\def\svnInfoHeadURL{--head-url--}%
\def\svnInfoDate{\the\@svnInfoYear-\two@digits\@svnInfoMonth-%
@@ -883,7 +905,8 @@
\def\svnInfoMonth{\the\@svnInfoMonth}%
\def\svnInfoDay{\the\@svnInfoDay}%
\def\svnInfoLongDate{\@svnInfoToday}%
- \ifthenelse{\isundefined{\svnInoMaxToday}}{\def\svnMaxToday{\@svnInfoMaxToday}}{}%
+ \def\svnInfoMaxToday{\@svnInfoMaxToday}%
+ \def\svnMaxToday{\@svnInfoMaxToday}%
\def\svnId{\svnInfoFile\ \svnInfoRevision\ \svnInfoTime\ \svnInfoOwner}%
}
@@ -1034,7 +1057,9 @@
\AtEndDocument{%
\immediate\write\@mainaux{\string\gdef\string\svnInfoMinRevision{\svnInfoMinRevision}}%
\immediate\write\@mainaux{\string\gdef\string\svnInfoMaxRevision{\svnInfoMaxRevision}}%
- \immediate\write\@mainaux{\string\gdef\string\svnMaxToday{\immediate\svnMaxToday}}%
+ \immediate\write\@mainaux{\string\gdef\string\svnInfoMaxDay{\svnInfoMaxDay}}%
+ \immediate\write\@mainaux{\string\gdef\string\svnInfoMaxMonth{\svnInfoMaxMonth}}%
+ \immediate\write\@mainaux{\string\gdef\string\svnInfoMaxYear{\svnInfoMaxYear}}%
}
% \end{macrocode}
%\subsection{The generic \texttt{\string\svnKeyword} command}
@@ -1306,7 +1331,7 @@
\Msg{}
\Msg{***********************************************************}
\Msg{** Hello to the installation of the `svninfo' package.}
-\Msg{** Version 0.7, March 26, 2007}
+\Msg{** Version 0.7.1, April 17, 2007}
\Msg{***********************************************************}
\Msg{}
diff --git a/Master/texmf-dist/source/latex/svninfo/svninfo.ins b/Master/texmf-dist/source/latex/svninfo/svninfo.ins
index 9d0d72f70f7..ac130e957d4 100644
--- a/Master/texmf-dist/source/latex/svninfo/svninfo.ins
+++ b/Master/texmf-dist/source/latex/svninfo/svninfo.ins
@@ -63,7 +63,7 @@
\Msg{}
\Msg{***********************************************************}
\Msg{** Hello to the installation of the `svninfo' package.}
-\Msg{** Version 0.7, March 26, 2007}
+\Msg{** Version 0.7.1, April 17, 2007}
\Msg{***********************************************************}
\Msg{}
diff --git a/Master/texmf-dist/tex/latex/svninfo/svninfo.cfg b/Master/texmf-dist/tex/latex/svninfo/svninfo.cfg
index f545c94d821..7277d74432d 100644
--- a/Master/texmf-dist/tex/latex/svninfo/svninfo.cfg
+++ b/Master/texmf-dist/tex/latex/svninfo/svninfo.cfg
@@ -36,6 +36,5 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-
\ExecuteOptions{fancyhdr}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/latex/svninfo/svninfo.sty b/Master/texmf-dist/tex/latex/svninfo/svninfo.sty
index 2a49fbc3b04..e873793942a 100644
--- a/Master/texmf-dist/tex/latex/svninfo/svninfo.sty
+++ b/Master/texmf-dist/tex/latex/svninfo/svninfo.sty
@@ -58,15 +58,11 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{svninfo}[2007/03/26 v0.8]
+\ProvidesPackage{svninfo}[2007/04/17 v0.7.1]
\newcount\@svnInfoDay
\newcount\@svnInfoMonth
\newcount\@svnInfoYear
-\newcount\@svnInfoMaxDay
-\newcount\@svnInfoMaxMonth
-\newcount\@svnInfoMaxYear
\newif\if@svnInfoToday@
\DeclareOption{today}{
\@svnInfoToday@true
@@ -200,17 +196,9 @@
\def\@svnInfoCrackString #1 #2 #3 #4 #5 {%
\def\svnInfoFile{#1}%
\def\svnInfoRevision{#2}%
- \ifthenelse{\(\equal{\svnInfoMaxRevision}{--maxrevision--}\) %
- \OR \( #2 > \svnInfoMaxRevision \)}{%
- \@svnInfoMaxYear =\@svnInfoYear
- \@svnInfoMaxMonth =\@svnInfoMonth
- \@svnInfoMaxDay =\@svnInfoDay
- \def\svnInfoMaxRevision{#2}%
- }{}%
- \ifthenelse{\(\equal{\svnInfoMinRevision}{--minrevision--}\) %
- \OR \( #2 < \svnInfoMinRevision \)}{\def\svnInfoMinRevision{#2}}{}%
\def\svnInfoTime{#4}%
- \@svnInfoSplitDate x#3x%
+ %
+ \@svnInfoSplitDate x#3r#2x%
\@svnInfoMargin%
\def\svnInfoLongDate{\@svnInfoToday}%
\if@svnInfoToday@
@@ -218,6 +206,12 @@
\month =\@svnInfoMonth
\day =\@svnInfoDay
\fi
+\ifthenelse{\(\equal{\svnInfoMaxRevision}{--maxrevision--}\) %
+ \OR \( \svnInfoMaxRevision < #2 \)}{%
+ \def\svnInfoMaxRevision{#2}%
+ }{}%
+ \ifthenelse{\(\equal{\svnInfoMinRevision}{--minrevision--}\) %
+ \OR \( #2 < \svnInfoMinRevision \)}{\def\svnInfoMinRevision{#2}}{}%
\if $#5 \def\svnInfoOwner{}%$%
\def\svnId{#1\ #2\ #3\ #4}%
\else
@@ -227,16 +221,28 @@
\fi
}
\if@svnInfoSVK@
- \def\@svnInfoSplitDate x#1-#2-#3T#4Zx{%
+ \def\@svnInfoSplitDate x#1-#2-#3T#4Zr#4x{%
\@svnInfoDay =#3\relax
\@svnInfoMonth=#2\relax
\@svnInfoYear =#1\relax
+ \ifthenelse{\(\equal{\svnInfoMaxRevision}{--maxrevision--}\) %
+ \OR \( \svnInfoMaxRevision < #4 \)}{%
+ \def\svnInfoMaxYear{#1}%
+ \def\svnInfoMaxMonth{#2}%
+ \def\svnInfoMaxDay{#3}%
+ }{}%
}
\else%
- \def\@svnInfoSplitDate x#1-#2-#3x{%
+ \def\@svnInfoSplitDate x#1-#2-#3r#4x{%
\@svnInfoDay =#3\relax
\@svnInfoMonth=#2\relax
\@svnInfoYear =#1\relax
+ \ifthenelse{\(\equal{\svnInfoMaxRevision}{--maxrevision--}\) %
+ \OR \( \svnInfoMaxRevision < #4 \)}{%
+ \def\svnInfoMaxYear{#1}%
+ \def\svnInfoMaxMonth{#2}%
+ \def\svnInfoMaxDay{#3}%
+ }{}%
}
\fi%
\def\@svnInfoToday {%
@@ -249,9 +255,9 @@
}
\def\@svnInfoMaxToday {%
\begingroup
- \year =\@svnInfoMaxYear
- \month =\@svnInfoMaxMonth
- \day =\@svnInfoMaxDay
+ \year =\svnInfoMaxYear
+ \month =\svnInfoMaxMonth
+ \day =\svnInfoMaxDay
\svnToday
\endgroup
}
@@ -260,9 +266,9 @@
\@svnInfoYear =\year
\@svnInfoMonth =\month
\@svnInfoDay =\day
- \@svnInfoMaxYear =\year
- \@svnInfoMaxMonth =\month
- \@svnInfoMaxDay =\day
+ \ifthenelse{\isundefined{\svnInfoMaxYear}}{\def\svnInfoMaxYear{\the\year}}{}
+ \ifthenelse{\isundefined{\svnInfoMaxMonth}}{\def\svnInfoMaxMonth{\the\month}}{}
+ \ifthenelse{\isundefined{\svnInfoMaxDay}}{\def\svnInfoMaxDay{\the\day}}{}
\def\svnInfoFile{--sourcefile--}%
\def\svnInfoHeadURL{--head-url--}%
\def\svnInfoDate{\the\@svnInfoYear-\two@digits\@svnInfoMonth-%
@@ -276,7 +282,8 @@
\def\svnInfoMonth{\the\@svnInfoMonth}%
\def\svnInfoDay{\the\@svnInfoDay}%
\def\svnInfoLongDate{\@svnInfoToday}%
- \ifthenelse{\isundefined{\svnInoMaxToday}}{\def\svnMaxToday{\@svnInfoMaxToday}}{}%
+ \def\svnInfoMaxToday{\@svnInfoMaxToday}%
+ \def\svnMaxToday{\@svnInfoMaxToday}%
\def\svnId{\svnInfoFile\ \svnInfoRevision\ \svnInfoTime\ \svnInfoOwner}%
}
@@ -390,7 +397,9 @@
\AtEndDocument{%
\immediate\write\@mainaux{\string\gdef\string\svnInfoMinRevision{\svnInfoMinRevision}}%
\immediate\write\@mainaux{\string\gdef\string\svnInfoMaxRevision{\svnInfoMaxRevision}}%
- \immediate\write\@mainaux{\string\gdef\string\svnMaxToday{\immediate\svnMaxToday}}%
+ \immediate\write\@mainaux{\string\gdef\string\svnInfoMaxDay{\svnInfoMaxDay}}%
+ \immediate\write\@mainaux{\string\gdef\string\svnInfoMaxMonth{\svnInfoMaxMonth}}%
+ \immediate\write\@mainaux{\string\gdef\string\svnInfoMaxYear{\svnInfoMaxYear}}%
}
\def\svnKeyword $#1${\svn@$#1: $}
\let\svnKeywordempty\relax
diff --git a/Master/texmf-dist/tpm/svninfo.tpm b/Master/texmf-dist/tpm/svninfo.tpm
index a78f552b5d6..68db3d5f798 100644
--- a/Master/texmf-dist/tpm/svninfo.tpm
+++ b/Master/texmf-dist/tpm/svninfo.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/svninfo.zip">
<TPM:Name>svninfo</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2007/04/02 18:57:24</TPM:Date>
+ <TPM:Date>2007/04/22 17:19:06</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>Typeset Subversion Keywords.</TPM:Title>
@@ -15,20 +15,20 @@ http://subversion.tigris.org/
[description copied from TeX Catalogue]
</TPM:Description>
<TPM:Author>Achim Brucker</TPM:Author>
- <TPM:Size>217955</TPM:Size>
+ <TPM:Size>226855</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="17016">
+ <TPM:RunFiles size="17560">
texmf-dist/tex/latex/svninfo/svninfo.cfg
texmf-dist/tex/latex/svninfo/svninfo.sty
texmf-dist/tpm/svninfo.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="158921">
+ <TPM:DocFiles size="158056">
texmf-dist/doc/latex/svninfo/README
texmf-dist/doc/latex/svninfo/svninfo.init
texmf-dist/doc/latex/svninfo/svninfo.pdf
</TPM:DocFiles>
- <TPM:SourceFiles size="50918">
+ <TPM:SourceFiles size="52153">
texmf-dist/source/latex/svninfo/Makefile
texmf-dist/source/latex/svninfo/svninfo.dtx
texmf-dist/source/latex/svninfo/svninfo.ins