etc/settings
author paulson
Fri, 29 Apr 2005 18:13:28 +0200
changeset 15890 ff6787d730d5
parent 15881 dcce46230131
child 15982 9d7f3db40b88
permissions -rw-r--r--
updated PG preview for new thms-containing

# -*- shell-script -*-
# $Id$
# Author: Markus Wenzel, TU Muenchen
#
# Isabelle settings -- site defaults.
# Do *NOT* copy this file into your personal isabelle directory!!!

###
### ML compiler settings (ESSENTIAL!)
###

# Note that ML_HOME specifies the location of the actual compiler
# binaries.  Do not invent new ML system names unless you know what
# you are doing.  Only one of the sections below should be activated.


# try finding the poly packages from the Isabelle site in the usual places
POLYML_HOME=$(choosefrom \
  "$ISABELLE_HOME/contrib/polyml" \
  "$ISABELLE_HOME/../polyml" \
  "/usr/share/polyml" \
  "/usr/local/polyml" \
  "/opt/polyml")

if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then
  # looks like Isabelle poly packages
  ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
  ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
  ML_HOME="$POLYML_HOME/$ML_PLATFORM"
  ML_OPTIONS="-h 15000"
elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
  # maybe a shrink-wrapped polyml on x86-linux ...

  # Poly/ML 4.0, 4.1, 4.1.x
  # include version number, needed for choosing right options
  # If automatic setting doesn't work, use e.g. ML_VERSION=4.1.3
  ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly | sed -n 's,.*Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p')
  ML_SYSTEM=polyml-${ML_VERSION}
  # processor/OS type
  ML_PLATFORM=x86-linux
  # where to find binaries
  ML_HOME=/usr/bin
  # where to find the standard database
  ML_DBASE=/usr/lib/poly/ML_dbase
  # options to pass to poly
  ML_OPTIONS="-h 15000"
fi

# Standard ML of New Jersey 110 or later
#ML_SYSTEM=smlnj-110
#ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
#ML_OPTIONS="@SMLdebug=/dev/null"
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")

# Moscow ML 2.00 or later (experimental!)
#ML_SYSTEM=mosml
#ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
#ML_PLATFORM=""
#ML_OPTIONS=""


###
### Compilation options for isatool usedir
### (as on command line)
###

ISABELLE_USEDIR_OPTIONS="-v true"

# for overriding proof objects in HOL image
HOL_PROOF_OBJECTS=""


###
### Document preparation
###

# latex command for isatool latex/document
ISABELLE_LATEX="latex"

# pdflatex command for isatool latex/document
ISABELLE_PDFLATEX="pdflatex"

# bibtex command for isatool latex/document
ISABELLE_BIBTEX="bibtex"

# makeindex command for isatool latex/document
ISABELLE_MAKEINDEX="makeindex"

# dvips command for isatool latex/document
ISABELLE_DVIPS="dvips -D 600"

# epstopdf command for isatool latex/document
ISABELLE_EPSTOPDF="epstopdf"

# Paranoia setting for strange latex installations ...
#unset TEXMF

# If ISABELLE_THUMBPDF is set, isatool tries to
# generate thumbnails for proof documents
#
# probably not generally available ...
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"


###
### Misc path settings
###

# The place for user configuration, heap files, etc.
ISABELLE_HOME_USER=~/isabelle

# Where to look for isabelle tools (multiple dirs separated by ':').
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"

# Location for temporary files (should be on a local file system).
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"


# Heap input locations. ML system identifier is included in lookup.
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"

# Heap output location. ML system identifier is appended automatically later on.
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
  #Isabelle build tells us to store heaps etc. within the distribution.
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
else
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
fi

# Site settings check -- just to make it a little bit harder to copy this file!
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }


###
### default logic, users may want to override this.
###
ISABELLE_LOGIC=HOL


###
### Docs
###

#Where to look for docs (multiple dirs separated by ':').
ISABELLE_DOCS="$ISABELLE_HOME/doc"

#Preferred document format
ISABELLE_DOC_FORMAT=pdf

#The dvi file viewer
DVI_VIEWER=xdvi
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"

#The pdf file viewer
PDF_VIEWER=acroread
#PDF_VIEWER=xpdf
#PDF_VIEWER=open  ##best for Mac users: will open in default PDF viewer

#Printer spool command for PS files
PRINT_COMMAND=lp


###
### Interfaces
###

# ISABELLE_INTERFACE is the program which is run by the Isabelle command

# Fallback: the null interface (pass-through to raw isabelle process).
ISABELLE_INTERFACE=none

# Emacs running (obsolete) Isamode.
#ISABELLE_INTERFACE=emacs
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
ISAMODE_OPTIONS=""

# Proof General path, look in a variety of places
ISABELLE_INTERFACE=$(choosefrom\
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
  "/usr/share/ProofGeneral/isar/interface" \
  "/usr/local/ProofGeneral/isar/interface" \
  "/opt/ProofGeneral/isar/interface" \
  "/usr/share/emacs/ProofGeneral/isar/interface" \
  "$ISABELLE_INTERFACE")

# Options to pass to Isabelle command when PG is selected as interface
PROOFGENERAL_OPTIONS=""
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"

# try xemacs first, else emacs
type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"


# X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
XSYMBOL_HOME=$(choosefrom \
  "$ISABELLE_HOME/contrib/x-symbol" \
  "$ISABELLE_HOME/../x-symbol" \
  "/usr/share/x-symbol" \
  "/usr/local/x-symbol" \
  "/opt/x-symbol" \
  "")

# Executed before xemacs with ProofGeneral is called.
# Required for remote fonts only.
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"


###
### External reasoning tools
###

## Set HOME only for tools you have installed!

# SVC (Stanford Validity Checker)
#SVC_HOME=
#SVC_MACHINE=i386-redhat-linux
#SVC_MACHINE=sparc-sun-solaris

# Mucke (mu-calculus model checker)
#MUCKE_HOME=/usr/local/bin

# Einhoven model checker
#EINDHOVEN_HOME=/usr/local/bin

# zChaff (SAT Solver)
#ZCHAFF_HOME=/usr/local/bin
#ZCHAFF_VERSION=2004.5.13
#ZCHAFF_VERSION=2004.11.15

# BerkMin561 (SAT Solver)
#BERKMIN_HOME=/usr/local/bin
#BERKMIN_EXE=BerkMin561-linux
#BERKMIN_EXE=BerkMin561-solaris

# Jerusat 1.3 (SAT Solver)
#JERUSAT_HOME=/usr/local/bin