src/Doc/prepare_document
author wenzelm
Tue, 31 Mar 2015 22:31:05 +0200
changeset 59886 e0dc738eb08c
parent 53498 05313b45a5ae
child 62589 b5783412bfed
permissions -rwxr-xr-x
support for explicit scope of private entries;
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