I am creating some entreprise software and almost every other information needs to be sent by email in pdf format. Reports, invoices, etc. I am using whtmltopdf right now, but it is far from ideal.
My idea setup would be to create some template with fixed parts, growable parts (texts that can vary in size), repeatable parts (lines in a table). And then just feed the data to have a nice pdf built.
The closest I found was using LibreOffice to convert a document to pdf (http://railsblog.kieser.net/2013/04/part-ii-creating-beautiful-reports-in.html).
It seems PDF generation should be a solved problem. Maybe, Adobe LiveCycle is doing exactly what I need, but it is not open source and I do not have $50k to find out.
What are you guys using?
[0]: http://orgmode.org/manual/LaTeX-and-PDF-export.html#LaTeX-an...
[1]: http://orgmode.org/worg/org-contrib/
[2]: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-g...
[3]: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R...