summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/texpower/MakeExamples.sh
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-22 17:41:52 +0000
committerKarl Berry <karl@freefriends.org>2007-05-22 17:41:52 +0000
commit14af3f447439750920f754792b89f113d019076a (patch)
treed49286b2215d2211333ae7b9a890e2f6ea120b84 /Master/texmf-dist/doc/latex/texpower/MakeExamples.sh
parent9619856eb2ef82ce64ea935233a8a8c64791c616 (diff)
texpower update
git-svn-id: svn://tug.org/texlive/trunk@4334 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/texpower/MakeExamples.sh')
-rw-r--r--Master/texmf-dist/doc/latex/texpower/MakeExamples.sh46
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/texpower/MakeExamples.sh b/Master/texmf-dist/doc/latex/texpower/MakeExamples.sh
new file mode 100644
index 00000000000..15b363b9b37
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/texpower/MakeExamples.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+#
+# Script (for *nix) to compile all examples and demos.
+#
+# Remarks:
+# Not compiling bgndexample - too time consuming
+
+# Handling powersem based examples/demos which
+# must go the latex+dvips+ps2pdf route:
+for file in \
+ bckwrdexample \
+ divexample \
+ fancyexample \
+ hilitexample \
+ mathexample \
+ panelexample \
+ parexample \
+ picexample \
+ tabexample \
+ spanelexample \
+ prosperdemo \
+ seminardemo
+do
+ echo "Compiling $file.tex"
+ latex -interaction=batchmode $file.tex > /dev/null
+ latex -interaction=batchmode $file.tex > /dev/null
+ dvips -q $file.dvi
+ ps2pdf $file.ps
+done
+
+# Examples/demos which can be compiled with pdflatex:
+for file in \
+ verbexample \
+ foilsdemo \
+ ifmslidemo \
+ pdfslidemo \
+ simpledemo \
+ pdfscrdemo \
+ pp4sldemo \
+ slidesdemo
+do
+ echo "Compiling $file.tex"
+ pdflatex -interaction=batchmode $file > /dev/null
+ pdflatex -interaction=batchmode $file > /dev/null
+done
+