Last time I had to generate pdf's, I just generated latex markup and then rendered it to pdf.
You could look into something like http://prawn.majesticseacreature.com/ though.
You could look into something like http://prawn.majesticseacreature.com/ though.
Prawn seems to have come a long way since I used it last - and has addressed all the limitations that pushed me towards LaTeX in the first place.
Definitely worth looking at Prawn again in my opinion.
Also, it is surprisingly fast.
Concerning quality of the PDF document, LaTeX very good in relation to other creators.
For being a universal document format, it's very frustrating that PDF readers don't make using them easier.