From 0839ce46a19e9775d742582814da1259475d4536 Mon Sep 17 00:00:00 2001 From: Makarius Wenzel Date: Fri, 11 Feb 2000 17:46:54 +0000 Subject: option -x: enable x-symbol package; --- isar/interface | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'isar/interface') 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 -- cgit v1.2.3