1 # -*- shell-script -*- :mode=shellscript:
3 # Isabelle settings -- distribution defaults.
6 # * See the "system" manual for explanations on Isabelle settings
7 # * DO NOT EDIT the repository copy of this file!
8 # * DO NOT COPY this file into your ~/.isabelle directory!
14 ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5 -Xmax-classfile-name 130"
16 ISABELLE_JAVA_SYSTEM_OPTIONS="-Dfile.encoding=UTF-8 -server"
18 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
19 classpath "$ISABELLE_HOME/lib/classes/scala-library.jar"
20 classpath "$ISABELLE_HOME/lib/classes/scala-swing.jar"
21 classpath "$ISABELLE_HOME/lib/classes/scala-actors.jar"
22 classpath "$ISABELLE_HOME/lib/classes/scala-compiler.jar"
23 classpath "$ISABELLE_HOME/lib/classes/scala-reflect.jar"
25 #paranoia setting -- avoid problems of Java/Swing versus XIM/IBus etc.
30 ### Interactive sessions (cf. isabelle tty)
33 ISABELLE_LINE_EDITOR=""
34 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
35 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
39 ### Batch sessions (cf. isabelle build)
42 ISABELLE_BUILD_OPTIONS=""
43 ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
47 ### Document preparation (cf. isabelle latex/document)
50 ISABELLE_LATEX="latex"
51 ISABELLE_PDFLATEX="pdflatex"
52 ISABELLE_BIBTEX="bibtex"
53 ISABELLE_MAKEINDEX="makeindex"
54 ISABELLE_EPSTOPDF="epstopdf"
58 ### Misc path settings
61 ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
63 # The place for user configuration, heap files, etc.
64 if [ -z "$ISABELLE_IDENTIFIER" ]; then
65 ISABELLE_HOME_USER="$USER_HOME/.isabelle"
67 ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
70 # Where to look for isabelle tools (multiple dirs separated by ':').
71 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
73 # Location for temporary files (should be on a local file system).
74 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
76 # Heap input locations. ML system identifier is included in lookup.
77 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
79 # Heap output location. ML system identifier is appended automatically later on.
80 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
81 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
83 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
84 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
85 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
86 ISABELLE_SITE_SETTINGS_PRESENT=true
100 # Where to look for docs (multiple dirs separated by ':').
101 ISABELLE_DOCS="$ISABELLE_HOME/doc"
103 # PDF file viewer (command-line to eval)
104 case "$ISABELLE_PLATFORM_FAMILY" in
106 PDF_VIEWER="xdg-open"
109 PDF_VIEWER="open -W -n -F"
112 PDF_VIEWER="cygstart"
116 # DVI file viewer (command-line to eval)
121 ### Rendering information
124 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
125 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
129 ### Misc old-style settings
132 # Standard ML of New Jersey (slow!)
134 #ML_HOME="/usr/local/smlnj/bin"
135 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
136 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
137 #SMLNJ_CYGWIN_RUNTIME=1
139 # Misc programming languages
140 #ISABELLE_GHC="/usr/bin/ghc"
141 #ISABELLE_OCAML="/usr/bin/ocaml"
142 #ISABELLE_SWIPL="/usr/bin/swipl"