I mostly use LaTeX for writing documents (LyX actually, but that doesn't matter here) and use Subversion for the version control. For managing the revision info of a source code file I use Subversion's built in feature Keyword Substitution which expands some special keyword (like $Date$ or $Revision$) in the source code to their current values.
Now two questions arise here:
- How to get the Subversion keywords nicely into LaTeX? Note that the
$character used for the Subversion keywords is already a reserved LaTeX control character and make things messy. - How to get the version info on every page (e.g. as a footer)?



