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