meillo@1: #!/bin/sh meillo@1: meillo@1: if [ $# -ne 1 ] ; then meillo@1: echo "Usage: ${0%%*/} foo.ms" >&2 meillo@1: exit 1 meillo@1: fi meillo@1: meillo@1: export TROFFONTS=/home/meillo/fonts/ meillo@1: <"$1" tbl | pic | troff -ms | dpost | meillo@1: ps2pdf -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress - "${1%%.ms}.pdf"