etc/settings
author wenzelm
Fri, 09 Oct 2015 16:58:24 +0200
changeset 61374 b3c665940d62
parent 61355 31829cf53f5d
child 61500 56a167b31a7f
permissions -rw-r--r--
server-side fonts;

# -*- shell-script -*- :mode=shellscript:
#
# Isabelle system settings.
#
# Important notes:
#   * See the "system" manual for explanations on Isabelle settings
#   * User settings go into $ISABELLE_HOME_USER/etc/settings
#   * DO NOT EDIT the repository copy of this file!
#   * DO NOT COPY this file into the $ISABELLE_HOME_USER directory!

###
### Isabelle/Scala
###

ISABELLE_SCALA_BUILD_OPTIONS="-encoding UTF-8 -nowarn -target:jvm-1.7 -Xmax-classfile-name 130"

ISABELLE_JAVA_SYSTEM_OPTIONS="-server -Dfile.encoding=UTF-8 -Disabelle.threads=0"

classpath "$ISABELLE_HOME/lib/classes/Pure.jar"

#paranoia settings -- avoid intrusion of alien options
unset "_JAVA_OPTIONS"
unset "JAVA_TOOL_OPTIONS"

#paranoia settings -- avoid problems of Java/Swing versus XIM/IBus etc.
unset XMODIFIERS


###
### Interactive sessions (cf. isabelle console)
###

ISABELLE_LINE_EDITOR="rlwrap"


###
### Batch sessions (cf. isabelle build)
###

ISABELLE_BUILD_OPTIONS=""

ISABELLE_BUILD_JAVA_OPTIONS32="-Djava.awt.headless=true -Xms128m -Xmx1024m -Xss1m"
ISABELLE_BUILD_JAVA_OPTIONS64="-Djava.awt.headless=true -Xms512m -Xmx2560m -Xss4m"


###
### Document preparation (cf. isabelle latex/document)
###

ISABELLE_LATEX="latex"
ISABELLE_PDFLATEX="pdflatex"
ISABELLE_BIBTEX="bibtex"
ISABELLE_MAKEINDEX="makeindex"
ISABELLE_EPSTOPDF="epstopdf"


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

ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"

# The place for user configuration, heap files, etc.
if [ -z "$ISABELLE_IDENTIFIER" ]; then
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
else
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
fi

# 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="${TMPDIR:-/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.
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"

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


###
### Default logic
###

ISABELLE_LOGIC=HOL


###
### Docs
###

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

ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:src/Tools/jEdit/README:README_REPOSITORY"
ISABELLE_DOCS_EXAMPLES="src/HOL/ex/Seq.thy:src/HOL/ex/ML.thy:src/HOL/Unix/Unix.thy:src/HOL/Isar_Examples/Drinker.thy:src/Tools/SML/Examples.thy"

# "open" within desktop environment (potentially asynchronous)
case "$ISABELLE_PLATFORM_FAMILY" in
  linux)
    ISABELLE_OPEN="xdg-open"
    ;;
  macos)
    ISABELLE_OPEN="open"
    ;;
  windows)
    ISABELLE_OPEN="cygstart"
    ;;
esac

PDF_VIEWER="$ISABELLE_OPEN"
DVI_VIEWER="$ISABELLE_OPEN"


###
### Rendering information
###

ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"


###
### Misc old-style settings
###

# Standard ML of New Jersey (slow!)
#ML_SYSTEM=smlnj-110
#ML_HOME="/usr/local/smlnj/bin"
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
#SMLNJ_CYGWIN_RUNTIME=1

# Misc programming languages
#ISABELLE_GHC="/usr/bin/ghc"
#ISABELLE_OCAML="/usr/bin/ocaml"
#ISABELLE_SWIPL="/usr/bin/swipl"