Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the svn-multi version 2.4d as version control for my LaTeX projects. However, I cannot get the various keywords typeset. Despite the invocation of \svnid and/or \svnidlong, things like \svnrev, \svndate etc contain only random noise. Is there anything else than svn checking, svn checkout and svn update that I need to do to make \svnrev etc contain correct information?

share|improve this question

closed as too localized by Joseph Wright Feb 6 '13 at 16:23

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Martin Schröder Dec 12 '12 at 18:48
    
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. –  Martin Schröder Dec 12 '12 at 18:50
    
Could you please add a minimal working example (MWE) that produces this issue. If the input data inside \svnid{$Id$} or \svnidlong .. is correct the values provided by \svnrev etc. should be fine, too. Note that the autokw option will not work for newer Standalone versions. –  Martin Scharrer Jan 29 '13 at 19:50

1 Answer 1

Here an example how I use svninfo. The package svn-multi should work in the same way.

In your document(s) there should be something like:

\usepackage[...]{svninfo}
[ ... ]

\svnInfo $Id: ch00-preface.tex 80 2012-12-06 08:56:15Z herbert $

\chapter*{Preface}
\addcontentsline{toc}{chapter}{\protect\numberline{Preface}}
[...]

then you can use all that commands which svninfo defines. Important is that you activate your files with svn for using the Id line:

svn propset svn:keywords "Id" <file>.tex

Only then the status ID line with status informations is updated by svn when comitting the file into the repository. Before comitting the first time, it is okay if you have a line like \svnInfo $Id: $.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.