Debian Codegraph @

texmf-dist/doc/latex/svn-multi/README

raw
1 --------------------------------------------------------------
2 svn-multi (was svnkw)
3 --------------------------------------------------------------
4
5 This package lets you typeset keywords of the version
6 control system Subversion inside your LaTeX files anywhere
7 you like. Unlike the very similar package 'svn' the usage of
8 multiple files for one LaTeX document is well supported.
9
10 Copyright (C) 2006-2010 Martin Scharrer
11 E-mail: [email protected]
12 WWW: http://latex.scharrer-online.de/svn-multi/
13
14 This work may be distributed and/or modified under the
15 conditions of the LaTeX Project Public License, either version 1.3c
16 of this license or (at your option) any later version.
17 The latest version of this license is in
18 http://www.latex-project.org/lppl.txt
19 and version 1.3c or later is part of all distributions of LaTeX
20 version 2008/05/04 or later.
21
22 This work has the LPPL maintenance status `maintained'.
23
24 The Current Maintainer of this work is Martin Scharrer.
25
26 This work consists of the files svn-multi.dtx, svn-multi-pl.dtx, svn-multi.ins
27 and the derived files svn-multi.sty, svnkw.sty and svn-multi.pl.
28
29
30 Tiny example:
31 ~~~~~~~~~~~~~
32 Put the following Subversion keyword at the start of all your LaTeX files of
33 your document:
34
35 \svnidlong
36 {$HeadURL$}
37 {$LastChangedDate$}
38 {$LastChangedRevision$}
39 {$LastChangedBy$}
40
41 or
42
43 \svnid{$Id$}
44
45 or both.
46 Attach the subversion property svn:keyword with a value of
47 'URL Date Revision Author', 'Id' or both, respectively, to all LaTeX files.
48 Subversion will expand this keywords the next time the files are committed and
49 then the SVN information can be typeset using
50 \svnauthor, \svnrev, \svndate, \svnhour, ...
51 which will hold the information of the latest comitted file
52 anywhere in your multi-file LaTeX document.
53
54 Also per-file macros exist:
55 \svnfileauthor, \svnfilerev, ...
56 which hold the keyword values of the current file.
57
58
59 INSTALL:
60 ~~~~~~~~
61 From the .dtx file (if you don't get the .sty files directly):
62 ==================
63 Unpack the zip file and run 'make'.
64 You also can do it manually:
65 [pdf]latex svn-multi.ins # for the style file and perl script
66 [pdf]latex svn-multi.dtx # for the documentation
67 2x[pdf]latex example-main # for the example
68
69 For the large keyword group example document:
70 [pdf]latex group-example
71 perl svn-multi.pl group-example
72 2x[pdf]latex group-example
73
74 Place the two .sty files
75 svn-multi.sty # Package
76 svnkw.sty # Wrapper for backward compatibility
77 into your TEXMF tree, e.g. in
78 $TEXMF/tex/latex/svn-multi
79
80 Make the perl script svn-multi.pl executable:
81 chmod +x svn-multi.pl
82 and place it in an directory in your $PATH, e.g. under Unix/Linux in
83 /usr/bin/svn-multi.pl or
84 /usr/local/bin/svn-multi.pl or
85 $HOME/bin/svn-multi.pl
86 Consider to rename or link it to 'svn-multi'.
87