etc/settings
author wenzelm
Sun Nov 25 15:17:01 2012 +0100 (2012-11-25)
changeset 50197 b385d134926d
parent 49000 0cebcbeac4c7
child 51384 d2116723f550
permissions -rw-r--r--
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
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@47009
    14
ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5"
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@48466
    35
wenzelm@2435
    36
wenzelm@2435
    37
###
wenzelm@28504
    38
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    39
###
wenzelm@7773
    40
wenzelm@7773
    41
ISABELLE_LATEX="latex"
wenzelm@7773
    42
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    43
ISABELLE_BIBTEX="bibtex"
kleing@14344
    44
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    45
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
    46
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    47
kleing@13920
    48
# Paranoia setting for strange latex installations ...
wenzelm@11062
    49
#unset TEXMF
wenzelm@11062
    50
wenzelm@7773
    51
wenzelm@7773
    52
###
wenzelm@2968
    53
### Misc path settings
wenzelm@2426
    54
###
wenzelm@2294
    55
wenzelm@48840
    56
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
wenzelm@48840
    57
wenzelm@2426
    58
# The place for user configuration, heap files, etc.
wenzelm@48553
    59
if [ -z "$ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
    60
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
    61
else
wenzelm@48449
    62
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
    63
fi
wenzelm@2294
    64
wenzelm@3177
    65
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    66
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    67
wenzelm@4334
    68
# Location for temporary files (should be on a local file system).
wenzelm@9787
    69
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
    70
wenzelm@9787
    71
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
    72
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
    73
wenzelm@9787
    74
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
    75
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
    76
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
    77
wenzelm@16186
    78
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
    79
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
    80
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
    81
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
    82
kleing@13920
    83
kleing@13920
    84
###
wenzelm@28651
    85
### Default logic
kleing@13920
    86
###
wenzelm@16186
    87
wenzelm@3184
    88
ISABELLE_LOGIC=HOL
wenzelm@2294
    89
wenzelm@2786
    90
kleing@13920
    91
###
kleing@13920
    92
### Docs
kleing@13920
    93
###
wenzelm@2294
    94
wenzelm@16186
    95
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
    96
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
    97
wenzelm@16186
    98
# Preferred document format
wenzelm@15703
    99
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   100
wenzelm@50197
   101
# PDF file viewer (command-line to eval)
wenzelm@50197
   102
case "$ISABELLE_PLATFORM_FAMILY" in
wenzelm@50197
   103
  linux)
wenzelm@50197
   104
    PDF_VIEWER="xdg-open"
wenzelm@50197
   105
    ;;
wenzelm@50197
   106
  macos)
wenzelm@50197
   107
    PDF_VIEWER="open -W -n"
wenzelm@50197
   108
    ;;
wenzelm@50197
   109
  windows)
wenzelm@50197
   110
    PDF_VIEWER="cygstart"
wenzelm@50197
   111
    ;;
wenzelm@50197
   112
esac
wenzelm@50197
   113
wenzelm@50197
   114
# DVI file viewer (command-line to eval)
wenzelm@3062
   115
DVI_VIEWER=xdvi
wenzelm@2426
   116
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   117
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   118
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   119
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   120
kleing@15218
   121
wenzelm@16186
   122
# Printer spool command for PS files
wenzelm@14933
   123
PRINT_COMMAND=lp
wenzelm@14933
   124
wenzelm@2294
   125
wenzelm@2426
   126
###
wenzelm@37058
   127
### Rendering information
wenzelm@37058
   128
###
wenzelm@37058
   129
wenzelm@43484
   130
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   131
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   132
wenzelm@37058
   133
wenzelm@37058
   134
###
wenzelm@49000
   135
### Misc old-style settings
wenzelm@7185
   136
###
wenzelm@7185
   137
wenzelm@49000
   138
# Standard ML of New Jersey (slow!)
wenzelm@49000
   139
#ML_SYSTEM=smlnj-110
wenzelm@49000
   140
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@49000
   141
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
wenzelm@49000
   142
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@49000
   143
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@49000
   144
wenzelm@7194
   145
## Set HOME only for tools you have installed!
wenzelm@7185
   146
wenzelm@7185
   147
# SVC (Stanford Validity Checker)
wenzelm@7185
   148
#SVC_HOME=
wenzelm@7185
   149
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   150
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   151
wenzelm@41951
   152
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@20033
   153
#MINISAT_HOME=/usr/local/bin
webertj@20033
   154
wenzelm@41951
   155
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@15284
   156
#ZCHAFF_HOME=/usr/local/bin
webertj@14942
   157
wenzelm@41951
   158
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14942
   159
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   160
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   161
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   162
wenzelm@41951
   163
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14943
   164
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   165
obua@16873
   166
# For configuring HOL/Matrix/cplex
obua@16966
   167
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   168
# First option: use the commercial cplex solver
wenzelm@16968
   169
#LP_SOLVER=CPLEX
wenzelm@16968
   170
#CPLEX_PATH=cplex
obua@16873
   171
# Second option: use the open source glpk solver
wenzelm@16968
   172
#LP_SOLVER=GLPK
wenzelm@16968
   173
#GLPK_PATH=glpsol
wenzelm@41968
   174
wenzelm@41968
   175
# Misc programming languages
wenzelm@48187
   176
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   177
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   178
#ISABELLE_SWIPL="/usr/bin/swipl"