Re: Bug#273323: scripting solution

2021-09-07 Thread Daniel Lange
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

Re: Bug#273323: doc-debian: please ship typesettable version of social contract and dfsg documents

2021-09-07 Thread Diederik de Haas
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 –

Re: Bug#273323: doc-debian: please ship typesettable version of social contract and dfsg documents

2021-09-07 Thread Gard Spreemann
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