So, to begin my series of posts on LaTeX as a viable replacement for word documents, I started to look around the kind of requirements that my document would have.
My reports would have the following sections:
- Title page (with company logo and watermark)
- Table of Contents
- Revision history
- Custom header and footer information (with a company logo)
- Back page with the addresses of all office locations and company logo and watermark
If you have ever written a document in Latex you know that writing a title page and the table of contents are actually no-brainers. However, writing tables, in my case, used to output the document revision history, is one of the few bits that is painful with the LaTeX system.
So, instead of trying to figure out the best table format, I went hunting for a package in my favorite LaTeX website.
And for my delight it was very easy to find what I was looking for. I found this package called vHistory that does precisely what I am looking for.
Here is how you use it. In the place where you want your document history to be visible, include the following code:
1 2 3 | \begin{versionhistory} % ... Entries go here ... \end{versionhistory} |
Where an entry would look like that:
1 | \vhEntry{VERSION NUMBER}{DATE}{AUTHOR LIST SEPARATED BY "|"}{DESCRIPTION} |
So, a quick example of my release notes for an application could look like that:
1 2 3 4 | \begin{versionhistory} \vhEntry{1.0}{01-06-2009}{Pablo}{Initial release document} \vhEntry{1.1}{18-06-2009}{JohnDoe|Pablo}{Adding feature XYZ} \end{versionhistory} |

Thanks to