src/Doc/prepare_document
author blanchet
Mon Dec 17 22:06:28 2012 +0100 (2012-12-17)
changeset 50583 681edd111e9b
parent 48985 5386df44a037
child 53498 05313b45a5ae
permissions -rwxr-xr-x
really honor pattern depth, and use 2 by default
wenzelm@48971
     1
#!/bin/bash
wenzelm@48971
     2
wenzelm@48971
     3
set -e
wenzelm@48971
     4
wenzelm@48971
     5
FORMAT="$1"
wenzelm@48971
     6
wenzelm@48971
     7
"$ISABELLE_TOOL" latex -o sty
wenzelm@48985
     8
cp "$ISABELLE_HOME/src/Doc/pdfsetup.sty" .
wenzelm@48971
     9
wenzelm@48971
    10
"$ISABELLE_TOOL" latex -o "$FORMAT"
wenzelm@48971
    11
"$ISABELLE_TOOL" latex -o bbl
wenzelm@48985
    12
[ -f root.idx ] && "$ISABELLE_HOME/src/Doc/sedindex" root
wenzelm@48971
    13
"$ISABELLE_TOOL" latex -o "$FORMAT"
wenzelm@48985
    14
[ -f root.out ] && "$ISABELLE_HOME/src/Doc/fixbookmarks" root.out
wenzelm@48971
    15
"$ISABELLE_TOOL" latex -o "$FORMAT"
wenzelm@48971
    16