src/Doc/prepare_document
author wenzelm
Fri, 09 May 2014 22:14:06 +0200
changeset 56933 b47193851dc6
parent 53498 05313b45a5ae
child 62589 b5783412bfed
permissions -rwxr-xr-x
more markup;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
53498
05313b45a5ae more portable hash-bang;
wenzelm
parents: 48985
diff changeset
     1
#!/usr/bin/env bash
48971
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
     2
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
     3
set -e
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
     4
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
     5
FORMAT="$1"
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
     6
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
     7
"$ISABELLE_TOOL" latex -o sty
48985
5386df44a037 renamed doc-src to src/Doc;
wenzelm
parents: 48971
diff changeset
     8
cp "$ISABELLE_HOME/src/Doc/pdfsetup.sty" .
48971
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
     9
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
    10
"$ISABELLE_TOOL" latex -o "$FORMAT"
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
    11
"$ISABELLE_TOOL" latex -o bbl
48985
5386df44a037 renamed doc-src to src/Doc;
wenzelm
parents: 48971
diff changeset
    12
[ -f root.idx ] && "$ISABELLE_HOME/src/Doc/sedindex" root
48971
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
    13
"$ISABELLE_TOOL" latex -o "$FORMAT"
48985
5386df44a037 renamed doc-src to src/Doc;
wenzelm
parents: 48971
diff changeset
    14
[ -f root.out ] && "$ISABELLE_HOME/src/Doc/fixbookmarks" root.out
48971
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
    15
"$ISABELLE_TOOL" latex -o "$FORMAT"
5a4bcf466156 prepare document more uniformly;
wenzelm
parents:
diff changeset
    16