blob: cb23a97e527b85ee8268e1d0b85e63c289c8a1c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
\documentclass[12pt]{report}
\usepackage[all,external,groups]{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 $}
{$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 $}
% 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{}
%
\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
% document revision.
\newcommand{\svnfooter}{Last Changed Rev: \svnkw{LastChangedRevision}}
\pdfinfo{%
/CreationDate (D:\svnpdfdate)
}
\svnRegisterAuthor{johnd}{John Doe}
\svnRegisterAuthor{maryd}{Mary Doe}
\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.}
\vfill
\flushleft\sffamily
Version control information:\\
Head URL: \url{\svnkw{HeadURL}}\\
Head URL: \svnnolinkurl{\svnkw{HeadURL}}\\
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}
|