http://phantomjs.org/ - headless WebKit, scripted by JS. It can do screen
captures... or did you mean a browser that re-renders HTML+CSS to LaTeX/PDF?


On Wed, Oct 23, 2013 at 5:01 PM, Jonathan S. Shapiro <[email protected]>wrote:

> Short version: does anybody know of a browser that can be invoked in a
> "headless" way to "print" an HTML page rather than rendering that page?
> Preferably one that implements the CSS printing properties?
>
> Long version: Back when I worked on EROS, I wanted a way to have online
> doc that was also printable. This prompted the creation of "OSDoc", which
> was used in the Coyotos and BitC project. OSDoc is an XML form from which
> we can generate HTML (for web rendering) and latex (for paper rendering).
> Don't get me started on XSL/FO - it's horrible.
>
> But recently I've seen good examples of print generated from [X]HTML using
> CSS printing properties. The catch is that I want to do that from a
> makefile, so I need a browser or a tool that can do that in headless
> fashion.
>
> Anybody know of such a thing?
>
>
> shap
>
> _______________________________________________
> bitc-dev mailing list
> [email protected]
> http://www.coyotos.org/mailman/listinfo/bitc-dev
>
>
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to