Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/macros/latex/contrib/svn-multi

--------------------------------------------------------------
 svn-multi (was svnkw)
--------------------------------------------------------------

This package lets you typeset keywords of the version
control system Subversion inside your LaTeX files anywhere
you like. Unlike the very similar package 'svn' the usage of
multiple files for one LaTeX document is well supported.

Copyright (C) 2006-2010 Martin Scharrer
E-mail: martin@scharrer-online.de
WWW: http://latex.scharrer-online.de/svn-multi/

This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3c
of this license or (at your option) any later version.
The latest version of this license is in
  http://www.latex-project.org/lppl.txt
and version 1.3c or later is part of all distributions of LaTeX
version 2008/05/04 or later.

This work has the LPPL maintenance status `maintained'.

The Current Maintainer of this work is Martin Scharrer.

This work consists of the files svn-multi.dtx, svn-multi-pl.dtx, svn-multi.ins
and the derived files svn-multi.sty, svnkw.sty and svn-multi.pl.


Tiny example:
~~~~~~~~~~~~~
Put the following Subversion keyword at the start of all your LaTeX files of
your document:

\svnidlong
{$HeadURL$}
{$LastChangedDate$}
{$LastChangedRevision$}
{$LastChangedBy$}

or

\svnid{$Id$}

or both.
Attach the subversion property svn:keyword with a value of 
'URL Date Revision Author', 'Id' or both, respectively, to all LaTeX files.
Subversion will expand this keywords the next time the files are committed and
then the SVN information can be typeset using
    \svnauthor, \svnrev, \svndate, \svnhour, ...
which will hold the information of the latest comitted file
anywhere in your multi-file LaTeX document.

Also per-file macros exist:
    \svnfileauthor, \svnfilerev, ...
which hold the keyword values of the current file.


INSTALL:
~~~~~~~~
From the .dtx file (if you don't get the .sty files directly):
==================
Unpack the zip file and run 'make'.
You also can do it manually:
  [pdf]latex svn-multi.ins      # for the style file and perl script
  [pdf]latex svn-multi.dtx      # for the documentation
2x[pdf]latex example-main       # for the example

For the large keyword group example document:
  [pdf]latex group-example
  perl svn-multi.pl group-example
2x[pdf]latex group-example

Place the two .sty files
  svn-multi.sty         # Package
  svnkw.sty             # Wrapper for backward compatibility
into your TEXMF tree, e.g. in
  $TEXMF/tex/latex/svn-multi

Make the perl script svn-multi.pl executable:
  chmod +x svn-multi.pl
and place it in an directory in your $PATH, e.g. under Unix/Linux in
  /usr/bin/svn-multi.pl          or
  /usr/local/bin/svn-multi.pl    or
  $HOME/bin/svn-multi.pl
Consider to rename or link it to 'svn-multi'.

Files

Name Size Date Notes
README 2824 2012-05-06 01:32
example_chap1.tex 1779 2012-05-06 01:32
example_main.tex 2209 2012-05-06 01:32
group_example.tex 10377 2012-05-06 01:32
svn-multi-pl.dtx 17206 2012-05-06 01:32
svn-multi-pl.pdf 134655 2012-05-06 01:32
svn-multi.dtx 144887 2012-05-06 01:32
svn-multi.ins 2398 2012-05-06 01:32
svn-multi.pdf 263361 2012-05-06 01:32

Down­load the con­tents of this pack­age in one zip archive (436.2k).

svn-multi – Sub­ver­sion key­words in multi-file LaTeX doc­u­ments

This pack­age lets you type­set key­words of the ver­sion con­trol sys­tem Sub­ver­sion in­side your LaTeX files any­where you like. Un­like the oth­er­wise sim­i­lar pack­age svn the use of mul­ti­ple files for one LaTeX doc­u­ment is well sup­ported.

The pack­age uses the au­thor's file­hook and cur­rfile pack­ages.

The pack­age in­ter­acts with an ex­ter­nal Perl script, to re­trieve in­for­ma­tion nec­es­sary for the re­quired out­put.

Pack­age De­tailssvn-multi
Home pagehttp://www.schar­rer-on­line.de/la­tex/svn-multi
Ver­sion2.4d
Li­censeThe LaTeX Project Public Li­cense
Copy­right2006-2009 Martin Schar­rer
Main­tainerMartin Schar­rer
TDS archivesvn-multi.tds.zip
Con­tained inTeXlive as svn-multi
MikTeX as svn-multi
Topics sup­port for keep­ing track of doc­u­ment de­vel­op­ment
ver­sion con­trol de­tails
See also svn
svninfo
Guest Book Sitemap Contact