summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/opbible/examples/make-all
blob: 54e55c639628f4c726aab855366d14b478469661 (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
#!/bin/bash

# ...... English variants:

cd english

rm *.log *.ref *.xrf
for i in BBE Jubilee2000 NETfree UKJV RNKJV Webster ; do
   optex -jobname Bible-$i "\def\tmark{$i} \input bible"
   optex -jobname Bible-$i "\def\tmark{$i} \input bible"
   optex -jobname Bible-$i "\def\tmark{$i} \input bible"
done

cd ..

# ....... Czech variants:

cd czech

rm *.log *.ref *.xrf
for i in CEP BKR CSP PSP B21 SNC ; do
   optex -jobname Bible-$i "\def\tmark{$i} \input bible"
   optex -jobname Bible-$i "\def\tmark{$i} \input bible"
done
# third TeX run is needed:
for i in CEP PSP SNC ; do
   optex -jobname Bible-$i "\def\tmark{$i} \input bible"
done

cd ..

# ....... Generating texdoc:

optex -jobname opbible-techdoc '\docgen opbible'
optex -jobname opbible-techdoc '\docgen opbible'
optex -jobname opbible-techdoc '\docgen opbible'

# ....... Printing warnings summary:

echo Warnings summary:
grep WARNING english/*.log | grep -v '\[Biblon\]'
grep WARNING czech/*.log | grep -v '\[Biblon\]'
grep warning english/*.log czech/*.log

exit