summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/svn-multi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-06-02 20:59:25 +0000
committerKarl Berry <karl@freefriends.org>2006-06-02 20:59:25 +0000
commit91230936ac4cc78b9f59de25afd779b5362b8646 (patch)
tree72ee94d127fdac3d76e1017c02ad0d997ad3635e /Master/texmf-dist/doc/latex/svn-multi
parent6a3f70a7106e6881776bd33bb4dad106d91c4146 (diff)
svn-multi
git-svn-id: svn://tug.org/texlive/trunk@1653 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.pdfbin0 -> 37257 bytes
-rw-r--r--Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex31
-rw-r--r--Master/texmf-dist/doc/latex/svn-multi/example_main.tex49
-rw-r--r--Master/texmf-dist/doc/latex/svn-multi/svnkw.pdfbin0 -> 118018 bytes
4 files changed, 80 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/svn-multi/example.pdf b/Master/texmf-dist/doc/latex/svn-multi/example.pdf
new file mode 100644
index 00000000000..ffb2ac039de
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/svn-multi/example.pdf
Binary files differ
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..9b06aed5c3e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex
@@ -0,0 +1,31 @@
+% Version control information:
+\svnidlong
+{$HeadURL: file://somewhere/example_chap1.tex $}
+{$LastChangedDate: 2006-05-26 14:37:12 +0100 (Fri, 26 May 2006) $}
+{$LastChangedRevision: 14 $}
+{$LastChangedBy: johnd $}
+\svnid{$Id: example_chap1.tex 14 2006-05-26 14:37:12Z johnd $}
+
+\chapter{Example Chapter}
+Text ...
+
+\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: \url{\svnkw{Filename}}\\
+URL: \url{\svnkw{HeadURL}}\\
+% Something like \href{\svnkw{HeadURL}}{Download} works also!
+Last change:\\
+Revision: \svnfilerev\\
+Date: \svnfiledate\\
+Author: \svnfileauthor\\
+
+\subsection*{Whole document}
+Last change:\\
+Revision: \svnrev\\
+Date: \svndate\\
+Author: \svnauthor\\
+
+% [...]
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..9c82baab8cd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/svn-multi/example_main.tex
@@ -0,0 +1,49 @@
+\documentclass[12pt]{report}
+\usepackage{svnkw}
+% Version control information:
+\svnidlong
+{$HeadURL: file://somewhere/example_main.tex $}
+{$LastChangedDate: 2006-05-26 15:47:47 +0100 (Fri, 26 May 2006) $}
+{$LastChangedRevision: 15 $}
+{$LastChangedBy: maryd $}
+\svnid{$Id: example_main.tex 15 2006-05-26 15:47:47Z maryd $}
+% 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
+
+\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 \svnkw{LastChangedRevision} to \svnrev if you like to have the
+% document revision.
+\newcommand{\svnfooter}{Last Changed Rev: \svnkw{LastChangedRevision}}
+
+
+\svnRegisterAuthor{johnd}{John Doe}
+\svnRegisterAuthor{maryd}{Mary Doe}
+
+\begin{document}
+\begin{titlepage}
+ \vspace{8ex}
+ {\huge Title\par}
+ \vfill
+ \flushleft\sffamily
+ Version control information:\\
+ Head URL: \url{\svnkw{HeadURL}}\\
+ Last changed date: \svndate\\
+ Last changes revision: \svnrev\\
+ Last changed by: \svnFullAuthor*{\svnauthor}\\
+\end{titlepage}
+
+\tableofcontents
+
+% Include chapters
+\include{example_chap1}
+%\include{example_chap2}
+%\include{example_chap3}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/svn-multi/svnkw.pdf b/Master/texmf-dist/doc/latex/svn-multi/svnkw.pdf
new file mode 100644
index 00000000000..c1ec176d251
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/svn-multi/svnkw.pdf
Binary files differ