remove old c1x draft (n1548)
[c-standard.git] / pdf2html.sh
blob14946b81dde5416254dafa2b81f03658774044be
1 #!/bin/sh
3 name=$(basename $1 |sed 's/.pdf$//')
4 [ $name.pdf = $1 ] || {
5 echo 'usage: ./pdf2html.sh nxxxx.pdf' 1>&2
6 exit 1
9 pdftotext -layout $name.pdf
10 mv $name.txt $name.txt.utf8
11 ./translit.sh <$name.txt.utf8 >$name.txt
12 ./tohtml.sh <$name.txt >$name.html