News for hackers. Stuff that matters.
Re:Pdfmake – PDF printing in pure JavaScript by logicallee on Saturday May 30, 2015 @06:12PM (#9631955)
>overall the output looks ugly (compared to TeX)

what doesn't!

>What is the advantage over simply creating an appropriate LaTeX/ConTeXt document in the background and serving that?

the obvious advantage is that you wouldn't have to learn LaTeX/ConTeXt, no?

Re:Pdfmake – PDF printing in pure JavaScript by Vulume on Saturday May 30, 2015 @08:01PM (#9632389)
Pdfmake could generate LaTeX, which can then be properly compiled to a pdf (potentially with texlive.js).

In Haskell this is possible with similar DSLs. Very useful to generate reports.

Re:Pdfmake – PDF printing in pure JavaScript by adiM on Sunday May 31, 2015 @02:10AM (#9633268)
You do need to learn _a_ way to generate document. I don't see how the JS method is easier than, say, using a ConTeXt Lua Document (CLD). I'd really like to compare samples.