lib/Tools/mkproject
author wenzelm
Mon, 24 Sep 2012 17:28:36 +0200
changeset 49554 7b7bd2d7661d
parent 29143 72c960b2b83e
permissions -rwxr-xr-x
more explicit keyword1/keyword2 markup -- avoid potential conflict with input token markup produced by Token_Marker;

#!/usr/bin/env bash
#
# Author: David Aspinall
#
# DESCRIPTION: prepare a session directory for PG-Eclipse

PRG="$(basename "$0")"

function usage()
{
  echo
  echo "Usage: isabelle $PRG NAME"
  echo
  echo "  Prepare a session directory for PG-Eclipse."
  exit 1
}

if [ "$#" -eq 1 ]; then
  NAME="$1"; shift
else
  usage
fi

"$ISABELLE_TOOL" mkdir -b -q "$NAME"
( cd document; "$ISABELLE_TOOL" latex -o sty; )