/doc/English/userguide/pdfgen
#! | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | b324a991d2a4c9cd759cbd6f4418d016 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, WTFPL
- #!/bin/bash
- # This script generates the PDF version of the User Guide.
- # The HTMLDOC software is required.
- t2t=txt2tags
- html=userguide-pdf.html
- out=../userguide.pdf
- in=userguide.t2t
- cp $in $in.tmp
- sed 's/^%pdf//' $in.tmp > $in
- $t2t $in
- htmldoc --batch pdf.book
- rm $html
- echo saved $out
- mv $in.tmp $in
- exit 0