PageRenderTime 41ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/English/userguide/pdfgen

http://txt2tags.googlecode.com/
#! | 18 lines | 15 code | 3 blank | 0 comment | 0 complexity | b324a991d2a4c9cd759cbd6f4418d016 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, WTFPL
  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