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_JAVA_SYSTEM_OPTIONS="-server -Dfile.encoding=UTF-8 -Disabelle.threads=0 -Djdk.gtk.version=2.2"
17 ISABELLE_TOOL_JAVA_OPTIONS="-Djava.awt.headless=true -Xms512m -Xmx2560m -Xss16m"
19 ISABELLE_SCALAC_OPTIONS="-encoding UTF-8 -nowarn -target:jvm-1.8 -Xmax-classfile-name 130 -J-Xms512m -J-Xmx2560m -J-Xss16m"
21 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
23 isabelle_scala_tools 'isabelle.Tools'
24 [ -d "$ISABELLE_HOME/Admin" ] && isabelle_scala_tools 'isabelle.Admin_Tools'
26 isabelle_file_format 'isabelle.Bibtex$File_Format'
28 #paranoia settings -- avoid intrusion of alien options
30 unset "JAVA_TOOL_OPTIONS"
32 #paranoia settings -- avoid problems of Java/Swing versus XIM/IBus etc.
37 ### Interactive sessions (cf. isabelle console)
40 ISABELLE_LINE_EDITOR="rlwrap"
44 ### Batch sessions (cf. isabelle build)
47 ISABELLE_BUILD_OPTIONS=""
51 ### Document preparation (cf. isabelle latex/document)
54 ISABELLE_LATEX="latex -file-line-error"
55 ISABELLE_PDFLATEX="pdflatex -file-line-error"
56 ISABELLE_BIBTEX="bibtex"
57 ISABELLE_MAKEINDEX="makeindex"
58 ISABELLE_EPSTOPDF="epstopdf"
60 if [ "$ISABELLE_PLATFORM_FAMILY" = "windows" ]; then
61 ISABELLE_LATEX="latex -c-style-errors"
62 ISABELLE_PDFLATEX="pdflatex -c-style-errors"
67 ### Misc path settings
70 ISABELLE_COMPONENT_REPOSITORY="https://isabelle.in.tum.de/components"
71 ISABELLE_COMPONENTS_BASE="$USER_HOME/.isabelle/contrib"
73 # The place for user configuration, heap files, etc.
74 if [ -z "$ISABELLE_IDENTIFIER" ]; then
75 ISABELLE_HOME_USER="$USER_HOME/.isabelle/isabisac"
77 ISABELLE_HOME_USER="$USER_HOME/.isabelle/isabisac"
80 # Where to look for isabelle tools (multiple dirs separated by ':').
81 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
83 # Location for temporary files (should be on a local file system).
84 ISABELLE_TMP_PREFIX="${TMPDIR:-/tmp}/isabelle-$USER"
87 ISABELLE_HEAPS="$ISABELLE_HOME_USER/heaps"
88 ISABELLE_HEAPS_SYSTEM="$ISABELLE_HOME/heaps"
91 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
92 ISABELLE_BROWSER_INFO_SYSTEM="$ISABELLE_HOME/browser_info"
94 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
95 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
96 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
97 ISABELLE_SITE_SETTINGS_PRESENT=true
111 # Where to look for docs (multiple dirs separated by ':').
112 ISABELLE_DOCS="$ISABELLE_HOME/doc"
114 ISABELLE_DOCS_RELEASE_NOTES="~~/ANNOUNCE:~~/README:~~/NEWS:~~/COPYRIGHT:~~/CONTRIBUTORS:~~/contrib/README:~~/src/Tools/jEdit/README:~~/README_REPOSITORY"
115 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:~~/src/Pure/ROOT.ML"
117 # "open" within desktop environment (potentially asynchronous)
118 case "$ISABELLE_PLATFORM_FAMILY" in
120 ISABELLE_OPEN="xdg-open"
126 ISABELLE_OPEN="cygstart"
130 PDF_VIEWER="$ISABELLE_OPEN"
131 DVI_VIEWER="$ISABELLE_OPEN"
138 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
145 ISABELLE_OPAM_ROOT="$USER_HOME/.opam"
147 ISABELLE_OCAML_VERSION="ocaml-base-compiler.4.05.0"
154 ISABELLE_STACK_ROOT="$USER_HOME/.stack"
156 ISABELLE_STACK_RESOLVER="lts-12.26"
158 ISABELLE_GHC_VERSION="ghc-8.4.4"
165 ISABELLE_GNUPLOT="gnuplot"
166 ISABELLE_FONTFORGE="fontforge"
168 #ISABELLE_MLTON="/usr/bin/mlton"
169 #ISABELLE_SMLNJ="/usr/bin/sml"
170 #ISABELLE_SWIPL="/usr/bin/swipl"