ProgTutorial/document/build
author Norbert Schirmer <norbert.schirmer@web.de>
Tue, 14 May 2019 13:39:31 +0200
changeset 563 50d3059de9c6
parent 559 ffa5c4ec9611
permissions -rwxr-xr-x
accomodate Parsing section to Isabelle 2018

#!/bin/bash

ISABELLE_PDFLATEX="pdflatex"

set -e

FORMAT="$1"
VARIANT="$2"

hg parent --template '{date|shortdate}' > tip.tex

"$ISABELLE_TOOL" version > version.tex

"$ISABELLE_TOOL" latex -o "$FORMAT"
"$ISABELLE_TOOL" latex -o "$FORMAT"
"$ISABELLE_TOOL" latex -o bbl
makeindex -o root.stu root.str
"$ISABELLE_TOOL" latex -o "$FORMAT"
"$ISABELLE_TOOL" latex -o "$FORMAT"
cp root.pdf ../document.pdf
mv root.pdf ../progtutorial.pdf


#"$ISABELLE_HOME/doc-src/sedindex" root
#+[ -f root.out ] && "$ISABELLE_HOME/doc-src/fixbookmarks" root.out
#+"$ISABELLE_TOOL" latex -o "$FORMAT"
#+"$ISABELLE_TOOL" latex -o "$FORMAT"
#$(ISABELLE_TOOL) document -o pdf  ProgTutorial/generated
#	makeindex -o ProgTutorial/generated/root.stu ProgTutorial/generated/root.str