Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl to generate PDF

by alexander_lunev (Pilgrim)
on Jan 10, 2020 at 06:43 UTC ( [id://11111276]=note: print w/replies, xml ) Need Help??


in reply to Perl to generate PDF

Just to add a method that we create documents (and PDF from them) in our system: we use LibreOffice documents as templates (which are zip files), and with HTML::Template, Archive::Zip, some Perl glue and https://github.com/unoconv/unoconv with LibreOffice (it is also work as a headless server). It is not as straightforward as with LaTeX, but it works for us - we need PDF only as option, main format for generated documents is Open Document Format, and it is a convenient to create document template in LibreOffice with variable holders like %THIS_IS_VAR% and then in our Perl glue we're replace %THIS_IS_VAR% in content.xml file inside of ODF file with HTML::Template's variables like <TMPL NAME=THIS_IS_VAR>.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111276]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found