Svn Revision in file.tex
Jump to navigation
Jump to search
How to get Rev information into a TeX-source using svn
- We have to create the directory and fill it with the desired directory.
mkdir foo
cp paper.tex references.bib IEEEconf.cls foo/
cd foo
- The TeX-source should initially contain the string
$ $Rev$ $
, e.g.
\title{Anonymous Reputation Management for File Sharing\\$ $Rev$ $}
- We import that project files to the repository.
svn import svn://brn-svn/papers/securecomm2007
- We have to set the properties of disired TeX-source for updating Rev by
svn propset svn:keywords "LastChangedRevision Id" paper.tex svn commit
- After doing that the Rev is automatically updated in the TeX-source. The svn is ready for use.
svn update svn checkout svn commit
--WM 10:16, 16 February 2007 (CET)