Debian Codegraph @

texmf-dist/doc/metapost/dviincl/testit.sh

raw
1 #!/bin/sh
2 ## simple test of DVI file inclusion in EPS file generated by METAPOST
3 tex storyx
4 dvitomp storyx.dvi storyx.mpx
5 ## it is advisable to avoid quotes -- hence the `str' operation:
6 mpost "\vardef ifi = str storyx.mpx enddef; vardef ofi = str storyx.mpy enddef; input fix_brks.mp"
7 mpost test-bop.mp
8 tex test-bop.tex
9 dvips test-bop.dvi -o test-bop.ps
10 ## CLEAN:
11 rm storyx.dvi
12 rm storyx.log
13 # rm storyx.mpx
14 # rm storyx.mpy
15 rm test-bop.dvi
16 rm test-bop.log
17 rm test-bop.10*
18