docs/gr-u
diff ms2pdf @ 1:d88c144d041c
Troff-Version umgesetzt
Um den Lauf von 2015 aktualisierter Inhalt.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 27 Jul 2016 21:52:39 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ms2pdf Wed Jul 27 21:52:39 2016 +0200 1.3 @@ -0,0 +1,10 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +if [ $# -ne 1 ] ; then 1.7 + echo "Usage: ${0%%*/} foo.ms" >&2 1.8 + exit 1 1.9 +fi 1.10 + 1.11 +export TROFFONTS=/home/meillo/fonts/ 1.12 +<"$1" tbl | pic | troff -ms | dpost | 1.13 + ps2pdf -sPAPERSIZE=a4 -dPDFSETTINGS=/prepress - "${1%%.ms}.pdf"