Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Have you thought about taking a look at what the Sql-Ledger people are using? It seems to me that they are using perl to fill in and "compile" LaTEX templates to postscript and then passing the result off to Ghostscript to make the PDF.

Of course some will say that LaTEX is nasty to use / learn, but it's really quite straight forward, stable, excessively documented, has many friendly/helpful users, and portable ( I think the only thing you can't find a binary for is EPOC/WinCE/PalmOS etc and even that may be untrue!).

Ghostscript is much the same.

The only real downside is needing to have access to both in addition to Perl, especially since LaTEX does come with "the kitchen sink" (you can get a set of CTAN (comprehensive TeX archive network) disks with everything for cheap.) and is a large install.

I'm kind of thinking that maybe PDF::Template could be a front for such a system to, I don't know, maybe help abstract out the *icky* details? Who knows maybe the Sql-Ledger people (sic) would drool all over for something like that. I know I would, I looked at PDF::Template quite a while ago and decided that, as it stood at that time, reading perlop.c was better for my mental health ;).

"All too often people confuse their being able to think with their actually having done so. A more pernicious mistake does not exist."

--Moraven Tollo in Michael A. Stackpole's A Secret Atlas

In reply to Re: PDF::Template redesign - I want your ideas! by Madams
in thread PDF::Template redesign - I want your ideas! by dragonchild

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2021-10-23 08:55 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (87 votes). Check out past polls.