summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/presentations-en/runAll
blob: 6415d11ef237725502fa5c85d8f85e76a817acf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash
#
# $Id: runAll 3 2010-04-25 12:53:25Z herbert $
#

for FILE in `ls *.ltxbps 2>/dev/null`
do
    F=`basename $FILE .ltxbps` 
    echo "run file $FILE ($F) with latex ... "
    latex $FILE
    bibtex $F.aux
    latex $FILE
    latex $FILE
#    dvips -T 297mm,210mm $F.dvi
    echo "run file $F.dvi with dvips ..."
    dvips $F.dvi -o $F.ps
    echo "run file $F.ps with ps2pdf ..."
    ps2pdf -dAutoRotatePages=/None -dNoSafer $F.ps
    rm -f *.log *.bm *.vrb *.toc *.blg *.dvi *.ps *.nav *.out *.snm *.aux *.bbl
done

for FILE in `ls *.ltxpd 2>/dev/null`
do
    F=`basename $FILE .ltxpd` 
    echo "run file $FILE ($F) with latex ... "
    latex $FILE
    bibtex $F.aux
    latex $FILE
    latex $FILE
#    dvips -T 297mm,210mm $F.dvi
    echo "run file $F.dvi with dvips ..."
    dvips $F.dvi -o $F.ps
    echo "run file $F.ps with ps2pdf ..."
    ps2pdf -dAutoRotatePages=/None -dNoSafer $F.ps
    rm -f *.log *.bm *.vrb *.toc *.blg *.dvi *.ps *.nav *.out *.snm *.aux *.bbl
done

for FILE in `ls *.ltx2 2>/dev/null`
do
    F=`basename $FILE .ltx2`
    pdflatex $FILE
    bibtex $FILE
    pdflatex $FILE
    pdflatex $FILE
    rm -f *.log *.bm *.vrb *.toc *.blg *.dvi *.ps *.nav *.out *.snm *.aux *.bbl
done

for FILE in `ls *.ltxb 2>/dev/null`
do
    F=`basename $FILE .ltxb`
    pdflatex $FILE
    bibtex $FILE
    pdflatex $FILE
    pdflatex $FILE
    rm -f *.log *.bm *.vrb *.toc *.blg *.dvi *.ps *.nav *.out *.snm *.aux *.bbl
done

for FILE in `ls *.ltx 2>/dev/null`
do
    F=`basename $FILE .ltx`
    pdflatex $FILE
    bibtex $FILE
    pdflatex $FILE
    pdflatex $FILE
    rm -f *.log *.bm *.vrb *.toc *.blg *.dvi *.ps *.nav *.out *.snm *.aux *.bbl
done


exit 0