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