On 15 Sep 2010, at 21:20, Richard Parsons wrote:
- Store documents for each case: I'd like to store each document I
produce along with some information on that document (such as how long it took to prepare). If I use a wordprocessor (such as openoffice) is it possible to quickly extract some 'properties' via a script? Would a better solution be to keep the documents in a text format, such as latex code...?
- Enable templating: I could have a template document (e.g. a letter)
and some of the information could be pulled out from the case data to populate it. I would then amend it for the particular circumstances of my case to then print, save etc.
You might want to look at storing your documents in some sort of markup language in a VCS.
I'd take a look at Sphinx (the python documentation generator). It may not do exactly what you want, but it certainly would be a good starting point to look at how to do templating, converting to latex and generating PDFs from restructured text.
Hope that helps