| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
# ...... English variants: |
| 4 |
|
| 5 |
cd english |
| 6 |
|
| 7 |
rm *.log *.ref *.xrf |
| 8 |
for i in BBE Jubilee2000 NETfree UKJV RNKJV Webster ; do |
| 9 |
optex -jobname Bible-$i "\def\tmark{$i} \input bible" |
| 10 |
optex -jobname Bible-$i "\def\tmark{$i} \input bible" |
| 11 |
optex -jobname Bible-$i "\def\tmark{$i} \input bible" |
| 12 |
done |
| 13 |
|
| 14 |
cd .. |
| 15 |
|
| 16 |
# ....... Czech variants: |
| 17 |
|
| 18 |
cd czech |
| 19 |
|
| 20 |
rm *.log *.ref *.xrf |
| 21 |
for i in CEP BKR CSP PSP B21 SNC ; do |
| 22 |
optex -jobname Bible-$i "\def\tmark{$i} \input bible" |
| 23 |
optex -jobname Bible-$i "\def\tmark{$i} \input bible" |
| 24 |
done |
| 25 |
# third TeX run is needed: |
| 26 |
for i in CEP PSP SNC ; do |
| 27 |
optex -jobname Bible-$i "\def\tmark{$i} \input bible" |
| 28 |
done |
| 29 |
|
| 30 |
cd .. |
| 31 |
|
| 32 |
# ....... Generating texdoc: |
| 33 |
|
| 34 |
optex -jobname opbible-techdoc '\docgen opbible' |
| 35 |
optex -jobname opbible-techdoc '\docgen opbible' |
| 36 |
optex -jobname opbible-techdoc '\docgen opbible' |
| 37 |
|
| 38 |
# ....... Printing warnings summary: |
| 39 |
|
| 40 |
echo Warnings summary: |
| 41 |
grep WARNING english/*.log | grep -v '\[Biblon\]' |
| 42 |
grep WARNING czech/*.log | grep -v '\[Biblon\]' |
| 43 |
grep warning english/*.log czech/*.log |
| 44 |
|
| 45 |
exit |
| 46 |
|