summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-13 17:25:14 +0000
committerKarl Berry <karl@freefriends.org>2010-09-13 17:25:14 +0000
commitb51e1247786e65af7c433d1785040c6a629e7b30 (patch)
tree99652a47b0418a546811dfb94a89699232b7a54c /Master/texmf-dist
parent113f5126bdf7782037612f119061ae0bc4160c7c (diff)
svn-multi 2.3 (19jul10)
git-svn-id: svn://tug.org/texlive/trunk@19708 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/svn-multi/README88
-rw-r--r--Master/texmf-dist/doc/latex/svn-multi/svn-multi-pl.pdfbin147314 -> 147510 bytes
-rw-r--r--Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdfbin1264427 -> 1282587 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/svn-multi/svn-multi.pl374
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/Makefile161
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/example_chap1.tex52
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/example_main.tex71
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/group_example.tex371
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/svn-multi-pl.dtx14
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx204
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/svn-multi.ins2
-rw-r--r--Master/texmf-dist/tex/latex/svn-multi/svn-multi.sty123
-rw-r--r--Master/texmf-dist/tex/latex/svn-multi/svnkw.sty38
13 files changed, 374 insertions, 1124 deletions
diff --git a/Master/texmf-dist/doc/latex/svn-multi/README b/Master/texmf-dist/doc/latex/svn-multi/README
new file mode 100644
index 00000000000..ffa986864f7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/svn-multi/README
@@ -0,0 +1,88 @@
+--------------------------------------------------------------
+ svn-multi (was svnkw)
+ version 2.3, Jul 19th, 2010
+--------------------------------------------------------------
+
+This package lets you typeset keywords of the version
+control system Subversion inside your LaTeX files anywhere
+you like. Unlike the very similar package 'svn' the usage of
+multiple files for one LaTeX document is well supported.
+
+Copyright (C) 2006-2010 Martin Scharrer
+E-mail: martin@scharrer-online.de
+WWW: 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.3c
+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.3c or later is part of all distributions of LaTeX
+version 2008/05/04 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.
+
+
+Tiny example:
+~~~~~~~~~~~~~
+Put the following Subversion keyword at the start of all your LaTeX files of
+your document:
+
+\svnidlong
+{$HeadURL$}
+{$LastChangedDate$}
+{$LastChangedRevision$}
+{$LastChangedBy$}
+
+or
+
+\svnid{$Id$}
+
+or both.
+Attach the subversion property svn:keyword with a value of
+'URL Date Revision Author', 'Id' or both, respectively, to all LaTeX files.
+Subversion will expand this keywords the next time the files are committed and
+then the SVN information can be typeset using
+ \svnauthor, \svnrev, \svndate, \svnhour, ...
+which will hold the information of the latest comitted file
+anywhere in your multi-file LaTeX document.
+
+Also per-file macros exist:
+ \svnfileauthor, \svnfilerev, ...
+which hold the keyword values of the current file.
+
+
+INSTALL:
+~~~~~~~~
+From the .dtx file (if you don't get the .sty files directly):
+==================
+Unpack the zip file and run 'make'.
+You also can do it manually:
+ [pdf]latex svn-multi.ins # for the style file and perl script
+ [pdf]latex svn-multi.dtx # for the documentation
+2x[pdf]latex example-main # for the example
+
+For the large keyword group example document:
+ [pdf]latex group-example
+ perl svn-multi.pl group-example
+2x[pdf]latex group-example
+
+Place the two .sty files
+ svn-multi.sty # Package
+ svnkw.sty # Wrapper for backward compatibility
+into your TEXMF tree, e.g. in
+ $TEXMF/tex/latex/svn-multi
+
+Make the perl script svn-multi.pl executable:
+ chmod +x svn-multi.pl
+and place it in an directory in your $PATH, e.g. under Unix/Linux in
+ /usr/bin/svn-multi.pl or
+ /usr/local/bin/svn-multi.pl or
+ $HOME/bin/svn-multi.pl
+Consider to rename or link it to 'svn-multi'.
+
diff --git a/Master/texmf-dist/doc/latex/svn-multi/svn-multi-pl.pdf b/Master/texmf-dist/doc/latex/svn-multi/svn-multi-pl.pdf
index efe8ea20895..59396bcb897 100644
--- a/Master/texmf-dist/doc/latex/svn-multi/svn-multi-pl.pdf
+++ b/Master/texmf-dist/doc/latex/svn-multi/svn-multi-pl.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf b/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf
index 38e58319ba4..022a3f57b89 100644
--- a/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf
+++ b/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf
Binary files differ
diff --git a/Master/texmf-dist/scripts/svn-multi/svn-multi.pl b/Master/texmf-dist/scripts/svn-multi/svn-multi.pl
deleted file mode 100755
index b98168f7dcc..00000000000
--- a/Master/texmf-dist/scripts/svn-multi/svn-multi.pl
+++ /dev/null
@@ -1,374 +0,0 @@
-#!/usr/bin/perl
-# --------------------------------------------------------------
-# svn-multi.pl for the svn-multi v2.0 LaTeX package
-# version 0.1, Mar 1st, 2009
-# --------------------------------------------------------------
-#
-# Copyright (C) 2006-2009 Martin Scharrer
-# E-mail: martin@scharrer-online.de
-# WWW: http://www.scharrer-online.de/latex/svn-multi/
-#
-# $Id: svn-multi-pl.dtx 692 2009-03-27 21:38:45Z martin $
-#
-# This program works only in combination with the LaTeX package 'svn-multi' and
-# generates .svx files with '\svnidlong' macros holding Subversion keywords for
-# files declared with '\svnexternal' inside the LaTeX document.
-#
-# This program is free software under the GPL v3 and LPPL v1.3c or later.
-#
-#
-# GPL v3:
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-#
-# LPPL v1.3c:
-# This work may be distributed and/or modified under the
-# conditions of the LaTeX Project Public License, either version 1.3c
-# 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.3c or later is part of all distributions of LaTeX
-# version 2008/05/04 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 and
-# svn-multi.ins and the derived files svn-multi.sty, svnkw.sty and svn-multi.pl.
-#
-# The file 'svn-multi.pl' may be renamed to 'svn-multi' for installation
-# purposes.
-#
-#
-use strict;
-use warnings;
-use File::Basename;
-my $VERSION = "0.2";
-my ($REV,$DATE) =
- (split ' ','$Id: svn-multi-pl.dtx 692 2009-03-27 21:38:45Z martin $')[2,3];
-
-my $dollar = '$';
-my @PATH;
-my %EXCLUDE = map { $_ => 1 } qw(sty tex aux log out toc fff ttt svn svx);
-
-sub create_svxfile ($@);
-sub usage;
-
-if (!@ARGV or grep { $_ eq '--help' or $_ eq '-h' } @ARGV) {
- usage();
-}
-
-print STDOUT "This is svn-multi.pl, Version $VERSION-$REV, $DATE\n";
-
-my ($jobname, $dir, $suffix) = fileparse(shift @ARGV, qr/\.(tex|ltx|dtx|svn)$/);
-if ($dir && $dir ne './') {
- printf STDOUT "Main directory is '$dir'.\n";
- chdir($dir);
-}
-
-if ($jobname =~ /^-/) {
- usage();
-}
-my $outfile = "$jobname.svx";
-
-my %external;
-
-my $resvnexternalpath = qr/
- ^ # at begin of line
- \s* # allow for spaces
- \\\@svnexternalpath # the macro name
- \s*
- { # begin token group
- \s*
- (?: # paths:
- { # { of first path
- (.*) # everything else, e.g: 'patha}{pathb}{pathc'
- } # } of last path
- | # or nothing
- )
- \s*
- } # end token group
- \s*
- $ # end of line
- /x;
-
-my $resvnexternal = qr/
- ^ # at begin of line
- \s* # allow for spaces
- \\\@svnexternal # the macro name
- \s*
- (?: # optional:
- \[ # opening [
- ([^\]]*) # group name (everything until ])
- \] # closing ]
- )?
- \s*
- { # begin token group
- ([^}]+) # file name (everything until })
- } # end token group
- \s*
- { # begin token group
- \s*
- (?: # paths:
- { # { of first file
- (.*) # everything else, e.g: 'filea}{fileb}{filec'
- } # } of last file
- | # or nothing
- )
- \s*
- } # end token group
- \s*
- $ # end of line
- /x;
-
-if (-e "$jobname.svn" and open( my $svnfh, '<', "$jobname.svn")) {
- print STDOUT "Reading '$jobname.svn'.\n";
- while (<$svnfh>) {
- chomp;
- if (/$resvnexternalpath/) {
- push @PATH, ( split /}\s*{/, $1 );
- }
- elsif (/$resvnexternal/) {
- my ($group,$file,$list) = ($1||"",$2,$3||"");
- $file =~ s/^\.\///;
- push @{$external{$file}{$group} ||= []}, ( split /}\s*{/, $list );
- }
- }
- close ($svnfh);
-}
-else {
- warn "No .svn file found for '$jobname'!\n";
-}
-
-# Add TEXINPUTS to path
-push @PATH, map { $_ =~ s/(?<!\/)$/\//; $_ } grep { $_ }
- split(':', $ENV{'TEXINPUTS'}||"");
-
-my @mainfilepairs;
-my $maintex = "$jobname.tex";
-if (exists $external{$maintex}) {
- while ( my ($group,$list) = each %{$external{$maintex}} ) {
- push @mainfilepairs, [ $group, [ @$list ] ];
- }
- delete $external{$maintex};
-}
-
-push @mainfilepairs, parse_args(@ARGV);
-create_svxfile("$jobname.svx", @mainfilepairs )
- if @mainfilepairs;
-
-foreach my $file (keys %external) {
- my @pairs;
- my $svxfile = $file;
- $svxfile =~ s/\.(tex|ltx)$/.svx/;
- while ( my ($group,$list) = each %{$external{$file}} ) {
- push @pairs, [ $group, [ @$list ] ];
- }
- create_svxfile($svxfile, @pairs);
-}
-
-
-sub parse_args {
- my @args = @_;
- my $group = '';
- my @files;
- my $readfg;
- my @pairs;
-
- foreach my $arg (@args) {
- if ($readfg) {
- $readfg = 0;
- $group = $arg;
- $group =~ s/^["']|["']$//; # '
- }
- elsif ($arg =~ /^--group|^-?-fg/) {
- push @pairs, [ $group, [ @files ] ];
- @files = ();
- if ($arg =~ /^--group=(.*)/) {
- $group = $1;
- $group =~ s/^["']|["']$//; # '
- }
- else {
- $readfg = 1;
- }
- }
- elsif ($arg =~ /^--fls/) {
- push @files, read_fls("$jobname.fls");
- }
- else {
- push @files, $arg;
- }
- }
- push @pairs, [ $group, [ @files ] ] if @files;
- return @pairs;
-}
-
-sub path_search {
- my $file = shift;
- $file =~ s/##/#/g;
- return $file if not $file or -e $file or not @PATH;
-
- foreach my $dir (@PATH) {
- if (-e "$dir$file") {
- return "$dir$file";
- }
- }
-
- return $file;
-}
-
-sub create_svxfile ($@) {
- my ($svxfile, @fgpair) = @_;
- my $lastgroup;
- my $fgused = 0;
- my %seen;
- return if not @fgpair or not $svxfile;
-
- open(my $svxfh, '>', $svxfile) or do {
- warn "ERROR: Could not create SVX file '$svxfile'!\n";
- return;
- };
- print STDOUT "Generating .svx file '$svxfile'.\n";
- select $svxfh;
- print "% Generated by svn-multi.pl v$VERSION\n\n";
-
- while ( my ($group, $files) = @{shift @fgpair||[]}) {
- no warnings 'uninitialized';
- if ( (not defined $lastgroup and $group) or ($group ne $lastgroup) ) {
- print "\\svngroup{$group}\n";
- }
- use warnings;
- if ($group) {
- $fgused = 1;
- }
-
- foreach my $file (@$files) {
- $file = path_search($file);
-
- # Only print the file once per group and .svx file
- next if $seen{$group}{$file};
- $seen{$group}{$file} = 1;
-
- open(my $infoh, '-|', "svn info '$file' 2>/dev/null") or next;
- my %info = map { chomp; split /\s*:\s*/, $_, 2 } <$infoh>;
- close($infoh);
- if (not keys %info) {
- print "% Could not receive keywords for '$file'!\n\n";
- next;
- }
- print "% Keywords for '$file'\n";
- print svnidlong(\%info);
- print "\\svnexternalfile";
- print "[$group]" if $group;
- print "{$file}\n";
- print "\n"
- }
-
- $lastgroup = $group;
- }
- print "\n";
- close ($svxfh);
-}
-
-sub svnid {
- use Date::Parse;
- use Date::Format;
- my $href = shift;
- return "" if (not defined $href->{Name});
- my $date = time2str("%Y-%m-%d %XZ", str2time($href->{'Last Changed Date'}), 'Z');
- return <<"EOT";
-\\svnid{${dollar}Id: $href->{Name} $href->{'Last Changed Rev'} $date $href->{'Last Changed Author'} \$}
-EOT
-}
-
-sub svnidlong {
- my $href = shift;
- return <<"EOT";
-\\svnidlong
-{${dollar}HeadURL: $href->{URL} \$}
-{${dollar}LastChangedDate: $href->{'Last Changed Date'} \$}
-{${dollar}LastChangedRevision: $href->{'Last Changed Rev'} \$}
-{${dollar}LastChangedBy: $href->{'Last Changed Author'} \$}
-EOT
-}
-
-sub read_fls {
- my $fls = shift;
- my %stack;
- open (my $fh, '<', $fls) or return;
- while (<$fh>) {
- chomp;
- if (/^INPUT ([^\/].*)$/) {
- my $file = $1;
- my $ext = substr($file, rindex($file,'.')+1);
- $stack{$1} = 1 if not exists $EXCLUDE{$ext};
- }
- }
- close($fh);
- return keys %stack;
-}
-
-sub usage {
- print STDOUT <<'EOT';
-Usage:
- svn-multi.pl jobname[.tex] [--fls] [--group|-g <group name>] [input_files] ...
- ... [--group|-g <group name>] [input_files] ...
-
-Description:
- This LaTeX helper script collects Subversion keywords from non-(La)TeX files
- and provides it to the 'svn-multi' package using '.svx' files. It will first
- scan the file '<jobname>.svn' for files declared by the '\svnextern' macro but
- also allows to provide additional files including the corresponding groups. The
- keywords for the additional files will be written in the file '<jobname>.svx'.
-
-Options:
- jobname[.tex] : The LaTeX `jobname`, i.e. the basename of your main LaTeX file.
- --group <GN> : Use given group name <GN> for all following files,
- or -g <GN> including the one read by a '--fls' option, until the next
- group is specified.
- --fls : Read list of (additional) files from the file '<jobname>.fls'. This
- file is produced by LaTeX when run with the '--recorder' option and
- contains a list of all input and output files used by the LaTeX main
- file. Only input files with a relative path will be used. A
- previously selected group will be honoured.
-
-Examples:
-The main LaTeX file here is 'mymainlatexfile.tex'.
-
- svn-multi.pl mymainlatexfile
- Creates Subversion keywords for all files declared by '\svnextern' inside
- the LaTeX code.
-
- svn-multi.pl mymainlatexfile --group=FLS --fls
- Creates Subversion keywords for all files declared by '\svnextern' inside
- the LaTeX code. In addition it does the same for all relative input files
- mentioned in the .fls file which are placed in the 'FLS' group.
-
- svn-multi.pl mymainlatexfile a b c --group=B e d f
- In addition to the '\svnextern' declared files the keywords for the files
- 'a', 'b' and 'c' will be added without a specific group, i.e. the last group
- specified in the LaTeX file before the '\svnextern' macro will be used. The
- keywords for 'e', 'd', 'f' will be part of group 'B'.
-
- svn-multi.pl mymainlatexfile --group=A a --group=B b --group='' c
- File 'a' is in group 'A', 'b' is in 'B' and 'c' is not in any group.
-
-Further Information:
-See the svn-multi package manual for more information about this script.
-EOT
- exit(0);
-}
-
-__END__
diff --git a/Master/texmf-dist/source/latex/svn-multi/Makefile b/Master/texmf-dist/source/latex/svn-multi/Makefile
deleted file mode 100644
index e5964b0c68a..00000000000
--- a/Master/texmf-dist/source/latex/svn-multi/Makefile
+++ /dev/null
@@ -1,161 +0,0 @@
-# $Id: Makefile 1052 2009-05-03 12:24:53Z martin $
-
-PACKAGE = svn-multi
-PACKAGE_STY = ${PACKAGE}.sty
-PACKAGE_DTX = ${PACKAGE}.dtx ${PACKAGE}-pl.dtx
-PACKAGE_SCR = ${PACKAGE}.pl
-PACKAGE_DOC = $(PACKAGE_DTX:.dtx=.pdf)
-PACKAGE_SRC = ${PACKAGE_DTX} ${PACKAGE}.ins Makefile example_chap1.tex example_main.tex group_example.tex
-PACKFILES = ${PACKAGE_SRC} ${PACKAGE_DOC} README
-
-TEXAUX = *.aux *.log *.glo *.ind *.idx *.out *.svn *.svx *.svt *.toc *.ilg *.gls *.hd *.exa *.exb *.fdb_latexmk
-INSGENERATED = ${PACKAGE_STY} svnkw.sty svn-multi.pl
-GENERATED = ${INSGENERATED} ${PACKAGE}.pdf svn-multi-pl.pdf example.pdf group_example.pdf group_example_*.tex ${PACKAGE}.zip ${PACKAGE}.tar.gz ${TESTDIR}/test*.pdf
-ZIPFILE = ${PACKAGE}-${ZIPVERSION}.zip
-TDSZIPFILE = ${PACKAGE}.tds.zip
-
-TESTDIR = tests
-TESTS = $(patsubst %.tex,%,$(subst ${TESTDIR}/,,$(wildcard ${TESTDIR}/test?.tex ${TESTDIR}/test??.tex))) # look for all test*.tex file names and remove the '.tex'
-TESTARGS = -output-directory ${TESTDIR}
-
-LATEX_OPTIONS = -interaction=batchmode
-LATEX = pdflatex ${LATEX_OPTIONS}
-
-TEXMFDIR = ${HOME}/texmf
-
-RED = \033[01;31m
-GREEN = \033[01;32m
-WHITE = \033[00m
-
-CP = cp -v
-MV = mv -v
-RMDIR = rm -rf
-MKDIR = mkdir -p
-
-.PHONY: all doc package clean fullclean example testclean ${TESTS} tds ${CHECK_LOG}
-
-###############################################################################
-
-all: package doc example
-new: fullclean all
-
-doc: ${PACKAGE_DOC}
-
-package: ${PACKAGE_STY} ${PACKAGE_SCR}
-
-%.pdf: %.dtx
- ${LATEX} $*.dtx
- -makeindex -s gind.ist -o $*.ind $*.idx
- -makeindex -s gglo.ist -o $*.gls $*.glo
- ${LATEX} $*.dtx
- ${LATEX} $*.dtx
-
-${PACKAGE}.pdf: ${PACKAGE}.sty
-
-${INSGENERATED}: ${PACKAGE_DTX} ${PACKAGE}.ins
- yes | latex ${PACKAGE}.ins
- @-chmod +x *.pl
-
-clean:
- rm -f ${TEXAUX} $(addprefix ${TESTDIR}/, ${TEXAUX})
-
-fullclean: clean
- rm -f ${GENERATED} *~ *.backup
- rm -f ${PACKAGE}*.zip
- rm -rf tds/
-
-###############################################################################
-
-example: example.pdf gexample
-
-example.pdf: example_main.tex example_chap1.tex ${PACKAGE}.sty
- ${LATEX} $<
- perl ./svn-multi.pl $<
- ${LATEX} $<
- mv example_main.pdf $@
-
-gexample: group_example.pdf
-
-group_example.pdf: group_example.tex svn-multi.sty
- ${RM} $(addprefix group_example, ${TEXAUX}) group_example_*.tex
- ${LATEX} $<
- perl svn-multi.pl group_example
- ${LATEX} $<
- ${LATEX} $<
- ${LATEX} $<
-
-###############################################################################
-
-zip: ${PACKFILES}
- @${MAKE} --no-print-directory ${ZIPFILE}
-
-zip: ZIPVERSION=$(shell grep "Package: ${PACKAGE} " ${PACKAGE}.log | \
- sed -e "s/.*Package: ${PACKAGE} ....\/..\/..\s\+\(v\S\+\).*/\1/")
-
-${PACKAGE}%.zip: ${PACKFILES}
- grep -L '\* Checksum passed \*' ${PACKAGE_DTX:.dtx=.log} | wc -l | grep -q '^0$$'
- -pdfopt ${PACKAGE}.pdf opt_${PACKAGE}.pdf && mv opt_${PACKAGE}.pdf ${PACKAGE}.pdf
- ${RM} $@
- zip $@ ${PACKFILES}
- @echo
- @echo "ZIP file $@ created!"
-
-release: fullclean package doc example tests ${ZIPFILE}
-
-###############################################################################
-
-# Make sure TeX finds the input files in TESTDIR
-tests ${TESTS}: export TEXINPUTS:=${TEXINPUTS}:${TESTDIR}
-tests ${TESTS}: LATEX_OPTIONS=
-
-testclean:
- @${RM} $(foreach ext, aux log out pdf svn svx, tests/test*.${ext})
-
-tests: package testclean
- @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 testclean
- @-${LATEX} -interaction=nonstopmode ${TESTARGS} $< 1>/dev/null 2>/dev/null
- @if test -e ${TESTDIR}/$*.svn; then perl ./svn-multi.pl ${TESTDIR}/$* 1>/dev/null ; fi
- @if (${LATEX} ${TESTARGS} $< && (test ! -e ${TESTDIR}/$*.pl || ${TESTDIR}/$*.pl ${TESTPLOPT})); \
- then /bin/echo -e "${GREEN}$@ succeeded${WHITE}" >&2; \
- else /bin/echo -e "${RED}$@ failed!!!!!!${WHITE}" >&2; fi
-
-###############################################################################
-
-tds: .tds
-
-.tds: ${PACKAGE_STY} ${PACKAGE_DOC} ${PACKAGE_SRC}
- @grep -q '\* Checksum passed \*' ${PACKAGE}.log
- ${RMDIR} tds
- ${MKDIR} tds/
- ${MKDIR} tds/tex/ tds/tex/latex/ tds/tex/latex/${PACKAGE}/
- ${MKDIR} tds/doc/ tds/doc/latex/ tds/doc/latex/${PACKAGE}/
- ${MKDIR} tds/source/ tds/source/latex/ tds/source/latex/${PACKAGE}/
- test -n "${PACKAGE_SCR}" && ${MKDIR} tds/scripts/ tds/scripts/${PACKAGE}/
- ${CP} ${PACKAGE_STY} tds/tex/latex/${PACKAGE}/
- ${CP} ${PACKAGE_DOC} tds/doc/latex/${PACKAGE}/
- ${CP} ${PACKAGE_SRC} tds/source/latex/${PACKAGE}/
- test -n "${PACKAGE_SCR}" && ${CP} ${PACKAGE_SCR} tds/scripts/${PACKAGE}/
- @touch $@
-
-tdszip: ${TDSZIPFILE}
-
-${TDSZIPFILE}: .tds
- ${RM} ${TDSZIPFILE}
- cd tds && zip -r ../${TDSZIPFILE} .
-
-###############################################################################
-
-install: .tds
- test -d "${TEXMFDIR}" && ${CP} -a tds/* "${TEXMFDIR}/" && texhash ${TEXMFDIR}
-
-uninstall:
- test -d "${TEXMFDIR}" && ${RM} -rv "${TEXMFDIR}/tex/latex/${PACKAGE}" \
- "${TEXMFDIR}/doc/latex/${PACKAGE}" "${TEXMFDIR}/source/latex/${PACKAGE}" \
- "${TEXMFDIR}/scripts/${PACKAGE}" && texhash ${TEXMFDIR}
-
diff --git a/Master/texmf-dist/source/latex/svn-multi/example_chap1.tex b/Master/texmf-dist/source/latex/svn-multi/example_chap1.tex
deleted file mode 100644
index 24ac0bc313b..00000000000
--- a/Master/texmf-dist/source/latex/svn-multi/example_chap1.tex
+++ /dev/null
@@ -1,52 +0,0 @@
-% 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/source/latex/svn-multi/example_main.tex b/Master/texmf-dist/source/latex/svn-multi/example_main.tex
deleted file mode 100644
index ef4ebce0f33..00000000000
--- a/Master/texmf-dist/source/latex/svn-multi/example_main.tex
+++ /dev/null
@@ -1,71 +0,0 @@
-\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/source/latex/svn-multi/group_example.tex b/Master/texmf-dist/source/latex/svn-multi/group_example.tex
deleted file mode 100644
index 692687d4f97..00000000000
--- a/Master/texmf-dist/source/latex/svn-multi/group_example.tex
+++ /dev/null
@@ -1,371 +0,0 @@
-\documentclass[a4paper,oneside]{scrbook}
-\usepackage[all]{svn-multi}[2009/03/06]
-\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]{\finkpath}
-}
-}
-\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]{\finkpath}
-\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}
-\include{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/source/latex/svn-multi/svn-multi-pl.dtx b/Master/texmf-dist/source/latex/svn-multi/svn-multi-pl.dtx
index c6b881819a2..5cdb5a67b97 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
@@ -10,9 +10,9 @@
#
# Copyright (C) 2006-2009 Martin Scharrer
# E-mail: martin@scharrer-online.de
-# WWW: http://www.scharrer-online.de/latex/svn-multi/
+# WWW: http://latex.scharrer-online.de/svn-multi/
#
-# $Id: svn-multi-pl.dtx 692 2009-03-27 21:38:45Z martin $
+# $Id: svn-multi-pl.dtx 1866 2010-07-19 11:17:15Z martin $
#
# 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 +59,15 @@
%<*driver>
\fi
\makeatletter
-% $Id: svn-multi-pl.dtx 692 2009-03-27 21:38:45Z martin $
+% $Id: svn-multi-pl.dtx 1866 2010-07-19 11:17:15Z 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: 692 $
-\svnmultipl@date $Date: 2009-03-27 21:38:45 +0000 (Fri, 27 Mar 2009) $
+\svnmultipl@rev $Rev: 1866 $
+\svnmultipl@date $Date: 2010-07-19 12:17:15 +0100 (Mon, 19 Jul 2010) $
\ProvidesFile{svn-multi-pl.dtx}
[\svnmultipl@date\space\svnmultipl@version\space SVN Keywords extractor for svn-multi]
@@ -130,7 +130,7 @@
%
% \title{The \textsf{svn-multi.pl} Script}
% \author{Martin Scharrer \\ \url{martin@scharrer-online.de} \\
-% \url{http://www.scharrer-online.de/latex/svn-multi} \\
+% \url{http://latex.scharrer-online.de/svn-multi} \\
% CTAN: \url{http://tug.ctan.org/pkg/svn-multi}}
% \date{Version \expandafter\@gobble\svnmultipl@version\\[0.5ex]\svnmultipl@today}
%
@@ -166,7 +166,7 @@ use File::Basename;
% \begin{macrocode}
my $VERSION = "0.2";
my ($REV,$DATE) =
- (split ' ','$Id: svn-multi-pl.dtx 692 2009-03-27 21:38:45Z martin $')[2,3];
+ (split ' ','$Id: svn-multi-pl.dtx 1866 2010-07-19 11:17:15Z martin $')[2,3];
% \end{macrocode}
% Declaration of other global constants and variables:
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 192804000a8..ab2eed42c31 100644
--- a/Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx
+++ b/Master/texmf-dist/source/latex/svn-multi/svn-multi.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
% Copyright (C) 2006-2009 by Martin Scharrer <martin@scharrer-online.de>
-% http://www.scharrer-online.de/latex/
+% http://latex.scharrer-online.de/svn-multi/
% -----------------------------------------------------------------
%
% This work may be distributed and/or modified under the
@@ -24,19 +24,21 @@
% \fi
% \iffalse
%<*package|driver>
-% $Id: svn-multi.dtx 1448 2009-10-19 21:28:41Z martin $
+% $Id: svn-multi.dtx 1866 2010-07-19 11:17:15Z martin $
%
-\def\svnmulti@version{v2.2}
+\def\svnmulti@version{v2.3}
\RequirePackage{svn-prov}
%</package|driver>
%<*driver>
-\ProvidesFileSVN{$Id: svn-multi.dtx 1448 2009-10-19 21:28:41Z martin $}
+\ProvidesFileSVN{$Id: svn-multi.dtx 1866 2010-07-19 11:17:15Z martin $}
[\svnmulti@version\space SVN Keywords for multi-file LaTeX documents]
\GetFileInfoSVN*
\let\svnmulti@date\filedate
\let\svnmulti@rev\filerev
\documentclass{ltxdoc}
+\usepackage[english]{babel}
+\dateenglish
\def\svnmulti@today#1/#2/#3\relax{%
\begingroup
@@ -92,13 +94,13 @@
\let\origStopEventually\StopEventually
\let\origPrintDescribeMacro\PrintDescribeMacro
\usepackage{xcolor}
-\definecolor{darkred}{rgb}{0.333.0.0,0.0}
+\definecolor{darkred}{rgb}{0.333,0.0,0.0}
\hypersetup{colorlinks=true,linkcolor=darkred,urlcolor=darkred}
\definecolor{macrodesccolor}{rgb}{0.0,0.0,0.8}
\definecolor{macroimplcolor}{rgb}{0.0,0.0,0.4}
\definecolor{metacolor}{rgb}{0.0,0.4,0.4}
\definecolor{scriptcolor}{rgb}{0.2,0.6,0.2}
-\definecolor{optioncolor}{rgb}{0.3.0.2,0}
+\definecolor{optioncolor}{rgb}{0.3,0.2,0}
\let\macroline\\
\newlength{\macrosep}
@@ -291,7 +293,7 @@
%<*package>
% \fi
%
-% \CheckSum{2728}
+% \CheckSum{2847}
%
% {\makeatother
% \CharacterTable
@@ -336,6 +338,7 @@
% Subversion 'entries' file: 'autokw' option}
% \changes{v2.2}{2009/10/19}{Added \css{ifsvnmodified} and
% \css{ifsvnfilemodified} macros. Some bug fixes.}
+% \changes{v2.3-dev}{2010/03/30}{Changed \css{svnidlong} to ignore all comments between verbatim arguments.}
%
% ^^A \GetFileInfo{svn-multi.dtx}
%
@@ -369,7 +372,7 @@
% \title{The \textsf{svn-multi} Package \\\large formerly known as
% \textsf{svnkw}}
% \author{Martin Scharrer \\ \url{martin@scharrer-online.de} \\
-% \url{http://www.scharrer-online.de/latex/svn-multi}\\
+% \url{http://latex.scharrer-online.de/svn-multi/}\\
% CTAN: \url{http://tug.ctan.org/pkg/svn-multi}}
% \date{Version \expandafter\@gobble\svnmulti@version\\[0.5ex]\svnmulti@today}
%
@@ -575,7 +578,10 @@
% manually to ensure that the file-local macros are reset to empty values at
% the begin of each input file. This prevents the keyword from leaking over
% from one file to the next. After every subfile the file-local keyword macros
-% are also restored to the value of the parent file.
+% are also restored to the value of the parent file. A \cs{clearpage} should be
+% added at the very end of \cs{include}d files to ensure the last page is flushed
+% out by \TeX\ before the keyword macros are restored. Otherwise the last page
+% might display the mainfile keyword values.
%
% \DescribeOption{autokw}
% This experimental feature allows the automatically extraction of the keyword
@@ -1192,7 +1198,7 @@
% `|/|' as directory separator and should end with a `|/|'. Windows users should
% just replace all `|\|' with `|/|', \eg `|C:\My dir|' gets `|{C:/My dir/}|'.
%
-% \subsection*{Script \hypertarget{script@svn-multi.pl}{\texttt{svn-multi.pl}}}
+% \subsection*{Script \protect\hypertarget{script@svn-multi.pl}{\texttt{svn-multi.pl}}}
% The file \scr{svn-multi.pl} which comes with the \svnmulti package is an
% external Perl script which has to be run in the command line or by a \LaTeX\
% development environment/editor like other tools like |Bib|\TeX\ or
@@ -1296,6 +1302,8 @@
% detect any side effects or other issues causes by this package.
%
% \subsection{Packet \texttt{listings} uses \cs{input}}
+% \textbf{Update:} Newer versions of \svnmulti avoid this issue by changing the catcodes
+% back to normal while reading the |.svx| file.
% If a file \meta{basename}.\meta{extension} is typeset verbatim using
% |\lstinputlisting|, which uses |\input| to read the file, an existing
% \meta{basename}|.svx| file is also included as part of the listing. This can
@@ -1405,7 +1413,7 @@
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackageSVN
- {$Id: svn-multi.dtx 1448 2009-10-19 21:28:41Z martin $}
+ {$Id: svn-multi.dtx 1866 2010-07-19 11:17:15Z martin $}
[\svnmulti@version\space SVN Keywords for multi-file LaTeX documents]
% \end{macrocode}
@@ -1674,15 +1682,43 @@
% \begin{macro}{\svn@inputsvx}[1]{file name/path without extension}
% Used to save and restore file keywords when reading |.svx| files.
+% The normal catcodes are restored to avoid issues in special situations
+% regarding input of verbatim files
+% (e.g.\ \cs{lstinputlisting} from the \pkg{listings} package) or other
+% cases where catcodes might have changes (e.g.\ `|%|' in |.dtx| files).
% \begin{macrocode}
\def\svn@inputsvx#1{%
\svn@pushfilestack
+ \begingroup
+ \svn@normalcatcodes
\svn@input{#1.svx}%
+ \endgroup
\svn@popfilestack
}
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\svn@normalcatcodes}
+% Sets the default catcodes.
+% \begin{macrocode}
+\def\svn@normalcatcodes{%
+ \catcode`\\=0\relax
+ \catcode`\{=1\relax
+ \catcode`\}=2\relax
+ \catcode`\$=3\relax
+ \catcode`\&=4\relax
+ \catcode`\^^M=5\relax
+ \catcode`\#=6\relax
+ \catcode`\^=7\relax
+ \catcode`\_=8\relax
+ \catcode`\ =10\relax
+ \catcode`\@=12\relax
+ \catcode`\~=13\relax
+ \catcode`\%=14\relax
+}
+% \end{macrocode}
+% \end{macro}
+
% \subsection{Definition of init values}
% Initialisation of at least the revision to a numeric value is necessary to not
% break the |\ifnum| tests later in this package. The revision is initialised to
@@ -1774,9 +1810,9 @@
% \begin{macrocode}
\newcommand*{\svne@catcodes}{%
\let\do\@makeother
- \endlinechar=-1
+ \endlinechar=-1%
\dospecials
- \do\- \do\: \do\. \do\^^L
+ \do\-\do\:\do\.\do\^^L%
}
% \end{macrocode}
% \end{macro}
@@ -1829,12 +1865,16 @@
\begingroup
\let\next\relax
% \end{macrocode}
-% Open the format file to read the version number:
+% Open the format file to read the version number. If this file does not exists
+% (true for recent svn versions) a valid default value is used and the true
+% version number is read from the |entries| file.
% \begin{macrocode}
+ \def\svne@version{8}%
\openin\svne@read=#1format\relax
\ifeof\svne@read\else
\svne@readline\svne@version
\closein\svne@read
+ \fi
% \end{macrocode}
% Check the format version:
% \begin{macrocode}
@@ -1850,14 +1890,13 @@
% Check the version and call the parse macros if OK:
% \begin{macrocode}
\ifnum\svne@version>7\relax
- \def\next{\svne@parsedirentry%
- \svne@parseentries}
+ \def\next{\svne@parsedirentry
+ \svne@parseentries}%
\else
\closein\svne@read
\fi
\fi
\fi
- \fi
\next
\endgroup
}
@@ -1898,12 +1937,12 @@
\@makeother\.
\gdef\svne@scandate#1{%
- \expandafter\svne@scandate@#1\relax
- 0000-00-00T00:00:00.00000Z\relax\relax
+ \expandafter\svne@scandate@#1\empty
+ 0000-00-00T00:00:00.00000Z\empty\empty
}
-\gdef\svne@scandate@#1-#2-#3T#4:#5:#6.#7\relax#8\relax{%
- \gdef\svnfileyear{#1}%
+\gdef\svne@scandate@#1-#2-#3T#4:#5:#6.#7\empty#8\empty{%
+ \xdef\svnfileyear{#1}%
\gdef\svnfilemonth{#2}%
\gdef\svnfileday{#3}%
\gdef\svnfilehour{#4}%
@@ -1966,8 +2005,20 @@
% used to stop the file reading.
% \begin{macrocode}
\def\svne@handleentry{%
+ \ifx\svne@rev\empty
+ \let\svne@rev\svn@revinit
+ \fi
\svn@ifequal{\svne@name}{\svnfilefname}%
{%
+ \message{^^J%
+ Read from '.svn/entries' file:^^J%
+ Filename: \svne@name^^J%
+ Date: \svne@date^^J%
+ Revision: \svne@rev^^J%
+ Author: \svne@author^^J%
+ HeadURL: \svne@url^^J%
+ ^^J%
+ }%
\svnkwdef{Filename}{\svne@name}%
\svnkwdef{Date}{\svne@date}%
\svnkwdef{Revision}{\svne@rev}%
@@ -2204,19 +2255,80 @@
\svnkwdef{Revision}{0}%
\svnkwdef{Author}{}%
% \end{macrocode}
-% The catcodes are changed by \cs{svn@catcodes} to allow \TeX-special characters
-% inside the keywords. The braces |{ }| are changed to allow comments between
-% the arguments. \cs{svnidlong@readargsfull} is called to read the arguments.
+% Read arguments verbatim or non-verbatim.
+% \begin{macrocode}
+ \if@svnmulti@verbatim
+ \expandafter\svnidlong@readverb
+ \else
+ \expandafter\svnidlong@readargs
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\svnidlong@readverb}
+% The following macros read the four arguments of |\svnidlong| one-by-one with
+% verbatim mode deactivated between them to ignore all comments. The macro
+% |\@ifnextchar| is used to get rid of all spaces (and therefore comments) between
+% the arguments. An error message is printed if a wrong syntax is discovered.
+% \begin{macrocode}
+\def\svnidlong@readverb{%
+ \@ifnextchar\bgroup
+ {\svnidlong@readverb@\svnidlong@readverb@a}%
+ {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}%
+}
+% \end{macrocode}
+% Sets up verbatim mode and calls the macro given as an argument.
% \begin{macrocode}
+\def\svnidlong@readverb@#1{%
\begingroup
- \if@svnmulti@verbatim
- \svn@catcodes
- \catcode`\{=12
- \catcode`\}=12
- \else
- \def\svnidlong@readargsfull{\svnidlong@readargs}%
- \fi
- \svnidlong@readargsfull
+ \svn@catcodes
+ \catcode`\{=1\relax
+ \catcode`\}=2\relax
+ #1%
+}
+% \end{macrocode}
+% Reads first argument, ignores spaces and comments and calls next macro.
+% \begin{macrocode}
+\def\svnidlong@readverb@a#1{%
+ \endgroup
+ \svnkwsave@read #1\relax
+ \@ifnextchar\bgroup
+ {\svnidlong@readverb@\svnidlong@readverb@b}%
+ {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}%
+}
+% \end{macrocode}
+% Reads second argument, ignores spaces and comments and calls next macro.
+% \begin{macrocode}
+\def\svnidlong@readverb@b#1{%
+ \endgroup
+ \svnkwsave@read #1\relax
+ \@ifnextchar\bgroup
+ {\svnidlong@readverb@\svnidlong@readverb@c}%
+ {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}%
+}
+% \end{macrocode}
+% Reads third argument, ignores spaces and comments and calls next macro.
+% \begin{macrocode}
+\def\svnidlong@readverb@c#1{%
+ \endgroup
+ \svnkwsave@read #1\relax
+ \@ifnextchar\bgroup
+ {\svnidlong@readverb@\svnidlong@readverb@d}%
+ {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}%
+}
+% \end{macrocode}
+% Reads last argument, scans date if not empty and calls the Id update macro.
+% \begin{macrocode}
+\def\svnidlong@readverb@d#1{%
+ \endgroup
+ \svnkwsave@read #1\relax
+ \ifx\svnkwDate\empty\else
+ \@svn@scanlongdate{\svnkwDate}%
+ \fi
+ \@svn@updateid{\svnkw{Revision}}{\svnkw{Date}}%
+ {\svnkw{Author}}{\svnkw{URL}}%
+ \ignorespaces
}
% \end{macrocode}
% \end{macro}
@@ -2240,32 +2352,7 @@
\fi
% \end{macrocode}
% \end{macro}
-
-% \begin{macro}{\svnidlong@readargsfull}[8]
-% {some text, ignored}{Keyword 1}
-% {some text, ignored}{Keyword 2}
-% {some text, ignored}{Keyword 3}
-% {some text, ignored}{Keyword 4}
-% Reads all four arguments of \cs{svnidlong} and passes them to
-% \cs{svnidlong@readargs}. The normal argument braces are changed to category
-% ``other'' and put into the macros parameter text to remove all code between
-% them. This is done to avoid problems with comments direct after one of the
-% arguments. Because the braces are now non-special the parentheses are made to
-% a local replacement.
%
-% \begin{macrocode}
-\if@svnmulti@verbatim
-\begingroup
-\catcode`\{=12\catcode`\}=12
-\catcode`\(=1\catcode`\)=2
-\gdef\svnidlong@readargsfull#1{#2}#3{#4}#5{#6}#7{#8}(%
- \svnidlong@readargs(#2)(#4)(#6)(#8)%
-)
-\endgroup
-\fi
-% \end{macrocode}
-% \end{macro}
-
% \begin{macro}{\svnidlong@readargs}[4]{Keyword 1}{Keyword 2}{Keyword 3}
% {Keyword 4}
% Calls sub macro for all four arguments and ends the catcode changes made
@@ -3774,6 +3861,9 @@ patch generated macros '\string\pgf@image@<name>!' from the 'pgf' package!}%
% |\csname| to avoid \TeX{} if-parsing errors when they are not defined.
% \begin{macrocode}
\AtBeginDocument{%
+\ifx\chapter\relax
+ \let\chapter\@undefined
+\fi
\ifx\chapter\@undefined
%% Adapted from the \tableofcontents macro, LaTeX `article' class [2005/09/16]
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 9ae4d53330e..6d120c55696 100644
--- a/Master/texmf-dist/source/latex/svn-multi/svn-multi.ins
+++ b/Master/texmf-dist/source/latex/svn-multi/svn-multi.ins
@@ -15,7 +15,7 @@
%% 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.
%%
-%% $Id: svn-multi.ins 622 2009-03-23 12:27:16Z martin $
+%% $Id: svn-multi.ins 1866 2010-07-19 11:17:15Z martin $
\input docstrip.tex
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 33e43faeece..59de8a64e16 100644
--- a/Master/texmf-dist/tex/latex/svn-multi/svn-multi.sty
+++ b/Master/texmf-dist/tex/latex/svn-multi/svn-multi.sty
@@ -26,11 +26,11 @@
%% and the derived files svn-multi.sty, svnkw.sty and svn-multi.pl.
%%
\makeatletter
-\def\svnmulti@version{v2.2}
+\def\svnmulti@version{v2.3}
\RequirePackage{svn-prov}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackageSVN
- {$Id: svn-multi.dtx 1448 2009-10-19 21:28:41Z martin $}
+ {$Id: svn-multi.dtx 1866 2010-07-19 11:17:15Z martin $}
[\svnmulti@version\space SVN Keywords for multi-file LaTeX documents]
\RequirePackage{kvoptions}
@@ -239,10 +239,29 @@
\def\svn@inputsvx#1{%
\svn@pushfilestack
+ \begingroup
+ \svn@normalcatcodes
\svn@input{#1.svx}%
+ \endgroup
\svn@popfilestack
}
+\def\svn@normalcatcodes{%
+ \catcode`\\=0\relax
+ \catcode`\{=1\relax
+ \catcode`\}=2\relax
+ \catcode`\$=3\relax
+ \catcode`\&=4\relax
+ \catcode`\^^M=5\relax
+ \catcode`\#=6\relax
+ \catcode`\^=7\relax
+ \catcode`\_=8\relax
+ \catcode`\ =10\relax
+ \catcode`\@=12\relax
+ \catcode`\~=13\relax
+ \catcode`\%=14\relax
+}
+
\def\svn@revinit{-2}
\let\svnrev\svn@revinit \let\@svn@rev\svn@revinit
\let\ifsvnmodified\@secondoftwo
@@ -298,9 +317,9 @@
\newcommand*{\svne@catcodes}{%
\let\do\@makeother
- \endlinechar=-1
+ \endlinechar=-1%
\dospecials
- \do\- \do\: \do\. \do\^^L
+ \do\-\do\:\do\.\do\^^L%
}
\def\svne@readline#1{%
@@ -332,24 +351,25 @@
\newcommand*{\svne@parseentriesfile}[1]{%
\begingroup
\let\next\relax
+ \def\svne@version{8}%
\openin\svne@read=#1format\relax
\ifeof\svne@read\else
\svne@readline\svne@version
\closein\svne@read
+ \fi
\ifnum\svne@version>7\relax
\openin\svne@read=#1entries\relax
\ifeof\svne@read\else
\svne@catcodes
\svne@readline\svne@version
\ifnum\svne@version>7\relax
- \def\next{\svne@parsedirentry%
- \svne@parseentries}
+ \def\next{\svne@parsedirentry
+ \svne@parseentries}%
\else
\closein\svne@read
\fi
\fi
\fi
- \fi
\next
\endgroup
}
@@ -374,12 +394,12 @@
\@makeother\.
\gdef\svne@scandate#1{%
- \expandafter\svne@scandate@#1\relax
- 0000-00-00T00:00:00.00000Z\relax\relax
+ \expandafter\svne@scandate@#1\empty
+ 0000-00-00T00:00:00.00000Z\empty\empty
}
-\gdef\svne@scandate@#1-#2-#3T#4:#5:#6.#7\relax#8\relax{%
- \gdef\svnfileyear{#1}%
+\gdef\svne@scandate@#1-#2-#3T#4:#5:#6.#7\empty#8\empty{%
+ \xdef\svnfileyear{#1}%
\gdef\svnfilemonth{#2}%
\gdef\svnfileday{#3}%
\gdef\svnfilehour{#4}%
@@ -426,8 +446,20 @@
}
\def\svne@handleentry{%
+ \ifx\svne@rev\empty
+ \let\svne@rev\svn@revinit
+ \fi
\svn@ifequal{\svne@name}{\svnfilefname}%
{%
+ \message{^^J%
+ Read from '.svn/entries' file:^^J%
+ Filename: \svne@name^^J%
+ Date: \svne@date^^J%
+ Revision: \svne@rev^^J%
+ Author: \svne@author^^J%
+ HeadURL: \svne@url^^J%
+ ^^J%
+ }%
\svnkwdef{Filename}{\svne@name}%
\svnkwdef{Date}{\svne@date}%
\svnkwdef{Revision}{\svne@rev}%
@@ -565,15 +597,54 @@
\svnkwdef{Date}{}%
\svnkwdef{Revision}{0}%
\svnkwdef{Author}{}%
+ \if@svnmulti@verbatim
+ \expandafter\svnidlong@readverb
+ \else
+ \expandafter\svnidlong@readargs
+ \fi
+}
+\def\svnidlong@readverb{%
+ \@ifnextchar\bgroup
+ {\svnidlong@readverb@\svnidlong@readverb@a}%
+ {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}%
+}
+\def\svnidlong@readverb@#1{%
\begingroup
- \if@svnmulti@verbatim
- \svn@catcodes
- \catcode`\{=12
- \catcode`\}=12
- \else
- \def\svnidlong@readargsfull{\svnidlong@readargs}%
- \fi
- \svnidlong@readargsfull
+ \svn@catcodes
+ \catcode`\{=1\relax
+ \catcode`\}=2\relax
+ #1%
+}
+\def\svnidlong@readverb@a#1{%
+ \endgroup
+ \svnkwsave@read #1\relax
+ \@ifnextchar\bgroup
+ {\svnidlong@readverb@\svnidlong@readverb@b}%
+ {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}%
+}
+\def\svnidlong@readverb@b#1{%
+ \endgroup
+ \svnkwsave@read #1\relax
+ \@ifnextchar\bgroup
+ {\svnidlong@readverb@\svnidlong@readverb@c}%
+ {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}%
+}
+\def\svnidlong@readverb@c#1{%
+ \endgroup
+ \svnkwsave@read #1\relax
+ \@ifnextchar\bgroup
+ {\svnidlong@readverb@\svnidlong@readverb@d}%
+ {\PackageError{svn-multi}{Wrong syntax for \string\svnidlong}{}}%
+}
+\def\svnidlong@readverb@d#1{%
+ \endgroup
+ \svnkwsave@read #1\relax
+ \ifx\svnkwDate\empty\else
+ \@svn@scanlongdate{\svnkwDate}%
+ \fi
+ \@svn@updateid{\svnkw{Revision}}{\svnkw{Date}}%
+ {\svnkw{Author}}{\svnkw{URL}}%
+ \ignorespaces
}
\if@svnmulti@verbatim
@@ -588,17 +659,6 @@
\else
\def\svn@catcodes{}
\fi
-
-\if@svnmulti@verbatim
-\begingroup
-\catcode`\{=12\catcode`\}=12
-\catcode`\(=1\catcode`\)=2
-\gdef\svnidlong@readargsfull#1{#2}#3{#4}#5{#6}#7{#8}(%
- \svnidlong@readargs(#2)(#4)(#6)(#8)%
-)
-\endgroup
-\fi
-
\def\svnidlong@readargs#1#2#3#4{%
\svnkwsave@read #1\relax
\svnkwsave@read #2\relax
@@ -1452,6 +1512,9 @@ patch generated macros '\string\pgf@image@<name>!' from the 'pgf' package!}%
\def\svn@svt{svt}
\AtBeginDocument{%
+\ifx\chapter\relax
+ \let\chapter\@undefined
+\fi
\ifx\chapter\@undefined
%% Adapted from the \tableofcontents macro, LaTeX `article' class [2005/09/16]
diff --git a/Master/texmf-dist/tex/latex/svn-multi/svnkw.sty b/Master/texmf-dist/tex/latex/svn-multi/svnkw.sty
new file mode 100644
index 00000000000..0ee32f20c0a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/svn-multi/svnkw.sty
@@ -0,0 +1,38 @@
+%%
+%% 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>
+%%
+%% 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.
+%%
+\makeatletter
+\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'.