Debian Codegraph @

texmf-dist/doc/latex/svn-multi/example_chap1.tex

raw
1 % Version control information:
2 \svnidlong
3 {$HeadURL: svn://server/dir/example_chap1.tex $}
4 {$LastChangedDate: 2009-02-27 13:58:39 +0000 (Fri, 27 Feb 2009) $}
5 {$LastChangedRevision: 211 $}
6 {$LastChangedBy: martin $}
7
8 \chapter{Example Chapter}
9
10 \section{Version}
11 \subsection*{This chapter}
12 % \url is needed because there is an underscore in the name
13 % The package 'underscore' seems not to work properly, so the 'hyperref'
14 % package is used which is not the best solution. Avoid underscore in LaTeX filenames.
15 Filename: \svnnolinkurl{\svnfilefname}\\
16 URL: \svnnolinkurl{\svnfileurl}\\
17 % Something like \href{\svnfileurl}{Download} works also!
18 \textbf{Last change}\\
19 Revision: \svnfilerev\\
20 Date: \svnfiledate\\
21 Year: \svnfileyear\\
22 Time: \svnfilehour:\svnfileminute:\svnfilesecond\ \svnfiletimezone\\
23 Timezone: \svnfiletimezonehour : \svnfiletimezoneminute\\
24 Author: \svnfileauthor\\
25
26 \subsection*{Whole document}
27 Filename: \svnnolinkurl{\svnmainfilename}\\
28 URL: \url{\svnmainurl}\\
29 \textbf{Last change}\\
30 Revision: \svnrev\\
31 Date: \svndate\\
32 Year: \svnyear\\
33 Time: \svnhour:\svnminute:\svnsecond\ \svntimezone\\
34 Timezone: \svntimezonehour : \svntimezoneminute\\
35 Author: \svnauthor\\
36 % [...]
37
38 \section{Full Author Names}
39 \svnRegisterRevision{14}{Test}
40
41 Registered author name: \svnFullAuthor{\svnfileauthor}\\
42 Registered revision name: \svnFullRevision{\svnfilerev}\\
43 Registered author name (*): \svnFullAuthor*{\svnfileauthor}\\
44 Registered revision name (*): \svnFullRevision*{\svnfilerev}\\
45
46 \subsubsection*{Behaviour if value is not registered:}
47 Not registered user name: \svnFullAuthor{someusername}\\
48 Not registered revision name: \svnFullRevision{12}\\
49 Not registered user name (*): \svnFullAuthor*{someusername}\\
50 Not registered revision name (*): \svnFullRevision*{12}\\
51
52