Debian Codegraph @

texk/web2c/dvitype.test

raw
1 #! /bin/sh -vx
2 # $Id: dvitype.test 68157 2023-09-03 11:26:37Z takuji $
3 # Copyright 2017 Karl Berry <[email protected]>
4 # Copyright 2009-2012 Peter Breitenlohner <[email protected]>
5 # You may freely use, modify and/or distribute this file.
6
7 BinDir=${BinDir:-.}
8 ExeExt=${ExeExt:-}
9 _dvitype=$BinDir/dvitype$ExeExt
10
11 test -d tests || mkdir -p tests
12
13 if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
14
15 TEXMFCNF=$srcdir/../kpathsea \
16 TFMFONTS=`dirname "$tfmpath"` \
17 $_dvitype -show-opcodes $srcdir/tests/story >tests/xstory.dvityp || exit 1
18
19 fi
20
21 TEXMFCNF=$srcdir/../kpathsea \
22 TFMFONTS=$srcdir/tests \
23 $_dvitype --p=\*.\*.2 $srcdir/tests/pagenum.dvi >tests/xpagenum.typ || exit 2
24