blob: 157d2f1203c1824174d88b7cec6646c3565fd8ca (
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
|
#!/bin/sh
#*****************************************************************************
#*** Functions
#*****************************************************************************
function makebmp() {
echo "*** Generating Bitmap $name..."
latex $name.tex
dvips -t A4 $name.dvi
gs -dNOPAUSE -r125x125 -sDEVICE=ppmraw -sOutputFile=tmp $name.ps << EOF
quit
EOF
bitconv tmp $name
}
#*****************************************************************************
#*** Main Program
#*****************************************************************************
echo ""
echo "*** Compiling Program..."
g++ -O2 bitconv.cc -m486 -lm -o bitconv
name=symbol1; makebmp
name=symbol2; makebmp
name=symbol3; makebmp
name=symbol4; makebmp
name=symbol5; makebmp
name=symbol6; makebmp
name=fonts; makebmp
echo "*** Cleaning directory..."
rm -f tmp *.log *.aux *.toc *.dvi *.ps *~
|