etc/settings
author haftmann
Fri, 29 Apr 2005 08:03:01 +0200
changeset 15880 d6aa6c707acf
parent 15865 222092a48131
child 15881 dcce46230131
permissions -rw-r--r--
added antiquotations typeof, const, term_style, thm_style, term_type (something still to be done)
     1 # -*- shell-script -*-
     2 # $Id$
     3 # Author: Markus Wenzel, TU Muenchen
     4 #
     5 # Isabelle settings -- site defaults.
     6 # Do *NOT* copy this file into your personal isabelle directory!!!
     7 
     8 ###
     9 ### ML compiler settings (ESSENTIAL!)
    10 ###
    11 
    12 # Note that ML_HOME specifies the location of the actual compiler
    13 # binaries.  Do not invent new ML system names unless you know what
    14 # you are doing.  Only one of the sections below should be activated.
    15 
    16 
    17 # try finding the poly packages from the Isabelle site in the usual places
    18 POLYML_HOME=$(choosefrom \
    19   "$ISABELLE_HOME/contrib/polyml" \
    20   "$ISABELLE_HOME/../polyml" \
    21   "/usr/share/polyml" \
    22   "/usr/local/polyml" \
    23   "/opt/polyml")
    24 
    25 if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then
    26   # looks like Isabelle poly packages
    27   ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
    28   ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
    29   ML_HOME="$POLYML_HOME/$ML_PLATFORM"
    30   ML_OPTIONS="-h 15000"
    31 elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
    32   # maybe a shrink-wrapped polyml on x86-linux ...
    33 
    34   # Poly/ML 4.0, 4.1, 4.1.x
    35   # include version number, needed for choosing right options
    36   # If automatic setting doesn't work, use e.g. ML_VERSION=4.1.3
    37   ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly | sed -n 's,.*Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p')
    38   ML_SYSTEM=polyml-${ML_VERSION}
    39   # processor/OS type
    40   ML_PLATFORM=x86-linux
    41   # where to find binaries
    42   ML_HOME=/usr/bin
    43   # where to find the standard database
    44   ML_DBASE=/usr/lib/poly/ML_dbase
    45   # options to pass to poly
    46   ML_OPTIONS="-h 15000"
    47 fi
    48 
    49 # Standard ML of New Jersey 110 or later
    50 #ML_SYSTEM=smlnj-110
    51 #ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
    52 #ML_OPTIONS="@SMLdebug=/dev/null"
    53 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    54 
    55 # Moscow ML 2.00 or later (experimental!)
    56 #ML_SYSTEM=mosml
    57 #ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
    58 #ML_PLATFORM=""
    59 #ML_OPTIONS=""
    60 
    61 
    62 ###
    63 ### Compilation options for isatool usedir[B
    64 ### (as on command line)
    65 ###
    66 
    67 ISABELLE_USEDIR_OPTIONS="-v true"
    68 
    69 # for overriding proof objects in HOL image
    70 HOL_PROOF_OBJECTS=""
    71 
    72 
    73 ###
    74 ### Document preparation
    75 ###
    76 
    77 # latex command for isatool latex/document
    78 ISABELLE_LATEX="latex"
    79 
    80 # pdflatex command for isatool latex/document
    81 ISABELLE_PDFLATEX="pdflatex"
    82 
    83 # bibtex command for isatool latex/document
    84 ISABELLE_BIBTEX="bibtex"
    85 
    86 # makeindex command for isatool latex/document
    87 ISABELLE_MAKEINDEX="makeindex"
    88 
    89 # dvips command for isatool latex/document
    90 ISABELLE_DVIPS="dvips -D 600"
    91 
    92 # epstopdf command for isatool latex/document
    93 ISABELLE_EPSTOPDF="epstopdf"
    94 
    95 # Paranoia setting for strange latex installations ...
    96 #unset TEXMF
    97 
    98 # If ISABELLE_THUMBPDF is set, isatool tries to
    99 # generate thumbnails for proof documents
   100 #
   101 # probably not generally available ...
   102 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
   103 
   104 
   105 ###
   106 ### Misc path settings
   107 ###
   108 
   109 # The place for user configuration, heap files, etc.
   110 ISABELLE_HOME_USER=~/isabelle
   111 
   112 # Where to look for isabelle tools (multiple dirs separated by ':').
   113 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   114 
   115 # Location for temporary files (should be on a local file system).
   116 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   117 
   118 
   119 # Heap input locations. ML system identifier is included in lookup.
   120 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
   121 
   122 # Heap output location. ML system identifier is appended automatically later on.
   123 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
   124   #Isabelle build tells us to store heaps etc. within the distribution.
   125   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
   126   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
   127 else
   128   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   129   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   130 fi
   131 
   132 # Site settings check -- just to make it a little bit harder to copy this file!
   133 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   134   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   135 
   136 
   137 ###
   138 ### default logic, users may want to override this.
   139 ###
   140 ISABELLE_LOGIC=HOL
   141 
   142 
   143 ###
   144 ### Docs
   145 ###
   146 
   147 #Where to look for docs (multiple dirs separated by ':').
   148 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   149 
   150 #Preferred document format
   151 ISABELLE_DOC_FORMAT=pdf
   152 
   153 #The dvi file viewer
   154 DVI_VIEWER=xdvi
   155 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   156 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   157 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   158 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   159 
   160 #The pdf file viewer
   161 PDF_VIEWER=acroread
   162 #PDF_VIEWER=xpdf
   163 #PDF_VIEWER=open  ##best for Mac users: will open in default PDF viewer
   164 
   165 #Printer spool command for PS files
   166 PRINT_COMMAND=lp
   167 
   168 
   169 ###
   170 ### Interfaces
   171 ###
   172 
   173 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
   174 
   175 # Fallback: the null interface (pass-through to raw isabelle process).
   176 ISABELLE_INTERFACE=none
   177 
   178 # Emacs running (obsolete) Isamode.
   179 #ISABELLE_INTERFACE=emacs
   180 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   181 ISAMODE_OPTIONS=""
   182 
   183 # Proof General path, look in a variety of places
   184 ISABELLE_INTERFACE=$(choosefrom\
   185   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   186   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   187   "/usr/share/ProofGeneral/isar/interface" \
   188   "/usr/local/ProofGeneral/isar/interface" \
   189   "/opt/ProofGeneral/isar/interface" \
   190   "/usr/share/emacs/ProofGeneral/isar/interface" \
   191   "$ISABELLE_INTERFACE")
   192 
   193 # Options to pass to Isabelle command when PG is selected as interface
   194 PROOFGENERAL_OPTIONS=""
   195 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   196 
   197 # try xemacs first, else emacs
   198 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   199 
   200 
   201 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
   202 XSYMBOL_HOME=$(choosefrom \
   203   "$ISABELLE_HOME/contrib/x-symbol" \
   204   "$ISABELLE_HOME/../x-symbol" \
   205   "/usr/share/x-symbol" \
   206   "/usr/local/x-symbol" \
   207   "/opt/x-symbol" \
   208   "")
   209 
   210 # Executed before xemacs with ProofGeneral is called.
   211 # Required for remote fonts only.
   212 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   213 
   214 
   215 ###
   216 ### External reasoning tools
   217 ###
   218 
   219 ## Set HOME only for tools you have installed!
   220 
   221 # SVC (Stanford Validity Checker)
   222 #SVC_HOME=
   223 #SVC_MACHINE=i386-redhat-linux
   224 #SVC_MACHINE=sparc-sun-solaris
   225 
   226 # Mucke (mu-calculus model checker)
   227 #MUCKE_HOME=/usr/local/bin
   228 
   229 # Einhoven model checker
   230 #EINDHOVEN_HOME=/usr/local/bin
   231 
   232 # zChaff (SAT Solver)
   233 #ZCHAFF_HOME=/usr/local/bin
   234 #ZCHAFF_VERSION=2004.5.13
   235 #ZCHAFF_VERSION=2004.11.15
   236 
   237 # BerkMin561 (SAT Solver)
   238 #BERKMIN_HOME=/usr/local/bin
   239 #BERKMIN_EXE=BerkMin561-linux
   240 #BERKMIN_EXE=BerkMin561-solaris
   241 
   242 # Jerusat 1.3 (SAT Solver)
   243 #JERUSAT_HOME=/usr/local/bin
   244