summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-15 23:16:38 +0000
committerKarl Berry <karl@freefriends.org>2010-04-15 23:16:38 +0000
commit01645834cb18fc3b9c16d9dfed43a85b5710d923 (patch)
treefaaf99ea705fb533349d75ef2bb487a06f72b09d /Master
parent95fb2856ac83317b68771da62787d6a595d24372 (diff)
svn-prov v3.1859
git-svn-id: svn://tug.org/texlive/trunk@17884 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/svn-prov/svn-prov.pdfbin300897 -> 300946 bytes
-rw-r--r--Master/texmf-dist/source/latex/svn-prov/svn-prov.dtx87
-rw-r--r--Master/texmf-dist/source/latex/svn-prov/svn-prov.ins2
-rw-r--r--Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty16
4 files changed, 47 insertions, 58 deletions
diff --git a/Master/texmf-dist/doc/latex/svn-prov/svn-prov.pdf b/Master/texmf-dist/doc/latex/svn-prov/svn-prov.pdf
index 0d3cd6b7650..abc1f8148bf 100644
--- a/Master/texmf-dist/doc/latex/svn-prov/svn-prov.pdf
+++ b/Master/texmf-dist/doc/latex/svn-prov/svn-prov.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/svn-prov/svn-prov.dtx b/Master/texmf-dist/source/latex/svn-prov/svn-prov.dtx
index ed29694d8e7..616a5b3ec14 100644
--- a/Master/texmf-dist/source/latex/svn-prov/svn-prov.dtx
+++ b/Master/texmf-dist/source/latex/svn-prov/svn-prov.dtx
@@ -1,5 +1,5 @@
% \iffalse meta-comment
-% $Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $
+% $Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $
%
% Copyright (C) 2009-2010 by Martin Scharrer <martin@scharrer-online.de>
%
@@ -30,7 +30,7 @@
\def\svnprov@version{v3.\rev}
%</driver|package>
%<*driver>
-\ProvidesFileSVN{$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+\ProvidesFileSVN{$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
[\svnprov@version\space DTX for \filebase.sty]
\DefineFileInfoSVN
\GetFileInfoSVN*
@@ -41,8 +41,6 @@
\usepackage{ydoc}
\usepackage[hyperfootnotes=false]{hyperref}
\usepackage{booktabs}
-\usepackage[english]{babel}
-\dateenglish
\makeatletter
%%% Examples %%%
@@ -107,7 +105,7 @@
%</driver>
% \fi
%
-% \CheckSum{435}
+% \CheckSum{424}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -168,18 +166,19 @@
% ^^A\subsection{Subversion Id Keyword}
% The following macros need an Id keyword which can initially be written as
% `|$||Id:$|' and will be expanded by Subversion into the following format at
-% the next commit:\\[\smallskipamount]
+% the next commit:\par\smallskip
% \texttt{\frenchspacing\${}Id: \meta{filename} \meta{revision} \meta{date}
-% \meta{time} \meta{author} \$}\\[\smallskipamount]
-% e.g. for the source file of this document:\\*[\smallskipamount]
-% |$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $|
+% \meta{time} \meta{author} \$}
% \par\smallskip
-% For this to work the Subversion \emph{property} \texttt{svn:keywords} must be
+% \noindent e.g. for the source file of this document:\par\smallskip
+% |$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $|
+% \par\smallskip
+% \noindent For this to work the Subversion \emph{property} \texttt{svn:keywords} must be
% set to (at least) `|Id|' for the source file(s). e.g.\ using the command
-% line:\\[\smallskipamount]
+% line:\par\smallskip
% \texttt{svn propset 'svn:keyword' 'Id' \meta{filename(s)}}
-% \par\smallskip
-% \nopagebreak[3]
+% \par\smallskip\noindent
+% \nopagebreak[3]\unskip
% More information about using Subversion in the \LaTeX\ workflow can be found in the
% Prac\TeX{} Journal issue 2007-3\footnote
% {URL:
@@ -228,7 +227,8 @@
% \par\medskip
% \DescribeMacro\GetFileInfoSVN{<name>}
% \DescribeMacro\GetFileInfoSVN*
-% This macro sets the macros \cs{filebase}, \cs{fileext}, \cs{filename}, \cs{filedate}, \cs{fileversion}, \cs{filerev},
+% This macro\marginpar{\it\raggedright Non-star version added in v3. 2010/04/11}
+% sets the macros \cs{filebase}, \cs{fileext}, \cs{filename}, \cs{filedate}, \cs{fileversion}, \cs{filerev},
% \cs{fileinfo} and \cs{filetoday} to the corresponding values of the file given by \meta{name}. The file must have been
% read/loaded before and use both a \cs{Provides\ldots SVN} macro and \cs{DefineFileInfoSVN}, otherwise the above macros
% will be set to |\relax|. The \meta{name} can be either the real filename or the optional short name used with
@@ -240,15 +240,14 @@
% The macros \cs{fileversion} and \cs{fileinfo} hold the file version and description taken from optional argument of
% the \cs{Provide...SVN} macro. The version is defined only if this argument starts with `|v|' and is otherwise empty.
% It includes all text up to the first space.
-% The \cs{filetoday} macro generates a text representation of the \cs{filedate} using the \cs{today} macro. This macro
-% must be first defined by the |\date|\meta{lang} macro from the \pkg{babel} package, otherwise \cs{filetoday} will not
-% be defined.
+% The \cs{filetoday} macro generates a text representation of the \cs{filedate} using the \cs{today} macro. The format can be
+% adjusted to a different language with the |\date|\meta{language} macro from the \pkg{babel} package.
% The other macros are described above.
%
%
% \par\medskip
% \DescribeMacro\DefineFileInfoSVN[<name>]
-% Defined\marginpar{\it New in v1. 2009/05/03}
+% Defined\marginpar{\it\raggedright New in v1. 2009/05/03}
% a set of macros which provide the information collected by a previous
% \cs{Provides\ldots} macro. The macros have the form
% |\|\meta{name}|@|\meta{data} where \meta{name} is by default the filename
@@ -256,11 +255,12 @@
% classes). This default can be overwritten by the optional argument.
% The \meta{data} stands for |version|, |rev| (revision), |date| and |info|
% (the information part without the version number)
-% and, since v3, file name |base| and |ext|(ension).
+% and, since v3,\marginpar{\it\raggedright Updated in v3. 2010/04/11}
+% file name |base| and |ext|(ension).
%
% \noindent
% \textit{Example:} Applied to the |.dtx| file of this very package the
-% following macros are defined:\par
+% following macros are defined:\par\medskip
% \begingroup
% \makeatletter\centering
% \begin{tabular}{ll}
@@ -275,7 +275,7 @@
% \cs{svn-prov.dtx@ext} & \@nameuse{svn-prov.dtx@ext} \\
% \bottomrule
% \end{tabular}
-% \\[\medskipamount]
+% \par\bigskip
% The style file however would get macros like \cs{svn-prov@version}.
% Because `|-|' is not a letter the macros can only be accessed using |\csname|.
% Therefore the optional argument |[svnprov]| is used to name the macros
@@ -309,80 +309,80 @@
% \subsubsection*{Minimal usage}
% \begin{example}
% \ProvidesPackageSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% \end{example}
% \begin{example}
% \ProvidesClassSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% \end{example}
% \begin{example}
% \ProvidesFileSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% \end{example}
%
% \subsubsection*{Normal Usage}
% \begin{example}
% \ProvidesPackageSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.0 Example Description]
% \end{example}
% \begin{example}
% \ProvidesClassSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.0 Example Description]
% \end{example}
% \begin{example}
% \ProvidesFileSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.0 Example Description]
% \end{example}
%
% \subsubsection*{Normal Usage with only Description}
% \begin{example}
% \ProvidesFileSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [Example Description]
% \end{example}
%
% \subsubsection*{Normal Usage with separate Version and Description}
% \begin{example}
% \ProvidesFileSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.0][Example Description]
% \end{example}
%
% \subsubsection*{Overwriting Name}
% \begin{example}
% \ProvidesPackageSVN[othername]
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.0 Example Description]
% \end{example}
%
% \subsubsection*{Overwriting Name including unneeded Extension}
% \begin{example}
% \ProvidesPackageSVN[othername.sty]
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.0 Example Description]
% \end{example}
%
% \subsubsection*{Overwriting Name using Macros}
% \begin{example}
% \ProvidesFileSVN[\filebase.cfg]
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.0 Example Description]
% \end{example}
%
% \subsubsection*{Using Macros in File Information String}
% \begin{example}
% \ProvidesPackageSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.\Rev Example Description]
% \end{example}
%
% \subsubsection*{Adding Text to Default Information}
% \begin{example}
% \ProvidesPackageSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.\Rev Extra Text \revinfo]
% \end{example}
%
@@ -392,7 +392,7 @@
%
% \begin{example}
% \ProvidesPackageSVN
-% {$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}
+% {$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}
% [v1.\Rev Extra Text \revinfo]
% \GetFileInfoSVN*
% % ...
@@ -709,18 +709,13 @@
%
% \begin{macro}{\svnprov@settoday@}
% Sets \cs{filetoday} by expanding \cs{today} after setting the year/month/day locally.
+% \changes{v3.}{2010/04/14}{Changed to dynamically call \cs{today} and not use \cs{edef}, because \cs{today} might not defined (yet).}
% \begin{macrocode}
\def\svnprov@settoday@#1/#2/#3\relax{%
- \ifx\today\@undefined
- \def\filetoday{?}%
- \else
- \begingroup
- \year#1\relax
- \month#2\relax
- \day#3\relax
- \xdef\filetoday{\today}%
- \endgroup
- \fi
+ \def\filetoday{{%
+ \year#1\month#2\day#3\relax
+ \today
+ }}%
}
% \end{macrocode}
% \end{macro}
@@ -784,7 +779,7 @@
%
% Finally, call the macros for this package itself.
% \begin{macrocode}
-\ProvidesPackageSVN{$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}%
+\ProvidesPackageSVN{$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}%
[\svnprov@version\space Package Date/Version from SVN Keywords]
\DefineFileInfoSVN[svnprov]
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/svn-prov/svn-prov.ins b/Master/texmf-dist/source/latex/svn-prov/svn-prov.ins
index 20f56c20890..1ad59c32ee0 100644
--- a/Master/texmf-dist/source/latex/svn-prov/svn-prov.ins
+++ b/Master/texmf-dist/source/latex/svn-prov/svn-prov.ins
@@ -1,4 +1,4 @@
-%% $Id: svn-prov.ins 1853 2010-04-11 10:29:10Z martin $
+%% $Id: svn-prov.ins 1039 2009-05-02 15:42:31Z martin $
\input docstrip.tex
\preamble
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 e2ccf9d4c31..3a4797fadd9 100644
--- a/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty
+++ b/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty
@@ -179,16 +179,10 @@
\fi
}
\def\svnprov@settoday@#1/#2/#3\relax{%
- \ifx\today\@undefined
- \def\filetoday{?}%
- \else
- \begingroup
- \year#1\relax
- \month#2\relax
- \day#3\relax
- \xdef\filetoday{\today}%
- \endgroup
- \fi
+ \def\filetoday{{%
+ \year#1\month#2\day#3\relax
+ \today
+ }}%
}
\newcommand*\DefineFileInfoSVN[1][\svnprov@filemask]{%
\expandafter
@@ -230,7 +224,7 @@
\gdef\svnprov@filedesc@{#1}%
}
\def\svnprov@zapspace#1 \svnprov@endmarker{#1}
-\ProvidesPackageSVN{$Id: svn-prov.dtx 1853 2010-04-11 10:29:10Z martin $}%
+\ProvidesPackageSVN{$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}%
[\svnprov@version\space Package Date/Version from SVN Keywords]
\DefineFileInfoSVN[svnprov]