3 # Author: Markus Wenzel, TU Muenchen
4 # License: GPL (GNU GENERAL PUBLIC LICENSE)
6 # Isabelle settings -- site defaults.
7 # Do *NOT* copy this file into your personal isabelle directory!!!
10 ### ML compiler settings (ESSENTIAL!)
13 # Note that ML_HOME specifies the location of the actual compiler
14 # binaries. Do not invent new ML system names unless you know what
15 # you are doing. Only one of the sections below should be activated.
18 if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
19 #maybe a shrink-wrapped polyml-4.0 on x86-linux ...
23 ML_DBASE=/usr/lib/poly/ML_dbase
26 #... or rather a self-contained multi-platform installation
27 POLYML_HOME=$(choosefrom \
28 "$ISABELLE_HOME/contrib/polyml" \
29 "$ISABELLE_HOME/../polyml" \
33 ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
34 ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo platform)
35 ML_HOME="$POLYML_HOME/$ML_PLATFORM"
39 # Standard ML of New Jersey 110 or later
41 #ML_HOME="$ISABELLE_HOME/../smlnj/bin"
42 #ML_OPTIONS="@SMLdebug=/dev/null"
43 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
45 # Moscow ML 2.00 or later (experimental!)
47 #ML_HOME="$ISABELLE_HOME/../mosml/bin"
53 #ML_HOME="$ISABELLE_HOME/../mlworks/bin"
57 # Standard ML of New Jersey 0.93
59 #ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
65 ### Compilation options
68 ISABELLE_USEDIR_OPTIONS="-i false"
69 #ISABELLE_USEDIR_OPTIONS="-i true -d pdf"
73 ### Document preparation
76 TEXINPUTS="$ISABELLE_HOME/lib/texinputs:$TEXINPUTS"
77 ISABELLE_LATEX="latex"
78 ISABELLE_PDFLATEX="pdflatex"
79 ISABELLE_BIBTEX="bibtex"
80 ISABELLE_DVIPS="dvips -D 600"
82 # The thumbpdf tool is probably not generally available ...
83 #ISABELLE_THUMBPDF="thumbpdf"
87 ### Misc path settings
90 # The place for user configuration, heap files, etc.
91 ISABELLE_HOME_USER=~/isabelle
93 # Where to look for isabelle tools (multiple dirs separated by ':').
94 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
96 # Location for temporary files (should be on a local file system).
97 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
100 # Heap input locations. ML system identifier is included in lookup.
101 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
103 # Heap output location. ML system identifier is appended automatically later on.
104 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
105 #Isabelle build tells us to store heaps etc. within the distribution.
106 ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
107 ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
109 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
110 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
113 # Site settings check -- just to make it a little bit harder to copy this file!
114 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
115 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
117 #Users may want to change this.
123 #Where to look for docs (multiple dirs separated by ':').
124 ISABELLE_DOCS="$ISABELLE_HOME/doc"
128 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
129 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
130 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
133 ## Fonts -- how to install the Isabelle X11 fonts (can be tricky!).
135 # (1) Get fonts from local (client side) directory:
136 ISABELLE_INSTALLFONTS="xset fp+ \"$ISABELLE_HOME/lib/fonts\"; xset fp rehash"
138 # (2) Get from font server at Munich or Cambridge:
139 #ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
140 #ISABELLE_INSTALLFONTS="xset fp+ tcp/font-serv.cl.cam.ac.uk:7100"
147 # The null interface: pass-through to 'isabelle'.
148 #ISABELLE_INTERFACE=none
150 # Simple xterm based interface.
151 ISABELLE_INTERFACE=xterm
152 ISABELLE_XTERM_OPTIONS=""
154 # Emacs running Isamode.
155 #ISABELLE_INTERFACE=emacs
156 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
160 ISABELLE_INTERFACE=$(choosefrom \
161 "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
162 "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
163 "/usr/share/ProofGeneral/isar/interface" \
164 "/usr/local/ProofGeneral/isar/interface" \
165 "/opt/ProofGeneral/isar/interface" \
166 "/usr/share/emacs/ProofGeneral/isar/interface" \
167 "$ISABELLE_INTERFACE")
168 PROOFGENERAL_OPTIONS=""
170 # X-Symbol mode for Proof General
171 XSYMBOL_HOME=$(choosefrom \
172 "$ISABELLE_HOME/contrib/x-symbol" \
173 "$ISABELLE_HOME/../x-symbol" \
174 "/usr/share/x-symbol" \
175 "/usr/local/x-symbol" \
178 #required for remote fonts only ...
179 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
183 ### External reasoning tools
186 ## Set HOME only for tools you have installed!
188 # SVC (Stanford Validity Checker)
190 #SVC_MACHINE=i386-redhat-linux
191 #SVC_MACHINE=sparc-sun-solaris
193 # Mucke (mu-calculus model checker)
194 #MUCKE_HOME=/usr/local/bin
196 # Einhoven model checker
197 #EINDHOVEN_HOME=/usr/local/bin