summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/example/compile.all
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/bardiag/example/compile.all')
-rwxr-xr-xMaster/texmf-dist/doc/latex/bardiag/example/compile.all19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bardiag/example/compile.all b/Master/texmf-dist/doc/latex/bardiag/example/compile.all
new file mode 100755
index 00000000000..a1fcd9b3917
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/example/compile.all
@@ -0,0 +1,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"
+