summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/dvipng.test
blob: 4843a2167edad92043679e699fda778d8edc04d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

TEXMFCNF=$(dirname $(kpsewhich texmf.cnf))
TEXFONTMAPS=$(dirname $(dirname $(kpsewhich psfonts.map)))//
ENCFONTS=$(dirname $(dirname $(kpsewhich 8r.enc)))//
TEXMFMAIN=$(kpsewhich --expand-var='$TEXMFMAIN')
TEXMFDIST=$(kpsewhich --expand-var='$TEXMFDIST')
TEXMFLOCAL=$(kpsewhich --expand-var='$TEXMFLOCAL')

export TEXMFCNF TEXFONTMAPS ENCFONTS TEXMFMAIN TEXMFDIST TEXMFLOCAL

latex $srcdir/$DVIPNG_TREE/test_dvipng.tex || exit 77

./dvipng -T tight -strict test_dvipng || exit 1

echo View the result e.g. with xv test_dvipng\*.png