[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759016: 759016 O: html2ps -- HTML to PostScript converter



On Mon, 25 Aug 2014 15:28:48 +1000 "Trent W. Buck" <trentbuck@gmail.com> wrote:
> If you find a good alternative, please let us lurkers know.
> 
> Last time I looked, they all[0] emitted fugly output that about as bad
> as you'd get from hitting "print to file" in firefox -- not even
> letting me force full justification with TeX/libhyphen hyphenation!
> 
> I don't have time or the expertise to adopt html2ps.
> I could just about manage the perl bits,
> but it's actually mostly PS, and my PS-fu is weak.
> 
> [0] e.g. https://en.wikipedia.org/wiki/PrinceXML

I guess you are right. I never thought of using the ps output for much
else except printing. I suppose html2ps is good for when you need to
tweak the output PS file for whatever reason. We should note, however,
that software like wkhtmltopdf allows one to define user's style sheet,
which should be good enough for tweaking most pages into a more
printable format. Although I do not know how to do hyphenation using
CSS, maybe it is not possible, so your use case is still valid.

Anyhow, as HTML and the web as whole evolve, I expect that html2ps will
be more and more left behind. We could just let it be in Debian
repositories for anyone who finds it useful until that number falls to
0. Maybe packages such as a2ps, which depend on it, should look for
other alternatives, like wkhtmltopdf. Anyway, I just don't have the
time or the will to maintain the package.


Reply to: