Debian Codegraph @

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

raw
1 @echo off
2
3 :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
4 :: PREPARE:
5 :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
6
7 :: setting the environment variable texfonts is needed by dvitomp:
8
9 :: mp by Piet van Oostrum and emTeX
10 :: set texfonts=c:/emtex/tfms!
11 :: set tex_call=call tex &plain \input
12 :: set mp_call=mp &plain
13 :: set dvitomp_call=c:\emtex\mp\mplib\dvitomp
14
15 :: fpTeX, MiKTeX, DJ Delorie
16 set mp_call=mpost &mpost
17 set dvitomp_call=dvitomp
18
19 :: COMMON
20 set tex_call=call tex \input
21 set dvips_call=dvips -F -K
22 :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
23 :: DO JOB:
24 :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
25
26 %tex_call% storyx
27 %dvitomp_call% storyx.dvi storyx.mpx
28 :: it is advisable to avoid quotes -- hence the `str' operation:
29 %mp_call% \vardef ifi = str storyx.mpx enddef; vardef ofi = str storyx.mpy enddef; input fix_brks.mp
30 %mp_call% test-bop.mp
31 %tex_call% test-bop.tex
32 %dvips_call% test-bop.dvi
33
34 :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
35 :: CLEAN:
36 :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
37
38 del storyx.dvi
39 del storyx.log
40 :: del storyx.mpx
41 :: del storyx.mpy
42 del test-bop.dvi
43 del test-bop.log
44 del test-bop.10*