diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-06 23:13:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-06 23:13:11 +0000 |
commit | 6e142f4e4ff464728ac333fa9ab9e46ee6f97161 (patch) | |
tree | 918a574186bbdceb85f477a10cd8ac9c82b25708 /Master | |
parent | d9a4092da5a0568ae5fa57b80e8f3e2243547a22 (diff) |
svn-multi 2.4d (6may12)
git-svn-id: svn://tug.org/texlive/trunk@26231 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex | 52 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/svn-multi/example_main.tex | 71 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/svn-multi/group_example.tex | 373 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf | bin | 487511 -> 263361 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/svn-multi/svn-multi-pl.pdf | bin | 0 -> 134655 bytes | |||
-rwxr-xr-x | Master/texmf-dist/scripts/svn-multi/svn-multi.pl | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/svn-multi/svn-multi-pl.dtx | 18 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx | 78 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/svn-multi/svn-multi.ins | 31 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/svn-multi/svn-multi.sty | 32 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/svn-multi/svnkw.sty | 33 |
11 files changed, 584 insertions, 110 deletions
diff --git a/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex b/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex new file mode 100644 index 00000000000..24ac0bc313b --- /dev/null +++ b/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex @@ -0,0 +1,52 @@ +% Version control information: +\svnidlong +{$HeadURL: svn://server/dir/example_chap1.tex $} +{$LastChangedDate: 2009-02-27 13:58:39 +0000 (Fri, 27 Feb 2009) $} +{$LastChangedRevision: 211 $} +{$LastChangedBy: martin $} + +\chapter{Example Chapter} + +\section{Version} +\subsection*{This chapter} +% \url is needed because there is an underscore in the name +% The package 'underscore' seems not to work properly, so the 'hyperref' +% package is used which is not the best solution. Avoid underscore in LaTeX filenames. +Filename: \svnnolinkurl{\svnfilefname}\\ +URL: \svnnolinkurl{\svnfileurl}\\ +% Something like \href{\svnfileurl}{Download} works also! +\textbf{Last change}\\ +Revision: \svnfilerev\\ +Date: \svnfiledate\\ +Year: \svnfileyear\\ +Time: \svnfilehour:\svnfileminute:\svnfilesecond\ \svnfiletimezone\\ +Timezone: \svnfiletimezonehour : \svnfiletimezoneminute\\ +Author: \svnfileauthor\\ + +\subsection*{Whole document} +Filename: \svnnolinkurl{\svnmainfilename}\\ +URL: \url{\svnmainurl}\\ +\textbf{Last change}\\ +Revision: \svnrev\\ +Date: \svndate\\ +Year: \svnyear\\ +Time: \svnhour:\svnminute:\svnsecond\ \svntimezone\\ +Timezone: \svntimezonehour : \svntimezoneminute\\ +Author: \svnauthor\\ +% [...] + +\section{Full Author Names} +\svnRegisterRevision{14}{Test} + +Registered author name: \svnFullAuthor{\svnfileauthor}\\ +Registered revision name: \svnFullRevision{\svnfilerev}\\ +Registered author name (*): \svnFullAuthor*{\svnfileauthor}\\ +Registered revision name (*): \svnFullRevision*{\svnfilerev}\\ + +\subsubsection*{Behaviour if value is not registered:} +Not registered user name: \svnFullAuthor{someusername}\\ +Not registered revision name: \svnFullRevision{12}\\ +Not registered user name (*): \svnFullAuthor*{someusername}\\ +Not registered revision name (*): \svnFullRevision*{12}\\ + + diff --git a/Master/texmf-dist/doc/latex/svn-multi/example_main.tex b/Master/texmf-dist/doc/latex/svn-multi/example_main.tex new file mode 100644 index 00000000000..ef4ebce0f33 --- /dev/null +++ b/Master/texmf-dist/doc/latex/svn-multi/example_main.tex @@ -0,0 +1,71 @@ +\documentclass[12pt]{report} + +% Traditional way to include keywords: +\usepackage{svn-multi}[2009/03/03] +% Version control information: +\svnidlong +{$HeadURL: svn://server/dir/example_main.tex $} +{$LastChangedDate: 2008-12-03 13:29:19 +0000 (Wed, 03 Dec 2008) $} +{$LastChangedRevision: 146 $} +{$LastChangedBy: martin $} +% The extra Id to access the file name is not needed anymore because it is +% extracted from the URL: +%\svnid{$Id: example_main.tex 146 2008-12-03 13:29:19Z martin $} +% +% Don't forget to set the svn property 'svn:keywords' to +% 'HeadURL LastChangedDate LastChangedRevision LastChangedBy' or +% 'Id' or both depending if you use \svnidlong and/or \svnid + +% Alternative you can use the auto-keyword feature to extract the keywords from +% the Subversion working directory: +%\usepackage[autokw=all]{svn-multi}[2009/03/28] + +\usepackage{hyperref} + +\usepackage{fancyhdr} +\renewcommand{\headrulewidth}{0.4pt} +\renewcommand{\footrulewidth}{0.4pt} +\setlength{\headheight}{14.5pt} +% This will display the last changed revision of the current chapter. +% Change \svnfilerev to \svnrev if you like to have the +% document revision. +\newcommand{\svnfooter}{Last Changed Rev: \svnfilerev} + +\pdfinfo{% + /CreationDate (D:\svnpdfdate) +} + +\svnRegisterAuthor{johnd}{John Doe} +\svnRegisterAuthor{maryd}{Mary Doe} +\svnRegisterAuthor{martin}{Martin S.} +\svnRegisterRevision{15}{Version~1} + +\listfiles +\begin{document} + +\begin{titlepage} + \vspace{8ex} + {\huge Title\par} + \vspace{2ex} + {\large \noindent This is an small example document for the \texttt{svn-multi} + (aka \texttt{svnkw}) package. Please also look at the LaTeX source code of this + document. An advanced example which includes keyword groups is shown in + \url{group\_example.pdf}} + \vfill + \flushleft\sffamily + Version control information:\\ + Head URL: \svnnolinkurl{\svnmainurl}\\ + %or with hyperlink: Head URL: \url{\svnurl}\\ + Last changed file: \texttt{\svnfname}\\ + Last changed date: \svndate\\ + Last changes revision: \svnrev\\ + Version: \svnFullRevision*{\svnrev}\\ + Last changed by: \svnFullAuthor*{\svnauthor}\\ +\end{titlepage} + +% Include chapters +\include{example_chap1} +%\include{example_chap2} +%\include{example_chap3} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/svn-multi/group_example.tex b/Master/texmf-dist/doc/latex/svn-multi/group_example.tex new file mode 100644 index 00000000000..e961e7da9fe --- /dev/null +++ b/Master/texmf-dist/doc/latex/svn-multi/group_example.tex @@ -0,0 +1,373 @@ +\RequirePackage{atbegshi} +\documentclass[a4paper,oneside]{scrbook} +\usepackage[all]{svn-multi}[2010/12/29] +\svnidlong +{$HeadURL: svn://server/group_example.tex $} +{$LastChangedDate: 2000-01-01 01:44:01 +0000 (Main file) $} +{$LastChangedRevision: 98 $} +{$LastChangedBy: author3 $} + + +% Pre-declaration of groups to define order in table +\svngroup{abc} +\svngroup{def} +\svngroup{ghi} +\svngroup{jkl} +%\svngroup{Images} +\svngroup{} + +% Ignore logo in subfiles and set it explicitly into the main file: +%\svnexternal{{logo.jpg}}% +%\svnignoregraphic{logo.jpg} + +% Special groups for images and other external files: +%\svngraphicsgroup{Images} +%\svnexternalgroup{external} + +\let\ifvtex=\relax +\usepackage{hyperref} +\usepackage{ifthen} +\usepackage{listings} +\lstset{basicstyle=\ttfamily} +\makeatletter +% Workaround for listinputlisting +\newcommand*{\svnlstinputlisting}[2][]{% + {\let\input\@input\lstinputlisting[#1]{#2}}% +} +\makeatother +\usepackage{booktabs} +\usepackage{tabularx} +\usepackage{longtable} + +% This is an example document to show the group feature of svn-multi 2.0. +% Please the notes below. + +\makeatletter +% Version control information table for each chapter +\newcommand{\chaptervctable}{% +\par\noindent +\textbf{Version Control Information for this chapter}\\[\bigskipamount]% +\begin{tabular}{lp{0.7\textwidth}} +Chapter URL & \svnnolinkurl{\svnfileurl}\\ +Chapter File name & \svnnolinkurl{\svnfilefname}\\ +Last Changed Revision & \svnfilerev\\ +Last Changed Author & \svnfileauthor\\ +Last Changed Date & \svnfiledate\\ +\end{tabular} +\bigskip +\par\noindent +This files contains the following SVN keywords:\\*[-\baselineskip] +{\let\input\@input +\svnlstinputlisting[firstline=5,lastline=9]{\currfilepath} +} +} +\makeatother + +% This file generates some example sub files from this file to avoid a lot of small +% example files in the CTAN directory. In real life there would be separate +% files from the beginning. + +\begin{filecontents}{group_example_part1a.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part1a.tex $} +{$LastChangedDate: 2000-01-01 01:00:01 +0000 (Chapter 1a) $} +{$LastChangedRevision: 101 $} +{$LastChangedBy: author1 $} + +\chapter{Subfile 1a} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_part1b.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part1b.tex $} +{$LastChangedDate: 2001-01-01 00:00:01 +0000 (Subfile 1b) $} +{$LastChangedRevision: 102 $} +{$LastChangedBy: author2 $} + +\chapter{Subfile 1b} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_part1c.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part1c.tex $} +{$LastChangedDate: 2000-01-01 00:00:01 +0000 (Subfile 1c) $} +{$LastChangedRevision: 104 $} +{$LastChangedBy: author3 $} + +\chapter{Subfile 1c} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_part2a.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part2a.tex $} +{$LastChangedDate: 2000-01-01 00:00:01 +0000 (Subfile 2a) $} +{$LastChangedRevision: 100 $} +{$LastChangedBy: author1 $} + +\chapter{Subfile 2a} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_part2b.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part2b.tex $} +{$LastChangedDate: 2000-01-01 00:00:01 +0000 (Subfile 2b) $} +{$LastChangedRevision: 101 $} +{$LastChangedBy: author1 $} + +\chapter{Subfile 2b} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_part3a.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part3a.tex $} +{$LastChangedDate: 2000-01-01 00:00:01 +0000 (Subfile 3a) $} +{$LastChangedRevision: 104 $} +{$LastChangedBy: author3 $} + +\chapter{Subfile 3a} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_part3b.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part3b.tex $} +{$LastChangedDate: 2000-01-01 00:00:01 +0000 (Subfile 3b) $} +{$LastChangedRevision: 103 $} +{$LastChangedBy: author2 $} + +\chapter{Subfile 3b} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_part4a.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part4a.tex $} +{$LastChangedDate: 2000-01-01 00:00:01 +0000 (Subfile 4a) $} +{$LastChangedRevision: 99 $} +{$LastChangedBy: author3 $} + +\chapter{Subfile 4a} +\chaptervctable +\input{group_example_part4a_sub1.tex} +\end{filecontents} + +\begin{filecontents}{group_example_part4a_sub1.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part4a_sub1.tex $} +{$LastChangedDate: 2000-01-01 00:00:00 +0000 (SubSubfile 4a-1) $} +{$LastChangedRevision: 96 $} +{$LastChangedBy: author2 $} + +\section{SubSubfile 4a-1} +This is a sub file in a sub file. +\svnexternal{{Makefile}} +\end{filecontents} + +\begin{filecontents}{group_example_part4b.tex} +\svnidlong +{$HeadURL: svn://server/group_example_part4b.tex $} +{$LastChangedDate: 2000-01-01 00:00:01 +0000 (Subfile 4b) $} +{$LastChangedRevision: 105 $} +{$LastChangedBy: author2 $} + +\chapter{Subfile 4b} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_end.tex} +\svnidlong +{$HeadURL: svn://server/group_example_end.tex $} +{$LastChangedDate: 2000-01-01 00:00:01 +0000 (End) $} +{$LastChangedRevision: 100 $} +{$LastChangedBy: author1 $} + +\chapter{End credits} +\chaptervctable +\end{filecontents} + +\begin{filecontents}{group_example_unexpanded.tex} +\svnidlong +{$HeadURL$} +{$LastChangedDate$} +{$LastChangedRevision$} +{$LastChangedBy$} + +\chapter{File with unexpanded keywords} +\chaptervctable +\end{filecontents} + +\svnRegisterAuthor{author1}{Andy Author, I.} +\svnRegisterAuthor{author2}{A. Author, II.} +\svnRegisterAuthor{author3}{Anthony Author, III.} + +% Have VC info on every part page +\let\origpart=\part +\def\part{% +\setpartpreamble{% +\vspace*{5cm} +\par\noindent +\textbf{Version Control Information for this part:}\\[\bigskipamount]% +\begin{tabular}{lp{0.7\textwidth}} +URL of latest File & \svnnolinkurl{\svncgurl}\\ +Name of latest File & \svnnolinkurl{\svncgfname}\\ +Last Changed Revision & \svncgrev\\ +Last Changed Author & \svncgauthor\\ +Last Changed Date & \svncgdate\\ +\end{tabular} +}\origpart +} + +\listfiles +\begin{document} + +% Custom titlepage: +\hbox{}% +\vfill +\pdfbookmark{Title Page}{titlepage}% +{\centering +\Huge\texttt{svn-multi} v2.0 Keyword Groups Example Document\\ +\Large Martin Scharrer\\ +\large 2009/03/01\\ +}% +\vfill +\par\noindent +This is an example and test document for the group feature of svn-multi 2.0. +Please note that the revision keywords were generated manually for testing +purposes. The dates are not consistent with the revisions and contain a debug +name instead of the date text like `(Sat, January 1 2009)'. This doesn't +influence the correct functionality of the svn-multi package.\\ +\bigskip +{\hbox{}\hfill Happy \TeX ing!}\\ +\vfill% +\par\noindent +{\large Version Control Information for this document:\\[\bigskipamount]}% +\begin{tabular}{lp{0.7\textwidth}} +Main URL & \svnnolinkurl{\svnmainurl}\\ +Main File name & \svnnolinkurl{\svnmainfilename}\\ +URL of latest file & \svnnolinkurl{\svnurl}\\ +Name of latest file & \svnnolinkurl{\svnfname}\\ +Last Changed Revision & \svnrev\\ +Last Changed Author & \svnauthor\\ +Last Changed Date & \svndate\\ +\end{tabular} +\bigskip\par\noindent +The main file of this document contains the following SVN +keywords:\\*[-\baselineskip] +\svnlstinputlisting[firstline=3,lastline=7]{\currfilepath} +\thispagestyle{empty} +\clearpage + +% Default in Engish +\renewcommand{\svnbeforetable}{% +This is an automatic generated table using the \textbf{\sffamily table} option. +\bigskip\par\noindent +} +\clearpage +\pdfbookmark{Table of Revisions (1)}{tora}% +\tableofrevisions +\clearpage + +% Redefined to German +% Uses booktabs for nicer table +\renewcommand{\svnbeforetable}{% +Can be redefined to another format and language: Verstehen Sie Deutsch? +\bigskip\par\noindent +} +\renewenvironment{svntable}{% +\begin{longtable}{p{6.2cm}rll} +\toprule +} +{% +\bottomrule +\end{longtable} +} +\renewcommand*\svntablehead{% + Name & Rev & Autor & Datum \\ +\midrule[\heavyrulewidth] +} +\renewcommand{\svnrevisionsname}{Revisionen} +\renewcommand{\svntabgroup}[1]{Gruppe `#1'} + +% Some highlight examples: +% Print highest revision bold: +\renewcommand{\svntabrev}[1]{\ifthenelse{#1=\svnrev}{\textbf{#1}}{#1}} +% Highlight all dates after the 14th March 2008 12:00:00: +\renewcommand{\svntabdate}[8]{% + \ifthenelse{#1#2#3#4>2008031412}{\color{red}\bfseries}{}% + \small #3.#2.#1\ #4:#5:#6% +} +% Mark all files last changed by the last author: +\renewcommand{\svntabauthor}[1]{% + \ifthenelse{\equal{#1}{\svnauthor}}{\color{green}}{}% + \svnFullAuthor{#1}% +} + +% Using \scriptsize and \svnnolinkurl for files and subgroups: +\renewcommand{\svntabfile}[2]{% + \addtolength{\leftskip}{#1\medskipamount}% + Datei `{\scriptsize\svnnolinkurl{#2}}' +} +\renewcommand{\svntabsubgroup}[2]{% + \addtolength{\leftskip}{#1\medskipamount}% + Untergruppe `{\scriptsize\svnnolinkurl{#2}}'% +} +\renewcommand{\svntabglobal}[1]{Gesamtes Dokument} + +% Add rule before group rows: +\renewcommand{\svngrouprow}{\midrule} +% Add rule and description after global row: +\renewcommand{\endsvnglobalrow}{\midrule Ohne Gruppe:\\} + +\pdfbookmark{Table of Revisions (2)}{torb}% +\tableofrevisions +\clearpage + + +\svngroup{abc} +\part{Abc} +\input{group_example_part1a} +\include{group_example_part1b} +\include{group_example_part1c} + +\svngroup{def} +\part{Def} +\include{group_example_part2a} +\include{group_example_part2b} + +\svngroup{ghi} +\part{Ghi} +\include{group_example_part3a} +\include{group_example_part3b} + +\svngroup{jkl} +\part{jkl} +\include{group_example_part4a} +\include{group_example_part4b} + +% The rest doesn't belong to a file group: +\svngroup{} +\include{group_example_end} +\include{group_example_unexpanded} + +\chapter*{Reference Examples} +%To reference e.g.\ keyword from group `abc' use: +\section*{Group `abc'} +\svnsetcg{abc} Revision \svncgrev\ from \svncgtoday\ \svncgtime\ done by +\svnFullAuthor{\svncgauthor}. Latest file is \svnnolinkurl{\svncgfname} (URL: \url{\svncgurl}). + +\section*{Subgroup `group\_example\_part3b'} +\svnsetcg{group_example_part3b} Revision \svncgrev\ from \svncgtoday\ \svncgtime\ done by +\svnFullAuthor{\svncgauthor}. Latest file is \svnnolinkurl{\svncgfname} (URL: \url{\svncgurl}). + +\section*{File `group\_example\_part3b.tex'} +\svnsetcg{group_example_part3b.tex} Revision \svncgrev\ from \svncgtoday\ \svncgtime\ done by +\svnFullAuthor{\svncgauthor}. File name and url: \svnnolinkurl{\svncgfname} (URL: \url{\svncgurl}). + + +\end{document} + diff --git a/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf b/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf Binary files differindex e6ff9dda5c2..6718a930297 100644 --- a/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf +++ b/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf diff --git a/Master/texmf-dist/doc/support/svn-multi/svn-multi-pl.pdf b/Master/texmf-dist/doc/support/svn-multi/svn-multi-pl.pdf Binary files differnew file mode 100644 index 00000000000..4964ecf2b17 --- /dev/null +++ b/Master/texmf-dist/doc/support/svn-multi/svn-multi-pl.pdf diff --git a/Master/texmf-dist/scripts/svn-multi/svn-multi.pl b/Master/texmf-dist/scripts/svn-multi/svn-multi.pl index 9644a5bbd5b..9f0b44adb04 100755 --- a/Master/texmf-dist/scripts/svn-multi/svn-multi.pl +++ b/Master/texmf-dist/scripts/svn-multi/svn-multi.pl @@ -4,11 +4,9 @@ # version 0.1, Mar 1st, 2009 # -------------------------------------------------------------- # -# Copyright (C) 2006-2009 Martin Scharrer +# Copyright (C) 2006-2012 Martin Scharrer # E-mail: martin@scharrer-online.de -# WWW: http://latex.scharrer-online.de/svn-multi/ -# -# $Id$ +# Code repository: https://bitbucket.org/martin_scharrer/svn-multi # # This program works only in combination with the LaTeX package 'svn-multi' and # generates .svx files with '\svnidlong' macros holding Subversion keywords for diff --git a/Master/texmf-dist/source/latex/svn-multi/svn-multi-pl.dtx b/Master/texmf-dist/source/latex/svn-multi/svn-multi-pl.dtx index f328b4b651d..4c92a69e4b7 100644 --- a/Master/texmf-dist/source/latex/svn-multi/svn-multi-pl.dtx +++ b/Master/texmf-dist/source/latex/svn-multi/svn-multi-pl.dtx @@ -8,11 +8,9 @@ # version 0.1, Mar 1st, 2009 # -------------------------------------------------------------- # -# Copyright (C) 2006-2009 Martin Scharrer +# Copyright (C) 2006-2012 Martin Scharrer # E-mail: martin@scharrer-online.de -# WWW: http://latex.scharrer-online.de/svn-multi/ -# -# $Id$ +# Code repository: https://bitbucket.org/martin_scharrer/svn-multi # # This program works only in combination with the LaTeX package 'svn-multi' and # generates .svx files with '\svnidlong' macros holding Subversion keywords for @@ -59,15 +57,15 @@ %<*driver> \fi \makeatletter -% $Id$ +% $Id: svn-multi-pl.dtx 1873 2010-07-26 15:31:45Z martin $ \def\svnmultipl@version {v0.1a} \def\svnmultipl@rev $#1: #2 ${\def\svnmultipl@rev{#2}} \def\svnmultipl@date $#1: #2-#3-#4 #5 ${% \def\svnmultipl@today{{\year#2\month#3\day#4\today}}% \def\svnmultipl@date{#2/#3/#4}% } -\svnmultipl@rev $Rev$ -\svnmultipl@date $Date$ +\svnmultipl@rev $Rev: 1873 $ +\svnmultipl@date $Date: 2010-07-26 17:31:45 +0200 (Mon, 26 Jul 2010) $ \ProvidesFile{svn-multi-pl.dtx} [\svnmultipl@date\space\svnmultipl@version\space SVN Keywords extractor for svn-multi] @@ -146,7 +144,7 @@ % } % \fi % \maketitle -% +% % \textbf{Note:} This document is work in progress.\par % \section{Usage} % See the section in the |svn-multi| package manual or the @@ -165,7 +163,7 @@ use File::Basename; % Declaration of constants VERSION, REV and DATE for script info output: % \begin{macrocode} my $VERSION = "0.2"; -my ($REV,$DATE) = +my ($REV,$DATE) = (split ' ','$Id$')[2,3]; % \end{macrocode} @@ -295,7 +293,7 @@ else { } # Add TEXINPUTS to path -push @PATH, map { $_ =~ s/(?<!\/)$/\//; $_ } grep { $_ } +push @PATH, map { $_ =~ s/(?<!\/)$/\//; $_ } grep { $_ } split(':', $ENV{'TEXINPUTS'}||""); my @mainfilepairs; 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 e5ea263ed23..ea48003b5ff 100644 --- a/Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx +++ b/Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx @@ -1,29 +1,37 @@ % \iffalse meta-comment -% Copyright (C) 2006-2011 by Martin Scharrer <martin@scharrer-online.de> -% http://latex.scharrer-online.de/svn-multi/ -% ----------------------------------------------------------------- -% -% This work 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 2005/12/01 or later. -% -% This work has the LPPL maintenance status `maintained'. -% -% The Current Maintainer of this work is Martin Scharrer. -% -% This work consists of the files svn-multi.dtx and svn-multi.ins -% and the derived files svn-multi.sty and svnkw.sty. -% +%<=*COPYRIGHT> +%% Copyright (C) 2006-2012 by Martin Scharrer <martin@scharrer-online.de> +%% ----------------------------------------------------------------------- +%% This work 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 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Martin Scharrer. +%% +%% This work consists of the files svn-multi.dtx and svn-multi.ins +%% and the derived filebase svn-multi.sty and svnkw.sty. +%% +%<=/COPYRIGHT> % \fi +% % \iffalse %<*driver> -\ProvidesFile{svn-multi.dtx}[2011/08/30 svn-multi DTX file] - +\ProvidesFile{svn-multi.dtx}[% +%<=*DATE> + 2011/08/30 +%<=/DATE> +%<=*VERSION> + v2.4d +%<=/VERSION> + svn-multi DTX file] \documentclass{ydoc}[2011/03/19] +\GetFileInfo{svn-multi.dtx} \usepackage[english]{babel} \dateenglish @@ -44,7 +52,7 @@ \CodelineIndex %\PageIndex \RecordChanges -%\OnlyDescription +\OnlyDescription \widowpenalty=500 \clubpenalty=500 \listfiles @@ -57,7 +65,7 @@ %</driver> % \fi % -% \CheckSum{2893} +% \CheckSum{2887} % % {\makeatother % \CharacterTable @@ -159,11 +167,12 @@ % \DoNotIndex{\ProcessKeyvalOptions,\SetupKeyvalOptions} % \DoNotIndex{\@firstoftwo,\@secondoftwo,\@gobble} % +% \GetFileInfo{svn-multi.dtx} % \author{Martin Scharrer} % \email{martin@scharrer-online.de} -% \date{Version \expandafter\@gobble\svnmulti@version\\[0.5ex]\svnmulti@today} -% -% \GetFileInfo[svn-multi.dtx] +% \ifdefined\repository +% \repository{https://bitbucket.org/martin_scharrer/svn-multi} +% \fi % \maketitle % % \section{Introduction} @@ -1184,15 +1193,21 @@ % \iffalse %<*svn-multi.sty> % \fi -% \begin{macrocode} -\def\svnmulti@version{v2.4d} -% \end{macrocode} -% % \subsection{Package Header} % \subsubsection*{Package Identification} % \begin{macrocode} +%<!COPYRIGHT> \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{svn-multi}[2011/08/20 \svnmulti@version\space SVN Keywords for multi-file LaTeX documents] +\ProvidesPackage{svn-multi}[% +%<!DATE> +%<!VERSION> +%<*DRIVER> + 2099/01/01 develop +%</DRIVER> + SVN Keywords for multi-file LaTeX documents] +% \end{macrocode} +% +% % \end{macrocode} % % \subsubsection*{Options} @@ -4173,6 +4188,7 @@ patch generated macros '\string\pgf@image@<name>!' from the 'pgf' package!}% % For backward compatibility a wrapper file with the old package name |svnkw| is % provided. Newer documents should use the name \svnmulti. % \begin{macrocode} +%<!COPYRIGHT> \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{svnkw} [2009/03/27 v2.1 Backward compatibility wrapper for svn-multi] diff --git a/Master/texmf-dist/source/latex/svn-multi/svn-multi.ins b/Master/texmf-dist/source/latex/svn-multi/svn-multi.ins index 579c7883ee8..60fb1639220 100644 --- a/Master/texmf-dist/source/latex/svn-multi/svn-multi.ins +++ b/Master/texmf-dist/source/latex/svn-multi/svn-multi.ins @@ -18,39 +18,16 @@ %% $Id$ -\input docstrip.tex +\input ydocstrip.tex \keepsilent - +\askforoverwritefalse \usedir{tex/latex/svn-multi} -\preamble - -This is a generated file. - -Copyright (C) 2006-2009 by Martin Scharrer <martin@scharrer-online.de> - -This work 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 2005/12/01 or later. - -This work has the LPPL maintenance status `maintained'. - -The Current Maintainer of this work is Martin Scharrer. - -This work consists of the files svn-multi.dtx, svn-multi-pl.dtx, svn-multi.ins -and the derived files svn-multi.sty, svnkw.sty and svn-multi.pl. - -\endpreamble - \generate{% %\file{svn-multi.drv}{\from{svn-multi.dtx}{driver}}% - \file{svn-multi.sty}{\from{svn-multi.dtx}{svn-multi.sty}}% + \file{svn-multi.sty}{\nopreamble\from{svn-multi.dtx}{svn-multi.sty}}% %\nopreamble \nopostamble - \file{svnkw.sty}{\from{svn-multi.dtx}{wrapper}}% + \file{svnkw.sty}{\nopreamble\from{svn-multi.dtx}{svnkw.sty}}% \nopreamble\nopostamble \file{svn-multi.pl}{\from{svn-multi-pl.dtx}{script}}% } diff --git a/Master/texmf-dist/tex/latex/svn-multi/svn-multi.sty b/Master/texmf-dist/tex/latex/svn-multi/svn-multi.sty index 6797406f1ff..92b2184aabd 100644 --- a/Master/texmf-dist/tex/latex/svn-multi/svn-multi.sty +++ b/Master/texmf-dist/tex/latex/svn-multi/svn-multi.sty @@ -1,15 +1,5 @@ -%% -%% This is file `svn-multi.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% svn-multi.dtx (with options: `svn-multi.sty') -%% -%% This is a generated file. -%% -%% Copyright (C) 2006-2009 by Martin Scharrer <martin@scharrer-online.de> -%% +%% Copyright (C) 2006-2012 by Martin Scharrer <martin@scharrer-online.de> +%% ----------------------------------------------------------------------- %% This work 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. @@ -17,17 +7,19 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is Martin Scharrer. -%% -%% This work consists of the files svn-multi.dtx, svn-multi-pl.dtx, svn-multi.ins -%% and the derived files svn-multi.sty, svnkw.sty and svn-multi.pl. -%% -\def\svnmulti@version{v2.4d} +%% +%% This work consists of the files svn-multi.dtx and svn-multi.ins +%% and the derived filebase svn-multi.sty and svnkw.sty. +%% \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{svn-multi}[2011/08/20 \svnmulti@version\space SVN Keywords for multi-file LaTeX documents] +\ProvidesPackage{svn-multi}[% + 2011/08/30 + v2.4d + SVN Keywords for multi-file LaTeX documents] \RequirePackage{kvoptions} \SetupKeyvalOptions{% diff --git a/Master/texmf-dist/tex/latex/svn-multi/svnkw.sty b/Master/texmf-dist/tex/latex/svn-multi/svnkw.sty index f851b83cbf4..18334f300d1 100644 --- a/Master/texmf-dist/tex/latex/svn-multi/svnkw.sty +++ b/Master/texmf-dist/tex/latex/svn-multi/svnkw.sty @@ -1,15 +1,5 @@ -%% -%% This is file `svnkw.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% svn-multi.dtx (with options: `wrapper') -%% -%% This is a generated file. -%% -%% Copyright (C) 2006-2009 by Martin Scharrer <martin@scharrer-online.de> -%% +%% Copyright (C) 2006-2012 by Martin Scharrer <martin@scharrer-online.de> +%% ----------------------------------------------------------------------- %% This work 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. @@ -17,14 +7,21 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -%% +%% %% This work has the LPPL maintenance status `maintained'. -%% +%% %% The Current Maintainer of this work is Martin Scharrer. -%% -%% This work consists of the files svn-multi.dtx, svn-multi-pl.dtx, svn-multi.ins -%% and the derived files svn-multi.sty, svnkw.sty and svn-multi.pl. -%% +%% +%% This work consists of the files svn-multi.dtx and svn-multi.ins +%% and the derived filebase svn-multi.sty and svnkw.sty. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{svnkw} + [2009/03/27 v2.1 Backward compatibility wrapper for svn-multi] +\PackageWarning{svnkw}{The package 'svnkw' got renamed to 'svn-multi' and is now +only a backward compatibility wrapper which loads 'svn-multi'. Please adjust +your document preamble to use the new name.} +\RequirePackage{svn-multi} \endinput %% %% End of file `svnkw.sty'. |