47.1.3. Instrukce pro převedení knihy Common Lisp Book do Postscriptu

http://pragmaticprogrammer.com/cgi-local/pragprog?Instru...

$ wget --recursive --level=4 http://psg.com/~dlamkins/sl/cover.html
$ cd psg.com/*dlamkins/sl/
$ mkdir output
$ c -ax gifs *.html output
$ for i in chapter*.html; do
>     sed -e '/<div/,/<.address/ s/^.*$//' $i >output/$i
> done
$ cd output
$ html2ps --twoup --number -o sl.ps --xref (author,about,dedic,cred,ack,fore,intr,cont,track,chapter,appendix)*.html
$ rm -r *.html gif

# optionally
$ ps2pdf sl.{ps,pdf}