From 91230936ac4cc78b9f59de25afd779b5362b8646 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 2 Jun 2006 20:59:25 +0000 Subject: svn-multi git-svn-id: svn://tug.org/texlive/trunk@1653 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/svn-multi/example.pdf | Bin 0 -> 37257 bytes .../doc/latex/svn-multi/example_chap1.tex | 31 +++++++++++++ .../doc/latex/svn-multi/example_main.tex | 49 +++++++++++++++++++++ Master/texmf-dist/doc/latex/svn-multi/svnkw.pdf | Bin 0 -> 118018 bytes 4 files changed, 80 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/svn-multi/example.pdf create mode 100644 Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex create mode 100644 Master/texmf-dist/doc/latex/svn-multi/example_main.tex create mode 100644 Master/texmf-dist/doc/latex/svn-multi/svnkw.pdf (limited to 'Master/texmf-dist/doc') 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 Binary files /dev/null and b/Master/texmf-dist/doc/latex/svn-multi/example.pdf 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 Binary files /dev/null and b/Master/texmf-dist/doc/latex/svn-multi/svnkw.pdf differ -- cgit v1.2.3