summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-25 16:17:54 +0000
committerPavel Machek <pavel@ucw.cz>2000-05-25 16:17:54 +0000
commit9b24a6fb94049691075dfcdc00e2a0ae244c2325 (patch)
tree2472ed85a6236b838a78c2ea35b339354a13faad
parentd26524fa0c06f6716d5e226b18d7d4770924c6d4 (diff)
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.
-rwxr-xr-xdoc/mkdocs7
-rw-r--r--doc/printme2
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/mkdocs b/doc/mkdocs
index c5a19332..b291dd41 100755
--- a/doc/mkdocs
+++ b/doc/mkdocs
@@ -1,3 +1,8 @@
#!/bin/bash
./sgml2html bird.sgml
-./sgml2latex bird.sgml \ No newline at end of file
+./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
diff --git a/doc/printme b/doc/printme
new file mode 100644
index 00000000..cc1b9399
--- /dev/null
+++ b/doc/printme
@@ -0,0 +1,2 @@
+#!/bin/bash
+./mkdocs; cat bird.txt | sed s/.//g | lpr