summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex')
-rw-r--r--Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex52
1 files changed, 52 insertions, 0 deletions
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..24ac0bc313b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/svn-multi/example_chap1.tex
@@ -0,0 +1,52 @@
+% Version control information:
+\svnidlong
+{$HeadURL: svn://server/dir/example_chap1.tex $}
+{$LastChangedDate: 2009-02-27 13:58:39 +0000 (Fri, 27 Feb 2009) $}
+{$LastChangedRevision: 211 $}
+{$LastChangedBy: martin $}
+
+\chapter{Example Chapter}
+
+\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: \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\ \svnfiletimezone\\
+Timezone: \svnfiletimezonehour : \svnfiletimezoneminute\\
+Author: \svnfileauthor\\
+
+\subsection*{Whole document}
+Filename: \svnnolinkurl{\svnmainfilename}\\
+URL: \url{\svnmainurl}\\
+\textbf{Last change}\\
+Revision: \svnrev\\
+Date: \svndate\\
+Year: \svnyear\\
+Time: \svnhour:\svnminute:\svnsecond\ \svntimezone\\
+Timezone: \svntimezonehour : \svntimezoneminute\\
+Author: \svnauthor\\
+% [...]
+
+\section{Full Author Names}
+\svnRegisterRevision{14}{Test}
+
+Registered author name: \svnFullAuthor{\svnfileauthor}\\
+Registered revision name: \svnFullRevision{\svnfilerev}\\
+Registered author name (*): \svnFullAuthor*{\svnfileauthor}\\
+Registered revision name (*): \svnFullRevision*{\svnfilerev}\\
+
+\subsubsection*{Behaviour if value is not registered:}
+Not registered user name: \svnFullAuthor{someusername}\\
+Not registered revision name: \svnFullRevision{12}\\
+Not registered user name (*): \svnFullAuthor*{someusername}\\
+Not registered revision name (*): \svnFullRevision*{12}\\
+
+