This works reasonably well:
curl "https://www.debian.org/social_contract.en.html"; |\
sed '/^/,/^<\/div> /{//!b};d' |\
pandoc -f html -t latex -V geometry:a4paper,margin=2cm -o social_contract.pdf
On dinsdag 7 september 2021 11:26:15 CEST Gard Spreemann wrote:
> Diederik de Haas writes:
> > I wanted to print the Debian Social Contract, which turned out to be WAY
> > more difficult then I expected and then it should be.
> > ...
>
> Are any of these helpful? I'm happy to do more iterations –
Diederik de Haas writes:
> I wanted to print the Debian Social Contract, which turned out to be WAY
> more difficult then I expected and then it should be.
>
> So I went to https://www.debian.org/social_contract and wanted to print
> that. Apparently there isn't a print stylesheet for it, so if
3 matches
Mail list logo