| 1 |
|
#!/bin/bash |
| 2 |
|
|
| 3 |
+ |
|
| 4 |
|
LBIN=/usr/local/teTeX/bin |
| 5 |
+ |
#LBIN=/usr/bin |
| 6 |
|
|
| 7 |
|
base=mule |
| 8 |
|
|
| 9 |
|
/bin/rm -f $base.* |
| 10 |
|
|
| 11 |
< |
cat header.tex > $base.tex |
| 11 |
> |
cat preamble.tex > $base.tex |
| 12 |
|
cat $1 >> $base.tex |
| 13 |
< |
cat footer.tex >> $base.tex |
| 13 |
> |
cat bibEnd.tex >> $base.tex |
| 14 |
|
|
| 15 |
|
$LBIN/latex $base |
| 16 |
|
$LBIN/bibtex $base |
| 17 |
|
$LBIN/latex $base |
| 18 |
|
$LBIN/latex $base |
| 19 |
|
|
| 20 |
< |
$LBIN/dvips -o $base.ps $base.dvi |
| 20 |
> |
#$LBIN/dvips -o $base.ps $base.dvi |
| 21 |
|
|
| 22 |
< |
ghostview $base.ps |
| 22 |
> |
#ghostview $base.ps |
| 23 |
> |
|
| 24 |
> |
xdvi -fg black $base.dvi |