Rich Shepard wrote:
On Tue, 25 Mar 2008, Rich Shepard wrote:

 Has anyone done this? Our model is written in Python, so we can use the
open() and write() methods to squirt strings to a disk file.

  After learning PyX (Python wrapper for TeX/LaTeX primarily for graphics),
and trying to use it to write the reports, I'm back to embedding LaTeX
markup in Python comments. Risking public humiliation (Hey! I'm used to that
since I testify at all sorts of government hearings.), I'm posting my first
abortive attempt to learn how to do the job. Small file attached; as long as
you have python installed on your system, it will run.

Based on your example, I would strongly recommend that you look into http://www.cheetahtemplate.org/ --- it's a wonderful tool, and it looks to me like it may be just what you're looking for.

Enjoy!
Dov

Reply via email to