Whenever I write a collaborative document, it undergoes a lot of draft changes. Apart from maintaining the change history in svn, how can I maintain the change history in the tex document itself? I also want it to reflect on the generated pdf.
If you want a revision history table showing the following four items, you should look at the vhistory package.
If you're wanting the exact revision history from SVN, this might not be the package for you, as this revision history table is created in the LaTeX document. I find this advantageous since I want a more succinct revision history table than every little check-in to git.
Example vhistory code
Example vhistory output
I have previously used the
But I recently found the
On the other hand, it is an external shell-script and not a LaTeX package. Also you will only get the global revision number, not a more fine-grained result depending on current file etc. as
Supplement: Since it does not use svn properties and special lines in the TeX file, it is completely independent from the
I Use package rcs and put
in the preamble. Then, lines such as:
put version information in the formated document.
I notice that there is also a package rcsinfo with a similar purpose, but have not used it.