src/Doc/prepare_document
author wenzelm
Tue, 18 May 2021 19:49:06 +0200
changeset 73731 a1ef2589c33f
parent 73725 cd9afbd0ccb9
child 73733 b13b2c1d419e
permissions -rwxr-xr-x
discontinued somewhat pointless "fixbookmarks": default output works sufficiently well;
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
62589
b5783412bfed prefer plain "isabelle" from PATH within Isabelle settings environment;
wenzelm
parents: 53498
diff changeset
     7
isabelle latex -o "$FORMAT"
b5783412bfed prefer plain "isabelle" from PATH within Isabelle settings environment;
wenzelm
parents: 53498
diff changeset
     8
isabelle latex -o bbl
48985
5386df44a037 renamed doc-src to src/Doc;
wenzelm
parents: 48971
diff changeset
     9
[ -f root.idx ] && "$ISABELLE_HOME/src/Doc/sedindex" root
62589
b5783412bfed prefer plain "isabelle" from PATH within Isabelle settings environment;
wenzelm
parents: 53498
diff changeset
    10
isabelle latex -o "$FORMAT"
b5783412bfed prefer plain "isabelle" from PATH within Isabelle settings environment;
wenzelm
parents: 53498
diff changeset
    11
isabelle latex -o "$FORMAT"