src/Doc/prepare_document
author blanchet
Mon Sep 15 10:49:07 2014 +0200 (2014-09-15)
changeset 58335 a5a3b576fcfb
parent 53498 05313b45a5ae
child 62589 b5783412bfed
permissions -rwxr-xr-x
generate 'code' attribute only if 'code' plugin is enabled
wenzelm@53498
     1
#!/usr/bin/env 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