diff options
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/svn/Makefile | 8 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/svn/svn.dtx | 93 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/svn/svn.ins | 29 |
3 files changed, 70 insertions, 60 deletions
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 <rpil2+svn.sty@rtf.org.uk> % % 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 <rpil2+svn.sty@rtf.org.uk>. +% +% 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 @@ %</driver> % \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 <rpil+svn@rtf.org.uk> +%% Copyright (C) 2003-7 by Richard Lewis <rpil2+svn.sty@rtf.org.uk> %% %% 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 <rpil2+svn.sty@rtf.org.uk>. +%% +%% 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 <rpil+svn@rtf.org.uk> +Copyright (C) 2003-7 by Richard Lewis <rpil2+svn.sty@rtf.org.uk> 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 <rpil2+svn.sty@rtf.org.uk>. + +This work consists of all files listed in the `Contents' section of +the README file. \endpreamble |