summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/svn-multi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-03-03 00:56:13 +0000
committerKarl Berry <karl@freefriends.org>2009-03-03 00:56:13 +0000
commit940b0c7ca7bd69adb7641e133a2f0004db8af586 (patch)
treefbe07b473a9ab6e423accf3fcbacf872abd8fe74 /Master/texmf-dist/source/latex/svn-multi
parent2046a35855fc1cccdd896f31e355067d0a439362 (diff)
svn-multi 1.5 (2mar09)
git-svn-id: svn://tug.org/texlive/trunk@12294 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/svn-multi')
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/Makefile3
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx40
2 files changed, 38 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/svn-multi/Makefile b/Master/texmf-dist/source/latex/svn-multi/Makefile
index b56abaede2e..47c8399e7cb 100644
--- a/Master/texmf-dist/source/latex/svn-multi/Makefile
+++ b/Master/texmf-dist/source/latex/svn-multi/Makefile
@@ -69,11 +69,12 @@ tests: package
@echo "Running tests: ${TESTS}:"
@${MAKE} -e -i --no-print-directory ${TESTS} \
TESTARGS="-interaction=batchmode -output-directory=${TESTDIR}"\
+ TESTPLOPT="-q"\
> /dev/null
${TESTS}: % : ${TESTDIR}/%.tex package
@-pdflatex -interaction=nonstopmode ${TESTARGS} $< 1>/dev/null 2>/dev/null
- @if (pdflatex ${TESTARGS} $<); \
+ @if (pdflatex ${TESTARGS} $< && (test ! -e ${TESTDIR}/$*.pl || ${TESTDIR}/$*.pl ${TESTPLOPT})); \
then echo -e "${GREEN}$@ succeeded${WHITE}" >&2; \
else echo -e "${RED}$@ failed!!!!!!${WHITE}" >&2; fi
diff --git a/Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx b/Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx
index 1fdab21e102..67c693b24b9 100644
--- a/Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx
+++ b/Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx
@@ -27,12 +27,12 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{svn-multi}
%<*package|driver>
- [2009/02/27 v1.4 SVN Keywords for multi-file LaTeX documents]
+ [2009/02/28 v1.5 SVN Keywords for multi-file LaTeX documents]
%</package|driver>
%<wrapper>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<wrapper>\ProvidesPackage{svnkw}
-%<wrapper> [2009/02/27 v1.4 Backward compatibility wrapper for svn-multi]
-%<wrapper>\RequirePackage{svn-multi}[2009/02/27]
+%<wrapper> [2009/02/28 v1.5 Backward compatibility wrapper for svn-multi]
+%<wrapper>\RequirePackage{svn-multi}[2009/02/28]
%
%<*driver>
\documentclass{ltxdoc}
@@ -95,7 +95,7 @@
%<*package>
% \fi
%
-% \CheckSum{617}
+% \CheckSum{641}
%
% {\makeatother
% \CharacterTable
@@ -132,6 +132,8 @@
% list of special characters.}
% \changes{v1.4}{2009/02/27}{Added support for timezones with non-zero minute
% part, \eg +0530.}
+% \changes{v1.5}{2009/02/28}{Added \cs{today}-style macros \cs{svntoday} and
+% \cs{svnfiletoday}.}
%
% \GetFileInfo{svn-multi.sty}
%
@@ -284,6 +286,12 @@
% section~\ref{sec:date} how to typeset parts of the date. See \cs{svnkw} below
% for all other keywords.
%
+% \DescribeMacro{\svntoday}
+% \DescribeMacro{\svnfiletoday}
+% This macros typeset the document-global or file-local date, respectively,
+% using the format of |\today| which depends on the used language. To adjust the
+% language of your document use the |babel| package.
+%
% \DescribeMacro{\svnmainurl}
% \DescribeMacro{\svnmainfilename}
% The macro |\svnmainurl| and |\svnmainfilename| hold the URL and the filename
@@ -549,6 +557,30 @@
% \end{macro}
% \end{macro}
+% \subsection{\textit{Today} macros}
+% This macros use the |\today| macro to typeset the current date using the local
+% language settings. Thanks and credit goes to Manuel P\'egouri\'e-Gonnard for
+% suggesting this feature and for providing the code.
+% \begin{macro}{\svntoday}
+% \begin{macrocode}
+\newcommand\svntoday{%
+\begingroup
+\year\svnyear \month\svnmonth \day\svnday
+\relax \today
+\endgroup}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\svnfiletoday}
+% \begin{macrocode}
+\newcommand\svnfiletoday{%
+\begingroup
+\year\svnfileyear \month\svnfilemonth \day\svnfileday
+\relax \today
+\endgroup}
+% \end{macrocode}
+% \end{macro}
+
% \subsection{Id macros}
% \subsubsection{Normal Id}
% \begin{macro}{\svnid}