in reply to Creating PDF files with Perl

I am trying to creating PDF files using "HTML::HTMLDoc", that seems to be the easiest one to accomplish this using Perl.

I found it easist to generate LaTeX files with Perl (for example with Text::Template), and run it through pdflatex. Your mileage might vary though.

Replies are listed 'Best First'.
Re^2: Creating PDF files with Perl
by holli (Abbot) on May 09, 2011 at 18:18 UTC
    A similar approach is to use a templating solution, like Template-Toolkit to produce XSL-FO code, and run that trough a converter like FOP. That way one gets a better control over the layout of the resulting document.


    holli

    You can lead your users to water, but alas, you cannot drown them.
      Do you have any code sample from your previous posting?
        What previous posting?


        holli

        You can lead your users to water, but alas, you cannot drown them.
Re^2: Creating PDF files with Perl
by Anonymous Monk on May 09, 2011 at 15:12 UTC
    Would you have any sample code based in what is been posted here and based in what you are suggesting?