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
     1 #!/usr/bin/env bash
     2 
     3 set -e
     4 
     5 FORMAT="$1"
     6 
     7 "$ISABELLE_TOOL" latex -o sty
     8 cp "$ISABELLE_HOME/src/Doc/pdfsetup.sty" .
     9 
    10 "$ISABELLE_TOOL" latex -o "$FORMAT"
    11 "$ISABELLE_TOOL" latex -o bbl
    12 [ -f root.idx ] && "$ISABELLE_HOME/src/Doc/sedindex" root
    13 "$ISABELLE_TOOL" latex -o "$FORMAT"
    14 [ -f root.out ] && "$ISABELLE_HOME/src/Doc/fixbookmarks" root.out
    15 "$ISABELLE_TOOL" latex -o "$FORMAT"
    16