I definitely vote for the PDF generation through another means option. I've done autogeneration of reports based on data, some pulled from flat files, some pulled from database backends, and it always seems easy to go through some language that affords a certain level of redundant markup. As such, the XML, HTML options are quite helpful, for markup, but formatting is a different issue.

Thus, I have to say I quite like using TeX for these types of things, because it gives you markup when you want it, it's language based so it's easy to generate from within scripts, and it will give consistent formatting if that is necessary (generating froms from DBs, etc.). It might take a little bit more work, since you need to be familiar with TeX, and it might take a few more CPU cycles, but it pays off by offering quite a bit more control over the layout.


In reply to Re: PDF generation by Anonymous Monk
in thread PDF generation by michellem

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.