etc/settings
author wenzelm
Tue Jun 25 20:38:06 2013 +0200 (2013-06-25)
changeset 52450 e09e1091394d
parent 52052 892061142ba6
child 52550 09e52d4a850a
permissions -rw-r--r--
prefer Safari for viewing PDF files, which appears to be better behaved than Preview concerning re-opening recent files (Mountain Lion);
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
#
wenzelm@47173
     3
# Isabelle settings -- distribution defaults.
wenzelm@16875
     4
#
wenzelm@16875
     5
# Important notes:
wenzelm@47173
     6
#   * See the "system" manual for explanations on Isabelle settings
wenzelm@16875
     7
#   * DO NOT EDIT the repository copy of this file!
wenzelm@47173
     8
#   * DO NOT COPY this file into your ~/.isabelle directory!
wenzelm@2309
     9
wenzelm@2426
    10
###
wenzelm@27906
    11
### JVM components (Scala or Java)
wenzelm@27906
    12
###
wenzelm@27906
    13
wenzelm@51384
    14
ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5 -Xmax-classfile-name 130"
wenzelm@47009
    15
wenzelm@27906
    16
wenzelm@27906
    17
###
wenzelm@28504
    18
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    19
###
wenzelm@25627
    20
wenzelm@25627
    21
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    22
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    23
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    24
wenzelm@25627
    25
wenzelm@25627
    26
###
wenzelm@52052
    27
### Batch sessions (cf. isabelle build)
wenzelm@2435
    28
###
wenzelm@2435
    29
wenzelm@48466
    30
ISABELLE_BUILD_OPTIONS=""
wenzelm@51977
    31
ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
wenzelm@48466
    32
wenzelm@2435
    33
wenzelm@2435
    34
###
wenzelm@28504
    35
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    36
###
wenzelm@7773
    37
wenzelm@7773
    38
ISABELLE_LATEX="latex"
wenzelm@7773
    39
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    40
ISABELLE_BIBTEX="bibtex"
kleing@14344
    41
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    42
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
    43
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    44
kleing@13920
    45
# Paranoia setting for strange latex installations ...
wenzelm@11062
    46
#unset TEXMF
wenzelm@11062
    47
wenzelm@7773
    48
wenzelm@7773
    49
###
wenzelm@2968
    50
### Misc path settings
wenzelm@2426
    51
###
wenzelm@2294
    52
wenzelm@48840
    53
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
wenzelm@48840
    54
wenzelm@2426
    55
# The place for user configuration, heap files, etc.
wenzelm@48553
    56
if [ -z "$ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
    57
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
    58
else
wenzelm@48449
    59
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
    60
fi
wenzelm@2294
    61
wenzelm@3177
    62
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    63
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    64
wenzelm@4334
    65
# Location for temporary files (should be on a local file system).
wenzelm@9787
    66
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
    67
wenzelm@9787
    68
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
    69
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
    70
wenzelm@9787
    71
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
    72
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
    73
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
    74
wenzelm@16186
    75
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
    76
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
    77
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
    78
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
    79
kleing@13920
    80
kleing@13920
    81
###
wenzelm@28651
    82
### Default logic
kleing@13920
    83
###
wenzelm@16186
    84
wenzelm@3184
    85
ISABELLE_LOGIC=HOL
wenzelm@2294
    86
wenzelm@2786
    87
kleing@13920
    88
###
kleing@13920
    89
### Docs
kleing@13920
    90
###
wenzelm@2294
    91
wenzelm@16186
    92
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
    93
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
    94
wenzelm@16186
    95
# Preferred document format
wenzelm@15703
    96
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
    97
wenzelm@50197
    98
# PDF file viewer (command-line to eval)
wenzelm@50197
    99
case "$ISABELLE_PLATFORM_FAMILY" in
wenzelm@50197
   100
  linux)
wenzelm@50197
   101
    PDF_VIEWER="xdg-open"
wenzelm@50197
   102
    ;;
wenzelm@50197
   103
  macos)
wenzelm@52450
   104
    PDF_VIEWER="open -W -n -a Safari"
wenzelm@50197
   105
    ;;
wenzelm@50197
   106
  windows)
wenzelm@50197
   107
    PDF_VIEWER="cygstart"
wenzelm@50197
   108
    ;;
wenzelm@50197
   109
esac
wenzelm@50197
   110
wenzelm@50197
   111
# DVI file viewer (command-line to eval)
wenzelm@3062
   112
DVI_VIEWER=xdvi
wenzelm@2426
   113
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   114
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   115
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   116
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   117
kleing@15218
   118
wenzelm@16186
   119
# Printer spool command for PS files
wenzelm@14933
   120
PRINT_COMMAND=lp
wenzelm@14933
   121
wenzelm@2294
   122
wenzelm@2426
   123
###
wenzelm@37058
   124
### Rendering information
wenzelm@37058
   125
###
wenzelm@37058
   126
wenzelm@43484
   127
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   128
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   129
wenzelm@37058
   130
wenzelm@37058
   131
###
wenzelm@49000
   132
### Misc old-style settings
wenzelm@7185
   133
###
wenzelm@7185
   134
wenzelm@49000
   135
# Standard ML of New Jersey (slow!)
wenzelm@49000
   136
#ML_SYSTEM=smlnj-110
wenzelm@49000
   137
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@49000
   138
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
wenzelm@49000
   139
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@49000
   140
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@49000
   141
wenzelm@41968
   142
# Misc programming languages
wenzelm@48187
   143
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   144
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   145
#ISABELLE_SWIPL="/usr/bin/swipl"