author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Tue, 08 Jul 2014 11:34:10 +0100 | |
changeset 557 | 77ea2de0ca62 |
parent 549 | 4d7543f48476 |
child 559 | ffa5c4ec9611 |
permissions | -rwxr-xr-x |
536 | 1 |
#!/bin/bash |
2 |
||
549
4d7543f48476
made build-script more robust
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
537
diff
changeset
|
3 |
ISABELLE_PDFLATEX="pdflatex" |
4d7543f48476
made build-script more robust
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
537
diff
changeset
|
4 |
|
536 | 5 |
set -e |
6 |
||
7 |
FORMAT="$1" |
|
8 |
VARIANT="$2" |
|
9 |
||
10 |
hg parent --template '{date|shortdate}' > tip.tex |
|
11 |
||
12 |
"$ISABELLE_TOOL" version > version.tex |
|
13 |
||
14 |
"$ISABELLE_TOOL" latex -o "$FORMAT" |
|
537 | 15 |
"$ISABELLE_TOOL" latex -o "$FORMAT" |
536 | 16 |
"$ISABELLE_TOOL" latex -o bbl |
17 |
makeindex -o root.stu root.str |
|
18 |
"$ISABELLE_TOOL" latex -o "$FORMAT" |
|
19 |
"$ISABELLE_TOOL" latex -o "$FORMAT" |
|
537 | 20 |
cp root.pdf ../document.pdf |
536 | 21 |
mv root.pdf ../progtutorial.pdf |
22 |
||
23 |
||
24 |
#"$ISABELLE_HOME/doc-src/sedindex" root |
|
25 |
#+[ -f root.out ] && "$ISABELLE_HOME/doc-src/fixbookmarks" root.out |
|
26 |
#+"$ISABELLE_TOOL" latex -o "$FORMAT" |
|
27 |
#+"$ISABELLE_TOOL" latex -o "$FORMAT" |
|
28 |
#$(ISABELLE_TOOL) document -o pdf ProgTutorial/generated |
|
29 |
# makeindex -o ProgTutorial/generated/root.stu ProgTutorial/generated/root.str |