This looks like a good start. Template isn't quite right, because I'll need to do different document formats and so I'll have to bang out a new program to process the data and generate the output.
The most interesting idea is to use LaTeX. 50 years ago I had a lot of trouble with it -- it wouldn't use normal fonts {only Knuth's metafont-based fonts} and was horribly huge and complicated to configure and such. Probably by today's standards the "huge" isn't so intractable any more and I bet that today's LaTeX can use PostScript fonts and TrueType fonts. I know that if I were facile in LaTeX it would be *easier* to generate than the corresponding HTML code for my documents, so maybe I should start by seeing if I can find my LaTeX manual. I vaguely recall I had a book called something like "The LaTeX book" but I bet that there are really much better books than that available now, but that's for me to poke at and not a perlmonks problem
Thanks for all the advice! | [reply] |
Here are a couple of LaTeX resources that might help shake off the rust:
...and if an HTML document is still desirable, you can convert Tex to HTML, too:
Hope you find these useful,
| [reply] |
Whatever works for you, one program to generate different HTML per report type wouldn't be too taxing. The webkit route I suggested has had good quality results including font rendering and colours, which wasn't the case with other tools.
| [reply] |