prefer Safari for viewing PDF files, which appears to be better behaved than Preview concerning re-opening recent files (Mountain Lion);
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!
11 ### JVM components (Scala or Java)
14 ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5 -Xmax-classfile-name 130"
18 ### Interactive sessions (cf. isabelle tty)
21 ISABELLE_LINE_EDITOR=""
22 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
23 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
27 ### Batch sessions (cf. isabelle build)
30 ISABELLE_BUILD_OPTIONS=""
31 ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
35 ### Document preparation (cf. isabelle latex/document)
38 ISABELLE_LATEX="latex"
39 ISABELLE_PDFLATEX="pdflatex"
40 ISABELLE_BIBTEX="bibtex"
41 ISABELLE_MAKEINDEX="makeindex"
42 ISABELLE_DVIPS="dvips -D 600"
43 ISABELLE_EPSTOPDF="epstopdf"
45 # Paranoia setting for strange latex installations ...
50 ### Misc path settings
53 ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
55 # The place for user configuration, heap files, etc.
56 if [ -z "$ISABELLE_IDENTIFIER" ]; then
57 ISABELLE_HOME_USER="$USER_HOME/.isabelle"
59 ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
62 # Where to look for isabelle tools (multiple dirs separated by ':').
63 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
65 # Location for temporary files (should be on a local file system).
66 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
68 # Heap input locations. ML system identifier is included in lookup.
69 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
71 # Heap output location. ML system identifier is appended automatically later on.
72 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
73 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
75 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
76 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
77 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
78 ISABELLE_SITE_SETTINGS_PRESENT=true
92 # Where to look for docs (multiple dirs separated by ':').
93 ISABELLE_DOCS="$ISABELLE_HOME/doc"
95 # Preferred document format
96 ISABELLE_DOC_FORMAT=pdf
98 # PDF file viewer (command-line to eval)
99 case "$ISABELLE_PLATFORM_FAMILY" in
101 PDF_VIEWER="xdg-open"
104 PDF_VIEWER="open -W -n -a Safari"
107 PDF_VIEWER="cygstart"
111 # DVI file viewer (command-line to eval)
113 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
114 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
115 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
116 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
119 # Printer spool command for PS files
124 ### Rendering information
127 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
128 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
132 ### Misc old-style settings
135 # Standard ML of New Jersey (slow!)
137 #ML_HOME="/usr/local/smlnj/bin"
138 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
139 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
140 #SMLNJ_CYGWIN_RUNTIME=1
142 # Misc programming languages
143 #ISABELLE_GHC="/usr/bin/ghc"
144 #ISABELLE_OCAML="/usr/bin/ocaml"
145 #ISABELLE_SWIPL="/usr/bin/swipl"