On Wed, Sep 10, 2003 at 12:47:56PM +0530, Philip S Tellis wrote:
On Wed, 10 Sep 2003, Shuvam Misra wrote:
because I can write my code to use text-files containing templates. When I generate HTML screens from my Perl/CGI programs, for instance, I keep the entire HTML page layout in text files, with placeholders,
You should probably look at HTML::Template for your HTML Templates, and PDF::Template for your PDF Templates.
I can't help but mention XML combined with XSL to produce HTML wherever necessary and follow the path along FO to PS/PDF wherever that is needed. Have often used that to create presentations and printed handouts using the DocBook "Slides" DTD for example.
Again, a rather ill-researched suggestion, but I think this is worth thinking about if you want to have information independent of multiple styles of representation.
Sameer.