Index of /archives/text/CTAN/macros/latex/contrib/mversion
Name Last modified Size Description
Parent Directory -
mVersion.pdf 2013-03-11 22:08 159K
mVersion.dtx 2013-03-11 22:08 6.9K
mVersion.ins 2013-03-11 22:10 1.9K
README 2013-03-11 22:10 913
This material is subject to the LaTeX Project Public License. See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license.
mVersion, v1.0.1 (c) 2011 by Michael Schmeing
The mVersion package is an easy way to keep track of different versions of your document. It provides a counter that can be incremented each time you compile the document. By displaying the counter on each page, (e.g. with the \textsf{hyperref}-package) you can see which of two versions is the newer one.
The version number is considered to consist of two parts which are separated by a dot. The first part is a fixed string that can be set by the user with |setVersion|. The second part is the build number which can be incremented by calling |increaseBuild|. The command |version| prints the complete version number, e.g. 0.1.334 with 0.1 being the fixed version number and 334 the build number.