docs/cut

view ms2pdf @ 41:e2961496d097

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