diff options
author | Karl Berry <karl@freefriends.org> | 2009-04-22 17:11:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-04-22 17:11:56 +0000 |
commit | b38d0dc03b854ce6119171b7c516e9671aaafddf (patch) | |
tree | 25802d5158eb3a69f385a9f83cde24ab09fa89cd /Master/texmf-dist/doc/latex/svn-multi | |
parent | 1f0a6a8adc7ab6c162351d128ce1cd46702a31e1 (diff) |
svn-multi 2.1 (21apr09)
git-svn-id: svn://tug.org/texlive/trunk@12795 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/svn-multi')
-rw-r--r-- | Master/texmf-dist/doc/latex/svn-multi/example.pdf | bin | 42960 -> 41492 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/svn-multi/example_main.tex | 58 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf | bin | 1232969 -> 1244990 bytes |
4 files changed, 27 insertions, 46 deletions
diff --git a/Master/texmf-dist/doc/latex/svn-multi/example.pdf b/Master/texmf-dist/doc/latex/svn-multi/example.pdf Binary files differindex e96fecb03c0..6fe01903295 100644 --- a/Master/texmf-dist/doc/latex/svn-multi/example.pdf +++ b/Master/texmf-dist/doc/latex/svn-multi/example.pdf diff --git a/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex b/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex index dd63289e864..24ac0bc313b 100644 --- a/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex +++ b/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex @@ -1,7 +1,6 @@ % Version control information: -\svnid{$Id: example_chap1.tex 211 2009-02-27 13:58:39Z martin $} \svnidlong -{$HeadURL: svn+ssh://scharrer-online.de/home/martin/svn/src/trunk/latex/svn-multi-2/example_chap1.tex $} +{$HeadURL: svn://server/dir/example_chap1.tex $} {$LastChangedDate: 2009-02-27 13:58:39 +0000 (Fri, 27 Feb 2009) $} {$LastChangedRevision: 211 $} {$LastChangedBy: martin $} @@ -13,14 +12,14 @@ % \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{\svnkw{Filename}}\\ -URL: \url{\svnkw{HeadURL}}\\ -% Something like \href{\svnkw{HeadURL}}{Download} works also! +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\ \svnfiletimezone00\\ +Time: \svnfilehour:\svnfileminute:\svnfilesecond\ \svnfiletimezone\\ Timezone: \svnfiletimezonehour : \svnfiletimezoneminute\\ Author: \svnfileauthor\\ @@ -31,12 +30,12 @@ URL: \url{\svnmainurl}\\ Revision: \svnrev\\ Date: \svndate\\ Year: \svnyear\\ -Time: \svnhour:\svnminute:\svnsecond\ \svntimezone00\\ +Time: \svnhour:\svnminute:\svnsecond\ \svntimezone\\ Timezone: \svntimezonehour : \svntimezoneminute\\ Author: \svnauthor\\ % [...] -\section{Tests} +\section{Full Author Names} \svnRegisterRevision{14}{Test} Registered author name: \svnFullAuthor{\svnfileauthor}\\ diff --git a/Master/texmf-dist/doc/latex/svn-multi/example_main.tex b/Master/texmf-dist/doc/latex/svn-multi/example_main.tex index cb23a97e527..ef4ebce0f33 100644 --- a/Master/texmf-dist/doc/latex/svn-multi/example_main.tex +++ b/Master/texmf-dist/doc/latex/svn-multi/example_main.tex @@ -1,39 +1,35 @@ \documentclass[12pt]{report} -\usepackage[all,external,groups]{svn-multi}[2009/03/03] + +% Traditional way to include keywords: +\usepackage{svn-multi}[2009/03/03] % Version control information: \svnidlong -{$HeadURL: svn+ssh://scharrer-online.de/home/martin/svn/src/trunk/latex/svn-multi-2/example_main.tex $} +{$HeadURL: svn://server/dir/example_main.tex $} {$LastChangedDate: 2008-12-03 13:29:19 +0000 (Wed, 03 Dec 2008) $} {$LastChangedRevision: 146 $} {$LastChangedBy: martin $} -\svnid{$Id: example_main.tex 146 2008-12-03 13:29:19Z 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 - -% Include keywords from the following external files and put them in the -% 'external' group. -% Note: this only works when the 'svn-multi.pl' is run on this file after it has -% been compiled once AND the files below are part of a Subversion working -% directory. The latter is not the case if this file is from the CTAN server. -\svngroup{external} -\svnexternalpath{{images/}} -\svnexternal{{Makefile}{svn-multi.dtx}{svn-multi.ins}} -\svngroup{} -% +% 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{url} \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 \svnkw{LastChangedRevision} to \svnrev if you like to have the +% Change \svnfilerev to \svnrev if you like to have the % document revision. -\newcommand{\svnfooter}{Last Changed Rev: \svnkw{LastChangedRevision}} +\newcommand{\svnfooter}{Last Changed Rev: \svnfilerev} \pdfinfo{% /CreationDate (D:\svnpdfdate) @@ -44,46 +40,32 @@ \svnRegisterAuthor{martin}{Martin S.} \svnRegisterRevision{15}{Version~1} -\usepackage{graphics} -\graphicspath{{images/}} -\usepackage{pgf} -\begingroup -\pgfdeclareimage[width=4cm]{test}{images/logo} - \listfiles \begin{document} - \begin{titlepage} \vspace{8ex} {\huge Title\par} \vspace{2ex} - {\large \noindent This is an example document for the \texttt{svn-multi} (aka - \texttt{svnkw}) package. Please also look at the LaTeX source code of this - document.} + {\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: \url{\svnkw{HeadURL}}\\ - Head URL: \svnnolinkurl{\svnkw{HeadURL}}\\ + 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} -\tableofcontents - % Include chapters \include{example_chap1} %\include{example_chap2} %\include{example_chap3} - -%\input{test} -%\pgfuseimage{test} -\makeatletter - -\makeatother - \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 454fee78ef6..39cd32e9996 100644 --- a/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf +++ b/Master/texmf-dist/doc/latex/svn-multi/svn-multi.pdf |