aboutsummaryrefslogtreecommitdiffhomepage
path: root/isar/interface
diff options
context:
space:
mode:
Diffstat (limited to 'isar/interface')
-rw-r--r--isar/interface9
1 files changed, 8 insertions, 1 deletions
diff --git a/isar/interface b/isar/interface
index a62df5ca..38adfa7a 100644
--- a/isar/interface
+++ b/isar/interface
@@ -19,6 +19,7 @@ function usage()
echo " -p NAME Emacs program name (default xemacs)"
echo " -u BOOL use .emacs file (default true)"
echo " -w BOOL use window system (default true)"
+ echo " -x BOOL enable x-symbol package"
echo
echo "Starts Proof General for Isabelle/Isar with proof documents FILES"
echo "(default Scratch.thy)."
@@ -46,11 +47,12 @@ LOGIC="$ISABELLE_LOGIC"
PROGNAME="xemacs"
INITFILE="true"
WINDOWSYSTEM="true"
+XSYMBOL=""
function getoptions()
{
OPTIND=1
- while getopts "l:p:u:w:" OPT
+ while getopts "l:p:u:w:x:" OPT
do
case "$OPT" in
l)
@@ -65,6 +67,9 @@ function getoptions()
w)
WINDOWSYSTEM="$OPTARG"
;;
+ x)
+ XSYMBOL="$OPTARG"
+ ;;
\?)
usage
;;
@@ -110,4 +115,6 @@ done
export PROOFGENERAL_ASSISTANTS=isar
export PROOFGENERAL_LOGIC="$LOGIC"
+export PROOFGENERAL_XSYMBOL="$XSYMBOL"
+
exec $PROGNAME $ARGS $FILES