Hacker News new | ask | show | jobs
by Aheinemann 4262 days ago
For Reports with lots of tables and mathematics: generate LaTeX file -> PDFTEX to PDF using MiKTeX
2 comments

I use this for invoices in my homegrown invoicing system. I also have a script for generating PDF & HTML versions of my resume from the source data, and the PDF version goes through LaTeX. If you're using Ruby, prawn is a nice solution also, but my favorite is going via LaTeX.
Even without math, LaTeX is a pretty nice way to generate documents. Especially with TikZ, you can get really nice autogenerated figures too.
Agreed. LaTeX is the best (well, least-worst) report generating system, mostly because of its extensive ecosystem. It's well-supported in multiple languages, and there are packages for just about everything.