3
# Convert an ej document to a manpage document; which we then make a
4
# postscript document from
6
# Note that this code needs a specialially modified form of the
7
# groff tmac.an macro set called tmac.anps; this macro set can be
8
# obtained from the download page at http://www.maradns.org/
10
if which ej2man > /dev/null 2>&1 ; then
12
elif [ -e ../../tools/ej/ej2man ] ; then
13
CMD=../../tools/ej/ej2man
14
elif [ -e ../../../tools/ej/ej2man ] ; then
15
CMD=../../../tools/ej/ej2man
17
echo Sorry\, can not find ej2man
21
$CMD $1 | groff -mannp -rS12 -Tps
22
#$CMD $1 | groff -man -rS12 -Tps