AZ logo

CTAN directory: /macros/latex/contrib/mversion

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
mversion Keeping track of document versions.

Files

Name Size* Date UTC Notes
README 1 KiB 2011-Oct-19 Shown below
mVersion.dtx 7 KiB 2011-Oct-19
mVersion.ins 2 KiB 2011-Oct-19
mVersion.pdf 160 KiB 2011-Oct-19

  *File sizes in kibibytes.

Contents of README

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 (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.