Les Denham wrote:
On Wednesday 03 October 2007, Richard Heck wrote:
Les Denham wrote:
My current ideas of how to do this are the following:
3. Write a Perl script to generate the same LaTeX, pulling the parts that
vary in each of the reports from the various databases.
Take the common parts out into separate files, and include them. You can
do this in LyX with master and child documents. This simplifies the file
structure and gives you an easy way to modify those common parts, should
you need to do that.

Richard,

I'd thought of that -- but this means putting them together in Lyx for each report, and I'm not sure that can be done in a batch mode. But perhaps I can figure out a way of modifying the Lyx file for each report. Certainly any hand-tweaking the final result would be easier in Lyx than LaTeX.
The .lyx file format is a text format, modifying it should be no harder than
modifying latex.  LyX can even import latex files, if you
prefer to modify/generate latex code.

LyX has enough batch features that a script can create pdf/ps without
anyone having to run LyX manually.

Helge Hafting

Reply via email to