From 9de8fd57702cc88758133fd14eba8c985e1654bf Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 16 Nov 2007 11:31:25 +0000 Subject: svn 1.3 git-svn-id: svn://tug.org/texlive/trunk@5463 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/svn/README | 31 +++++++--- Master/texmf-dist/doc/latex/svn/svn-new.pdf | Bin 234995 -> 0 bytes Master/texmf-dist/doc/latex/svn/svn.pdf | Bin 0 -> 454327 bytes Master/texmf-dist/source/latex/svn/Makefile | 8 +-- Master/texmf-dist/source/latex/svn/svn.dtx | 93 ++++++++++++++-------------- Master/texmf-dist/source/latex/svn/svn.ins | 29 ++++++--- Master/texmf-dist/tex/latex/svn/svn.sty | 20 +++--- 7 files changed, 105 insertions(+), 76 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/svn/svn-new.pdf create mode 100644 Master/texmf-dist/doc/latex/svn/svn.pdf diff --git a/Master/texmf-dist/doc/latex/svn/README b/Master/texmf-dist/doc/latex/svn/README index de5d8ab5a96..d2412ce2554 100644 --- a/Master/texmf-dist/doc/latex/svn/README +++ b/Master/texmf-dist/doc/latex/svn/README @@ -12,12 +12,12 @@ Information about Subversion (a replacement for CVS) is available from *Contents The svn.sty distribution consists of the files: README (this file) + svn.pdf (precompiled documentation) svn.dtx svn.ins Makefile - svn.dvi (precompiled documentation) -from which svn.{sty,dvi,pdf} may be generated. +from which svn.{sty,dvi,pdf,ps} may be generated. *Installation **With make @@ -25,7 +25,7 @@ On systems with make (e.g., Linux) run make sty -The documentation is included in dvi format. To regenerate the +The documentation is included in pdf format. To regenerate the documentation run make @@ -54,7 +54,7 @@ To generate the documentation in dvi format do: Whether you used make or not, you need to move the generated file svn.sty into a directory searched by TeX. -For information on the use of svn.sty read svn.dvi. +For information on the use of svn.sty read svn.pdf. *Acknowledgements svn is modelled on the functionality of the rcs package (written by @@ -63,17 +63,30 @@ structure of the .dtx/.ins is that described in the dtxtut package (by Scott Pakin). *License -All files are Copyright (C) 2003 Richard Lewis and -released under the LPPL (). +This file may be distributed and/or modified under the conditions +of the LaTeX Project Public License, either version 1.3 of this +license or (at your option) any later version. The latest version +of this license is in: + + http://www.latex-project.org/lppl.txt + +and version 1.3 or later is part of all distributions of LaTeX +version 2003/06/01 or later. + +This work has the LPPL maintenance status `maintained', and the +Current Maintainer of this work is Richard Lewis . + +This work consists of all files listed in the `Content' section of +the README file. *Happy TeXing If you have any comments/complaints/bug reports about this package just send me an email. Richard Lewis -rpil+svn@rtf.org.uk +rpil2+svn.sty@rtf.org.uk *This file -$Id: README 35 2003-09-21 19:52:47Z rpil2 $ +$Id: README 40 2007-09-25 17:03:16Z repos $ (Note that the revision number of this file may be different to the -version of svn.sty) \ No newline at end of file +version of svn.sty) diff --git a/Master/texmf-dist/doc/latex/svn/svn-new.pdf b/Master/texmf-dist/doc/latex/svn/svn-new.pdf deleted file mode 100644 index de8fd9d14e0..00000000000 Binary files a/Master/texmf-dist/doc/latex/svn/svn-new.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/svn/svn.pdf b/Master/texmf-dist/doc/latex/svn/svn.pdf new file mode 100644 index 00000000000..adb4bbcd949 Binary files /dev/null and b/Master/texmf-dist/doc/latex/svn/svn.pdf differ diff --git a/Master/texmf-dist/source/latex/svn/Makefile b/Master/texmf-dist/source/latex/svn/Makefile index 5b31a57232b..f1cbc7166b2 100644 --- a/Master/texmf-dist/source/latex/svn/Makefile +++ b/Master/texmf-dist/source/latex/svn/Makefile @@ -1,4 +1,4 @@ -#$Id$ +#$Id: Makefile 45 2007-09-25 19:20:36Z repos $ #Makefile for the svn distribution #Most Useful Options are as follows: @@ -21,7 +21,7 @@ PDFLATEX=pdflatex MAKEINDEX=makeindex #before running $(MAKEINDEX) we first need to run $(MAKEIDX) on the .dtx -#to generate the .idx $(MAKEIDX) is $(LATEX) or $(PDFLATEX), depending on +#to generate the .idx file. $(MAKEIDX) is $(LATEX) or $(PDFLATEX), depending on #whether we want a .dvi/.ps or .pdf at the end. #the default is to make dvi MAKEIDX=$(LATEX) @@ -61,8 +61,8 @@ alldocs: dvi pdf ps clean clean-dotfiles: @echo "Deleting unnecessary (pdf)(la)TeX temp files" - -rm svn.{aux,idx,ilg,ind,log} + rm -f svn.aux svn.idx svn.ilg svn.ind svn.log distclean: clean-dotfiles @echo "Deleting svn.{sty,ps,pdf,dvi}" - -rm svn.{sty,dvi,ps,pdf} \ No newline at end of file + rm -f svn.sty svn.dvi svn.ps svn.pdf diff --git a/Master/texmf-dist/source/latex/svn/svn.dtx b/Master/texmf-dist/source/latex/svn/svn.dtx index 141a1550378..3d237b1a5b3 100644 --- a/Master/texmf-dist/source/latex/svn/svn.dtx +++ b/Master/texmf-dist/source/latex/svn/svn.dtx @@ -1,15 +1,22 @@ % \iffalse meta-comment -% $Id: svn.dtx 32 2003-09-21 19:08:50Z rpil2 $ +% $Id: svn.dtx 43 2007-09-25 19:20:04Z repos $ +% Copyright (C) 2003-7 by Richard Lewis % % This file may be distributed and/or modified under the conditions -% of the LaTeX Project Public License, either version 1.2 of this +% of the LaTeX Project Public License, either version 1.3 of this % license or (at your option) any later version. The latest version % of this license is in: % % http://www.latex-project.org/lppl.txt % -% and version 1.2 or later is part of all distributions of LaTeX -% version 1999/12/01 or later. +% and version 1.3 or later is part of all distributions of LaTeX +% version 2003/06/01 or later. +% +% This work has the LPPL maintenance status `maintained', and the +% Current Maintainer of this work is Richard Lewis . +% +% This work consists of all files listed in the `Contents' section of +% the README file. % % \fi % @@ -20,7 +27,7 @@ % {\def\svn@date{#3/#4/#5}% % \def\svn@revision{#2}} % -%\svn@Id $Id: svn.dtx 32 2003-09-21 19:08:50Z rpil2 $ +%\svn@Id $Id: svn.dtx 43 2007-09-25 19:20:04Z repos $ %\edef\next{% % \noexpand\ProvidesPackage{svn}[\svn@date\space r\svn@revision\space % Typeset subversion keywords.]} @@ -30,8 +37,9 @@ %<*driver> \documentclass{ltxdoc} \usepackage[T1]{fontenc} - \usepackage[latin1]{inputenc} + \usepackage[utf8x]{inputenc} \usepackage[british]{babel} + \usepackage{lmodern} % ensures we use Type 1 fonts, comment this out to get Type 3 fonts \usepackage{svn} \EnableCrossrefs \CodelineIndex @@ -43,7 +51,7 @@ % % \fi % -% \CheckSum{107} +% \CheckSum{106} % % \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 @@ -83,7 +91,7 @@ % % \title{The \package{svn} package\thanks{This document % corresponds to \package{svn}~\fileversion, dated \filedate.}} -% \author{Richard Lewis \\ \email{rpil+svn@rtf.org.uk}} +% \author{Richard Lewis \\ \email{rpil2+svn.sty@rtf.org.uk}} % % \def\convertfiledate/#1/#2/#3/{% % \def\convertedfiledate{\begingroup\day#3 \month#2 \year#1 \today\endgroup} @@ -124,7 +132,6 @@ % \documentclass{article} % \usepackage{svn} % \SVNdate $Date$ -% \begin{verbatim} % \title{Hope this works} % % \begin{document} @@ -143,28 +150,28 @@ % |$Keyword$| has been expanded to `|stuff|') then: % \begin{itemize} % \item If |$Keyword$| is |$Date$| or |$\LastChangedDate$|, then -% |\SVNDate| is defined to be the date the file was checked in, -% |\SVNTime| is the time of check-in, and |\SVNRawDate| is defined -% to be `|stuff|'. -% \item Otherwise a command |\SVNKeyword| is defined to be -% `|stuff|'. +% |stuff| is parsed and |\SVNDate| is defined to be the date, and +% |\SVNTime| the time, that the file was checked in. |\SVNRawDate| +% is defined to be the whole string `|stuff|'. +% \item Otherwise a command |\SVNKeyword| is defined to be +% `|stuff|'. % \end{itemize} % \item If you say |\SVN $Keyword$| (i.e., |$Keyword$| was % not expanded---perhaps it doesn't appear in the \url{svn:keywords} % property, or perhaps the file has not been checked in since the % line was added), then: % \begin{itemize} -% \item If |$Keyword$| is |$Date$| (or |$\LastChangedDate$|), then -% |\SVNDate| is defined to be |\today|, |\SVNTime| and -% |\SVNRawDate| are set to |\SVNempty|, (which is empty by default -% and can be changed with |\renewcommand|). +% \item If |$Keyword$| is |$Date$| (or |$\LastChangedDate$|), +% |\SVNDate| is defined to be |\today|, and |\SVNTime| and +% |\SVNRawDate| are set to |\SVNempty| (which is empty by default, +% and may be changed with |\renewcommand|). % \item Otherwise |\SVNKeyword| is defined to be |\SVNempty|. % \end{itemize} % \end{itemize} -% In principal you may use |\SVN| anywhere, but you may find problems -% if some package (e.g., \package{babel} with the |french| option) has -% made characters appearing in keywords active. |\SVN| should always -% work in the preamble. +% In principle you may use |\SVN| anywhere, but you may find problems +% if some package has made characters appearing in keywords active +% (e.g., \package{babel} with the |french| option---|\SVN| still works +% in the preamble though). % % \subsection{\texttt{\string\SVNdate}} % Since you probably want to have the date of check-in the output of @@ -180,7 +187,7 @@ % kinds of fancy things with all kinds of fancy keywords. When you % say |\SVN $keYwoRd: stuff$|, if the command |\SVN@keYwoRd@expanded| % exists\footnote{As ever, `exists' means ``defined and not equal to -% `\texttt{\string\relax}'} then it will be executed with two arguments: +% `\texttt{\string\relax}'''} then it will be executed with two arguments: % `|\SVN@keYwoRd@expanded{keYwoRd}{stuff : }|' (note the trailing % `\verb*| : |'). If |\SVN@keYwoRd@expanded| does not exist then % |\SVN@generic@expanded| is run (again with arguments @@ -206,7 +213,7 @@ % |\svn@set| command---see the following example). % % As a simple example, |\SVN $Rev$| will define a -% |\SVNRevsion| command. Subversion treats |$LastChangedRevision$| as +% |\SVNRev| command. Subversion treats |$LastChangedRevision$| as % an alias for |$Rev$|, so if you wanted both % |\SVN $Rev$| and |\SVN $LastChangedRevision$| to define both % |\SVNLastChangedRevision| and |\SVNRev| then you @@ -233,13 +240,13 @@ % \subsection{Known Issues} % If you use \package{babel} you will get the date produced by the % |\SVNDate| command in the correct style for the current language, -% and if you change the language, the text produced by |\SVNDate| may -% change. This may be undesirable, and the naïve solution is to say +% and if you change the language the text produced by |\SVNDate| may +% change. This may be undesirable, and the naïve solution is to say % |\edef\SVNDateText{\SVNDate}| before the language change. However, -% with the code stolen from the \package{rcs}, inside an |\edef| -% |\SVNDate| expands to |\today|, whatever the check-in date. To work -% around this |\SVNDate| has been designed to generate an error inside -% an |\edef|. +% with the code stolen from the \package{rcs}, inside an |\edef|, +% |\SVNDate| expands to |\today| whatever the check-in date. To work +% around this, |\SVNDate| has been designed to generate an error +% inside an |\edef|. % % One way to store the check-in date in a language-independent way is % the following, which defines |\fixatedSVNDate| to be the german @@ -268,12 +275,6 @@ % We still have access to german format: \fixatedSVNDate % \end{verbatim} % -% The second known issue is that the \format{ps} and \format{pdf} formatted -% documentation is different from the \format{dvi} format (look at -% page 6). This happens even when converting \format{dvi} -% to \format{ps} via \shell{dvips}, so may be a bug in -% \shell{ggv}? -% % \subsection{Avoiding Unwanted Keyword Expansion} % Although nothing to do with this package, the following may be % useful. @@ -288,11 +289,9 @@ % leaves the case where you want to use something like % |\SVNdate $Date$| at the top, but also use |$Date$| somewhere else. % \begin{description} -% \item[In-line maths:] If you are using |$Date$| because it -% is the product of the variables $D$, $a$, $t$ and $e$, then you -% could use |\newcommand{\somemaths}[1]{$#1$}| and then -% |\somemaths{Date}|. -% Alternatively, replace the dollars with |^^24|: `|^^24Date^^24|'. +% \item[In-line maths:] If you are using |$Date$| because it is the +% product of the variables $D$, $a$, $t$ and $e$, then you could use +% |\(Date\)| or replace the dollars with |^^24|: `|^^24Date^^24|'. % \item[Verbatim:] If you want the string |$Date$| % to appear verbatim in your \format{dvi}, then you could use % |\texttt{\string$Date\string$}| (or use |\verb| around the |$|, but @@ -315,7 +314,7 @@ \def\svn@date{#3/#4/#5}% \def\svn@revision{#2}% } -\next $Id: svn.dtx 32 2003-09-21 19:08:50Z rpil2 $ +\next $Id: svn.dtx 43 2007-09-25 19:20:04Z repos $ \edef\next{% \noexpand\ProvidesPackage{svn}[\svn@date\space r\svn@revision\space Typeset Subversion keywords.]% @@ -334,7 +333,7 @@ % and \meta{value} must be non-empty as well as brace- and % |\if|--|\fi|- balanced. \meta{space} is a single space (if more are % present they will be subsumed into \meta{value}). -% If `|$empty$|', `|$generic$|', `|$RawDate$|', |$Time$| or ever become +% If |$empty$|, |$generic$|, |$RawDate$|, or |$Time$| ever become % keywords, or if keywords containing |@| ever exist then we may have % problems. % \begin{macrocode} @@ -346,7 +345,7 @@ % If \meta{Keyword} is unexpanded then |\SVNKeyword| is |\let| to % |\SVNempty|, which is initially empty. % \begin{macrocode} -\let\SVNempty\relax +\newcommand{\SVNempty}{} % \end{macrocode} % \end{macro} % @@ -427,7 +426,7 @@ % time. The argument \param1 will be the name of the keyword % actually used (i.e., |Date| or |LastChangedDate|), and \param2 will be % empty since \param1 was not expanded. -% Note that we don't say |\let\SVNDate\today| as we want \package{bable} to +% Note that we don't say |\let\SVNDate\today| as we want \package{babel} to % be able to influence the formatting of |\SVNDate|. % \begin{macrocode} \def\SVN@Date@unexpanded#1#2{% @@ -474,7 +473,7 @@ \begingroup \def\svn@tmp{\PackageError{svn}{\SVNDate should not be used in an \protect\edef}{See the svn.sty documentation for a - work around.}}% + work-around.}}% \day#3 \month#2 \year#1 \today \endgroup}% @@ -497,4 +496,4 @@ % % % \Finale -\endinput \ No newline at end of file +\endinput diff --git a/Master/texmf-dist/source/latex/svn/svn.ins b/Master/texmf-dist/source/latex/svn/svn.ins index d4c5c215631..4a5d57a531f 100644 --- a/Master/texmf-dist/source/latex/svn/svn.ins +++ b/Master/texmf-dist/source/latex/svn/svn.ins @@ -1,17 +1,22 @@ -%% $Id: svn.ins 32 2003-09-21 19:08:50Z rpil2 $ +%% $Id: svn.ins 40 2007-09-25 17:03:16Z repos $ %% -%% Copyright (C) 2003 by Richard Lewis +%% Copyright (C) 2003-7 by Richard Lewis %% %% This file may be distributed and/or modified under the conditions -%% of the LaTeX Project Public License, either version 1.2 of this +%% of the LaTeX Project Public License, either version 1.3 of this %% license or (at your option) any later version. The latest version %% of this license is in: %% %% http://www.latex-project.org/lppl.txt %% -%% and version 1.2 or later is part of all distributions of LaTeX -%% version 1999/12/01 or later. +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/06/01 or later. %% +%% This work has the LPPL maintenance status `maintained', and the +%% Current Maintainer of this work is Richard Lewis . +%% +%% This work consists of all files listed in the `Content' section of +%% the README file. \input docstrip.tex %\keepsilent @@ -20,17 +25,23 @@ This is a generated file. -Copyright (C) 2003 by Richard Lewis +Copyright (C) 2003-7 by Richard Lewis This file may be distributed and/or modified under the conditions -of the LaTeX Project Public License, either version 1.2 of this +of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version. The latest version of this license is in: http://www.latex-project.org/lppl.txt -and version 1.2 or later is part of all distributions of LaTeX -version 1999/12/01 or later. +and version 1.3 or later is part of all distributions of LaTeX +version 2003/06/01 or later. + +This work has the LPPL maintenance status `maintained', and the +Current Maintainer of this work is Richard Lewis . + +This work consists of all files listed in the `Contents' section of +the README file. \endpreamble diff --git a/Master/texmf-dist/tex/latex/svn/svn.sty b/Master/texmf-dist/tex/latex/svn/svn.sty index b5bea408c02..a0f3c4cea48 100644 --- a/Master/texmf-dist/tex/latex/svn/svn.sty +++ b/Master/texmf-dist/tex/latex/svn/svn.sty @@ -8,31 +8,37 @@ %% %% This is a generated file. %% -%% Copyright (C) 2003 by Richard Lewis +%% Copyright (C) 2003-7 by Richard Lewis %% %% This file may be distributed and/or modified under the conditions -%% of the LaTeX Project Public License, either version 1.2 of this +%% of the LaTeX Project Public License, either version 1.3 of this %% license or (at your option) any later version. The latest version %% of this license is in: %% %% http://www.latex-project.org/lppl.txt %% -%% and version 1.2 or later is part of all distributions of LaTeX -%% version 1999/12/01 or later. +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/06/01 or later. +%% +%% This work has the LPPL maintenance status `maintained', and the +%% Current Maintainer of this work is Richard Lewis . +%% +%% This work consists of all files listed in the `Contents' section of +%% the README file. %% \NeedsTeXFormat{LaTeX2e} \def\next $Id: #1 #2 #3-#4-#5 #6${% \def\svn@date{#3/#4/#5}% \def\svn@revision{#2}% } -\next $Id: svn.dtx 32 2003-09-21 19:08:50Z rpil2 $ +\next $Id: svn.dtx 43 2007-09-25 19:20:04Z repos $ \edef\next{% \noexpand\ProvidesPackage{svn}[\svn@date\space r\svn@revision\space Typeset Subversion keywords.]% } \next \def\SVN $#1${\svn@$#1: $} -\let\SVNempty\relax +\newcommand{\SVNempty}{} \def\svn@$#1: #2${% \def\svn@tmp{#2}% \ifx\svn@tmp\@empty @@ -67,7 +73,7 @@ \begingroup \def\svn@tmp{\PackageError{svn}{\SVNDate should not be used in an \protect\edef}{See the svn.sty documentation for a - work around.}}% + work-around.}}% \day#3 \month#2 \year#1 \today \endgroup}% -- cgit v1.2.3