[racket] html -> pdf?

From: Niklas Larsson (metaniklas at gmail.com)
Date: Wed Sep 26 17:28:30 EDT 2012

2012/9/26 Jordan Schatz <jordan at noionlabs.com>:
>
>> Dumb question: does it have to involve Racket?  Googling for "html 2 pdf" and
>> "html to pdf converter" turned up a lot of hits--most of them involving PHP
>> and Ghostscript.
>
> Racket would be preferred, but not required. It looks like using wkhtmltopdf
> http://code.google.com/p/wkhtmltopdf/ or CutyCapt
> http://cutycapt.sourceforge.net/ will be the most straightforward. CutyCapt
> seems to do the best job "out of the box", but isn't maintained anymore, and
> unfortunately it looks like they both require an xserver to be running.
>
> The intent is to create "hard copy" PDF from content marked up in html and CSS,
> since html+css is nicer to work with then PS / PDF, and since I already have the
> content in HTML form...
>
> Thanks,
> Jordan


I like Pandoc, http://johnmacfarlane.net/pandoc/ , it is very
versatile and can convert between many formats.

Posted on the users mailing list.