pointtools

Simple point utilities to hold text presentations.
git clone git://r-36.net/pointtools
Log | Files | Refs | README | LICENSE

point2pdf (228B)


      1 #!/bin/sh
      2 #
      3 # See the LICENSE file for license details.
      4 #
      5 
      6 name="slides"
      7 [ $# -gt 0 ] && name="$1"
      8 
      9 enscript *.txt -Brf "Courier16" \
     10 	-I "cat %s | iconv -c -f utf-8 -t iso-8859-1//translit" \
     11 	-p - \
     12 	| ps2pdf - "${name}.pdf"
     13