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_SCALAC_OPTIONS="-encoding UTF-8 -nowarn -target:jvm-1.8 -Xmax-classfile-name 130 -J-Xms128m -J-Xmx1024m -J-Xss2m"
17 ISABELLE_JAVA_SYSTEM_OPTIONS="-server -Dfile.encoding=UTF-8 -Disabelle.threads=0"
19 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
21 #paranoia settings -- avoid intrusion of alien options
23 unset "JAVA_TOOL_OPTIONS"
25 #paranoia settings -- avoid problems of Java/Swing versus XIM/IBus etc.
30 ### Interactive sessions (cf. isabelle console)
33 ISABELLE_LINE_EDITOR="rlwrap"
37 ### Batch sessions (cf. isabelle build)
40 ISABELLE_BUILD_OPTIONS=""
44 ### Document preparation (cf. isabelle latex/document)
47 ISABELLE_LATEX="latex"
48 ISABELLE_PDFLATEX="pdflatex"
49 ISABELLE_BIBTEX="bibtex"
50 ISABELLE_MAKEINDEX="makeindex"
51 ISABELLE_EPSTOPDF="epstopdf"
55 ### Misc path settings
58 ISABELLE_COMPONENT_REPOSITORY="https://isabelle.in.tum.de/components"
60 # The place for user configuration, heap files, etc.
61 if [ -z "$ISABELLE_IDENTIFIER" ]; then
62 ISABELLE_HOME_USER="$USER_HOME/.isabelle/isabisac"
64 ISABELLE_HOME_USER="$USER_HOME/.isabelle/isabisac"
67 # Where to look for isabelle tools (multiple dirs separated by ':').
68 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
70 # Location for temporary files (should be on a local file system).
71 ISABELLE_TMP_PREFIX="${TMPDIR:-/tmp}/isabelle-$USER"
73 # Heap input locations. ML system identifier is included in lookup.
74 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
76 # Heap output location. ML system identifier is appended automatically later on.
77 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
78 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
80 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
81 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
82 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
83 ISABELLE_SITE_SETTINGS_PRESENT=true
97 # Where to look for docs (multiple dirs separated by ':').
98 ISABELLE_DOCS="$ISABELLE_HOME/doc"
100 ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:src/Tools/jEdit/README:README_REPOSITORY"
101 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"
103 # "open" within desktop environment (potentially asynchronous)
104 case "$ISABELLE_PLATFORM_FAMILY" in
106 ISABELLE_OPEN="xdg-open"
112 ISABELLE_OPEN="cygstart"
116 PDF_VIEWER="$ISABELLE_OPEN"
117 DVI_VIEWER="$ISABELLE_OPEN"
124 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
131 ISABELLE_GNUPLOT="gnuplot"
133 #ISABELLE_GHC="/usr/bin/ghc"
134 #ISABELLE_OCAML="/usr/bin/ocaml"
135 #ISABELLE_SWIPL="/usr/bin/swipl"