etc/settings
author wenzelm
Tue May 14 12:21:35 2013 +0200 (2013-05-14)
changeset 51977 b55f90655328
parent 51940 958d439b3013
child 52052 892061142ba6
permissions -rw-r--r--
more generous java resources via ISABELLE_BUILD_JAVA_OPTIONS;
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@48466
    27
### Batch sessions
wenzelm@2435
    28
###
wenzelm@2435
    29
wenzelm@48466
    30
#cf. isabelle usedir
wenzelm@32292
    31
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
wenzelm@11569
    32
wenzelm@48466
    33
#cf. isabelle build
wenzelm@48466
    34
ISABELLE_BUILD_OPTIONS=""
wenzelm@51977
    35
ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
wenzelm@48466
    36
wenzelm@2435
    37
wenzelm@2435
    38
###
wenzelm@28504
    39
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    40
###
wenzelm@7773
    41
wenzelm@7773
    42
ISABELLE_LATEX="latex"
wenzelm@7773
    43
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    44
ISABELLE_BIBTEX="bibtex"
kleing@14344
    45
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    46
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
    47
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    48
kleing@13920
    49
# Paranoia setting for strange latex installations ...
wenzelm@11062
    50
#unset TEXMF
wenzelm@11062
    51
wenzelm@7773
    52
wenzelm@7773
    53
###
wenzelm@2968
    54
### Misc path settings
wenzelm@2426
    55
###
wenzelm@2294
    56
wenzelm@48840
    57
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
wenzelm@48840
    58
wenzelm@2426
    59
# The place for user configuration, heap files, etc.
wenzelm@48553
    60
if [ -z "$ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
    61
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
    62
else
wenzelm@48449
    63
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
    64
fi
wenzelm@2294
    65
wenzelm@3177
    66
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    67
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    68
wenzelm@4334
    69
# Location for temporary files (should be on a local file system).
wenzelm@9787
    70
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
    71
wenzelm@9787
    72
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
    73
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
    74
wenzelm@9787
    75
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
    76
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
    77
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
    78
wenzelm@16186
    79
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
    80
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
    81
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
    82
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
    83
kleing@13920
    84
kleing@13920
    85
###
wenzelm@28651
    86
### Default logic
kleing@13920
    87
###
wenzelm@16186
    88
wenzelm@3184
    89
ISABELLE_LOGIC=HOL
wenzelm@2294
    90
wenzelm@2786
    91
kleing@13920
    92
###
kleing@13920
    93
### Docs
kleing@13920
    94
###
wenzelm@2294
    95
wenzelm@16186
    96
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
    97
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
    98
wenzelm@16186
    99
# Preferred document format
wenzelm@15703
   100
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   101
wenzelm@50197
   102
# PDF file viewer (command-line to eval)
wenzelm@50197
   103
case "$ISABELLE_PLATFORM_FAMILY" in
wenzelm@50197
   104
  linux)
wenzelm@50197
   105
    PDF_VIEWER="xdg-open"
wenzelm@50197
   106
    ;;
wenzelm@50197
   107
  macos)
wenzelm@50197
   108
    PDF_VIEWER="open -W -n"
wenzelm@50197
   109
    ;;
wenzelm@50197
   110
  windows)
wenzelm@50197
   111
    PDF_VIEWER="cygstart"
wenzelm@50197
   112
    ;;
wenzelm@50197
   113
esac
wenzelm@50197
   114
wenzelm@50197
   115
# DVI file viewer (command-line to eval)
wenzelm@3062
   116
DVI_VIEWER=xdvi
wenzelm@2426
   117
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   118
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   119
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   120
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   121
kleing@15218
   122
wenzelm@16186
   123
# Printer spool command for PS files
wenzelm@14933
   124
PRINT_COMMAND=lp
wenzelm@14933
   125
wenzelm@2294
   126
wenzelm@2426
   127
###
wenzelm@37058
   128
### Rendering information
wenzelm@37058
   129
###
wenzelm@37058
   130
wenzelm@43484
   131
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   132
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   133
wenzelm@37058
   134
wenzelm@37058
   135
###
wenzelm@49000
   136
### Misc old-style settings
wenzelm@7185
   137
###
wenzelm@7185
   138
wenzelm@49000
   139
# Standard ML of New Jersey (slow!)
wenzelm@49000
   140
#ML_SYSTEM=smlnj-110
wenzelm@49000
   141
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@49000
   142
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
wenzelm@49000
   143
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@49000
   144
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@49000
   145
wenzelm@41968
   146
# Misc programming languages
wenzelm@48187
   147
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   148
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   149
#ISABELLE_SWIPL="/usr/bin/swipl"