comparison ms2pdf @ 41:e2961496d097 default tip

Add script to generate the PDFs
author markus schnalke <meillo@marmaro.de>
date Tue, 10 Nov 2015 21:13:22 +0100
parents
children
comparison
equal deleted inserted replaced
40:e294684cf338 41:e2961496d097
1 #!/bin/sh
2
3 if [ $# -ne 1 ] ; then
4 echo "Usage: ${0%%*/} foo.ms" >&2
5 exit 1
6 fi
7
8 export TROFFONTS=/home/meillo/fonts/
9 <"$1" tbl | pic | troff -ms | dpost |
10 ps2pdf -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress - "${1%%.ms}.pdf"