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 POLYML_HOME=$(choosefrom \
19 "$ISABELLE_HOME/contrib/polyml-4.0" \
20 "$ISABELLE_HOME/contrib/polyml-3.x" \
21 "$ISABELLE_HOME/contrib/polyml" \
22 "$ISABELLE_HOME/../polyml-4.0" \
23 "$ISABELLE_HOME/../polyml-3.x" \
24 "$ISABELLE_HOME/../polyml" \
25 "/usr/share/polyml-4.0" \
26 "/usr/share/polyml-3.x" \
28 ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
29 ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null)
30 ML_HOME="$POLYML_HOME/$ML_PLATFORM"
33 # Standard ML of New Jersey 110 or later
35 #ML_HOME="$ISABELLE_HOME/../smlnj/bin"
36 #ML_OPTIONS="@SMLdebug=/dev/null"
37 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
39 # Moscow ML 2.00 or later (experimental!)
41 #ML_HOME="$ISABELLE_HOME/../mosml/bin"
47 #ML_HOME="$ISABELLE_HOME/../mlworks/bin"
51 # Standard ML of New Jersey 0.93
53 #ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
59 ### Compilation options
62 ISABELLE_USEDIR_OPTIONS="-i false"
63 #ISABELLE_USEDIR_OPTIONS="-i true -d pdf"
67 ### Document preparation
70 TEXINPUTS="$ISABELLE_HOME/lib/texinputs:$TEXINPUTS"
71 ISABELLE_LATEX="latex"
72 ISABELLE_PDFLATEX="pdflatex"
73 ISABELLE_BIBTEX="bibtex"
74 ISABELLE_DVIPS="dvips -D 600"
76 # The thumbpdf tool is probably not generally available ...
77 #ISABELLE_THUMBPDF="thumbpdf"
81 ### Misc path settings
84 # The place for user configuration, heap files, etc.
85 ISABELLE_HOME_USER=~/isabelle
87 # Where to look for isabelle tools (multiple dirs separated by ':').
88 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
90 # Location for temporary files (should be on a local file system).
91 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
94 # Heap input locations. ML system identifier is included in lookup.
95 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
97 # Heap output location. ML system identifier is appended automatically later on.
98 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
99 #Isabelle build tells us to store heaps etc. within the distribution.
100 ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
101 ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
103 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
104 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
107 # Site settings check -- just to make it a little bit harder to copy this file!
108 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
109 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
111 #Users may want to change this.
117 #Where to look for docs (multiple dirs separated by ':').
118 ISABELLE_DOCS="$ISABELLE_HOME/doc"
122 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
123 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
124 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
127 ## Fonts -- how to install the Isabelle X11 fonts (can be tricky!).
129 # (1) Get fonts from local (client side) directory:
130 ISABELLE_INSTALLFONTS="xset fp+ \"$ISABELLE_HOME/lib/fonts\"; xset fp rehash"
132 # (2) Get from font server at Munich or Cambridge:
133 #ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
134 #ISABELLE_INSTALLFONTS="xset fp+ tcp/font-serv.cl.cam.ac.uk:7100"
141 # The null interface: pass-through to 'isabelle'.
142 #ISABELLE_INTERFACE=none
144 # Simple xterm based interface.
145 ISABELLE_INTERFACE=xterm
146 ISABELLE_XTERM_OPTIONS=""
148 # Emacs running Isamode.
149 #ISABELLE_INTERFACE=emacs
150 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
154 ISABELLE_INTERFACE=$(choosefrom \
155 "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
156 "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
157 "/usr/share/ProofGeneral/isar/interface" \
158 "$ISABELLE_INTERFACE")
159 PROOFGENERAL_OPTIONS=""
161 # X-Symbol mode for Proof General
162 XSYMBOL_HOME=$(choosefrom \
163 "$ISABELLE_HOME/contrib/x-symbol" \
164 "$ISABELLE_HOME/../x-symbol" \
165 "/usr/share/x-symbol" \
170 ### External reasoning tools
173 ## Set HOME only for tools you have installed!
175 # SVC (Stanford Validity Checker)
177 #SVC_MACHINE=i386-redhat-linux
178 #SVC_MACHINE=sparc-sun-solaris
180 # Mucke (mu-calculus model checker)
181 #MUCKE_HOME=/usr/local/bin
183 # Einhoven model checker
184 #EINDHOVEN_HOME=/usr/local/bin