On Wednesday 03 October 2007, Shawn Willden wrote:
> What I need to do is to programmatically generate a postscript document,
> placing images and small chunks of text at locations specified by a
> template, with specific values pulled from a database.

I'm facing a similar, but different problem.  I need to revise a series of 28 
reports which are largely identical except for coverage of different 
geographical areas. Much of the information is in several databases.  The 
revision is needed because data has been added to the databases.

Each report is about 150 pages, of which more than 50 are identical or almost 
identical in all the reports. About 60% of the pages are full page figures 
(and most of these correspond exactly in each of the reports, differing only 
in the geographical area for the data). The text parts include perhaps 10% 
mathematical expressions, and many cross-references to other pages of text 
and to figures.

My current ideas of how to do this are the following:
1. Manually prepare one of the reports using Lyx.
2. Export to LaTeX.
3. Write a Perl script to generate the same LaTeX, pulling the parts that vary 
in each of the reports from the various databases. Some of the figures will 
be generated by this script too (maps using GMT and graphs using Grace).
4. Generate LaTeX for each of the 28 volumes.
5. Output to PDF, probably using pdfLaTeX.

I'd appreciate any comments or suggestions.

Les

-- 
L. R. Denham

Gentoo Linux 2007.1 Kernel 2.6.19-gentoo-r5
KDE 3.5.7

Reply via email to