Hi Michael On 5/3/07, Michael Hearne <[EMAIL PROTECTED]> wrote: > Since reading your comment, I investigated Latex (which I've never really > used) a bit more and found that Latex should indeed do what I want. Since > I'm building a system in Python, and PyX wraps Latex, I'm not sure that this > is a misuse of PyX... >
I wouldn't say that PyX "wraps" LaTeX, rather it uses LaTeX to typeset labels for use in graphs. If you want to use LaTeX in some other capacity (e.g., making a table), then PyX won't help that much. In that case, you might as well use LaTeX directly, by which I mean that your python script would write the .tex file and run pdflatex on it. The only advantage I see to using PyX in this context is that it frees you from having to worry about paper sizes and whether your table will fit. PyX will let you easily scale your table to fit on the page once you are done, although whether the result will be readable is another matter.... You could do the same in straight LaTeX too, but it is a bit trickier. Alternatively, you could take a look at ReportLab (www.reportlab.org), which would be a more pythonic solution, albeit without such good typography IMO. Cheers Will -- Dr William Henney, Centro de Radioastronomía y Astrofísica, Universidad Nacional Autónoma de México, Campus Morelia ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
