Text version generated from lynx looks as ugly as hell, sgml is much better
at generating nice output. Unfortunately, sgml output contains a^ha highlight some printers do not like.
This commit is contained in:
parent
d26524fa0c
commit
9b24a6fb94
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
./sgml2html bird.sgml
|
./sgml2html bird.sgml
|
||||||
./sgml2latex bird.sgml
|
./sgml2latex bird.sgml
|
||||||
|
sgml2txt bird.sgml 2> /dev/null
|
||||||
|
#> bird.txt
|
||||||
|
#for i in bird.html bird-*.html; do
|
||||||
|
# lynx -dump $i | grep -v 'file://' | grep -v '^References$' >> bird.txt
|
||||||
|
# done
|
||||||
|
|
2
doc/printme
Normal file
2
doc/printme
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
./mkdocs; cat bird.txt | sed s/.//g | lpr
|
Loading…
Reference in a new issue