/doc/English/userguide/pdfgen

http://txt2tags.googlecode.com/ · #! · 18 lines · 15 code · 3 blank · 0 comment · 0 complexity · b324a991d2a4c9cd759cbd6f4418d016 MD5 · raw file

  1. #!/bin/bash
  2. # This script generates the PDF version of the User Guide.
  3. # The HTMLDOC software is required.
  4. t2t=txt2tags
  5. html=userguide-pdf.html
  6. out=../userguide.pdf
  7. in=userguide.t2t
  8. cp $in $in.tmp
  9. sed 's/^%pdf//' $in.tmp > $in
  10. $t2t $in
  11. htmldoc --batch pdf.book
  12. rm $html
  13. echo saved $out
  14. mv $in.tmp $in
  15. exit 0