summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/example/compile.all
blob: a1fcd9b3917e6a1c0bd320d38d1da127625a75ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

function CompileIt () 
{ 
  TEX=$1
  #latex $TEX
  #makeindex $TEX
  mv $TEX.ps $TEX.ps.bak
  latex $TEX
  while grep "Rerun" $TEX.log; do latex $TEX; done
  dvips -Pcmz -Pamz -o $TEX.ps $TEX.dvi
  rm $TEX.aux $TEX.log $TEX.dvi
}


CompileIt "diagrams"
CompileIt "diagramsbw"
CompileIt "altdiags"