This is not LyX specific, but I'm hoping that some of you can provide direction to help me find the solution I need.
In brief: we're developing an approximate reasoning model (a type of expert system) in Python and C, with data maintained in an embedded SQLite database. I'd like to produce reports via LaTeX and pdflatex. To do so, I need to write report-specific LaTeX templates that have replaceable variables where the content goes. Then, the applicaion would programmatically extract the required information from a database table and fill in the template for the report. I cannot find how to create such a LaTeX template in "Guide to LaTeX" or TLC2. LaTeX document classes are templates themselves, but are used to manually fill in the document content. Can this content be provided programmatically? Suggestions appreciated. TIA, Rich -- Richard B. Shepard, Ph.D. | The Environmental Permitting Applied Ecosystem Services, Inc. | Accelerators(TM) <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863