1 # -*- shell-script -*- :mode=shellscript:
3 # Isabelle system settings.
6 # * See the "system" manual for explanations on Isabelle settings
7 # * User settings go into $ISABELLE_HOME_USER/etc/settings
8 # * DO NOT EDIT the repository copy of this file!
9 # * DO NOT COPY this file into the $ISABELLE_HOME_USER directory!
15 ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5 -Xmax-classfile-name 130"
17 ISABELLE_JAVA_SYSTEM_OPTIONS="-Dfile.encoding=UTF-8 -server"
19 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
21 #paranoia setting -- avoid problems of Java/Swing versus XIM/IBus etc.
26 ### Interactive sessions (cf. isabelle tty)
29 ISABELLE_LINE_EDITOR=""
30 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
31 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
35 ### Batch sessions (cf. isabelle build)
38 ISABELLE_BUILD_OPTIONS=""
39 ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
43 ### Document preparation (cf. isabelle latex/document)
46 ISABELLE_LATEX="latex"
47 ISABELLE_PDFLATEX="pdflatex"
48 ISABELLE_BIBTEX="bibtex"
49 ISABELLE_MAKEINDEX="makeindex"
50 ISABELLE_EPSTOPDF="epstopdf"
54 ### Misc path settings
57 ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
59 # The place for user configuration, heap files, etc.
60 if [ -z "$ISABELLE_IDENTIFIER" ]; then
61 ISABELLE_HOME_USER="$USER_HOME/.isabelle"
63 ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
66 # Where to look for isabelle tools (multiple dirs separated by ':').
67 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
69 # Location for temporary files (should be on a local file system).
70 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
72 # Heap input locations. ML system identifier is included in lookup.
73 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
75 # Heap output location. ML system identifier is appended automatically later on.
76 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
77 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
79 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
80 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
81 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
82 ISABELLE_SITE_SETTINGS_PRESENT=true
96 # Where to look for docs (multiple dirs separated by ':').
97 ISABELLE_DOCS="$ISABELLE_HOME/doc"
99 ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:README_REPOSITORY"
100 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"
102 # "open" within desktop environment (potentially asynchronous)
103 case "$ISABELLE_PLATFORM_FAMILY" in
105 ISABELLE_OPEN="xdg-open"
111 ISABELLE_OPEN="cygstart"
115 PDF_VIEWER="$ISABELLE_OPEN"
116 DVI_VIEWER="$ISABELLE_OPEN"
120 ### Rendering information
123 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
124 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
128 ### Misc old-style settings
131 # Standard ML of New Jersey (slow!)
133 #ML_HOME="/usr/local/smlnj/bin"
134 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
135 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
136 #SMLNJ_CYGWIN_RUNTIME=1
138 # Misc programming languages
139 #ISABELLE_GHC="/usr/bin/ghc"
140 #ISABELLE_OCAML="/usr/bin/ocaml"
141 #ISABELLE_SWIPL="/usr/bin/swipl"