etc/settings
author wenzelm
Sun, 20 Jan 2013 15:35:01 +0100
changeset 52009 9b062fef2c91
parent 51212 b385d134926d
child 52521 d2116723f550
permissions -rw-r--r--
Added tag Isabelle2013-RC1 for changeset 2c3d0cb151c0
     1 # -*- shell-script -*- :mode=shellscript:
     2 #
     3 # Isabelle settings -- distribution defaults.
     4 #
     5 # Important notes:
     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!
     9 
    10 ###
    11 ### JVM components (Scala or Java)
    12 ###
    13 
    14 ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5"
    15 
    16 
    17 ###
    18 ### Interactive sessions (cf. isabelle tty)
    19 ###
    20 
    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)"
    24 
    25 
    26 ###
    27 ### Batch sessions
    28 ###
    29 
    30 #cf. isabelle usedir
    31 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
    32 
    33 #cf. isabelle build
    34 ISABELLE_BUILD_OPTIONS=""
    35 
    36 
    37 ###
    38 ### Document preparation (cf. isabelle latex/document)
    39 ###
    40 
    41 ISABELLE_LATEX="latex"
    42 ISABELLE_PDFLATEX="pdflatex"
    43 ISABELLE_BIBTEX="bibtex"
    44 ISABELLE_MAKEINDEX="makeindex"
    45 ISABELLE_DVIPS="dvips -D 600"
    46 ISABELLE_EPSTOPDF="epstopdf"
    47 
    48 # Paranoia setting for strange latex installations ...
    49 #unset TEXMF
    50 
    51 
    52 ###
    53 ### Misc path settings
    54 ###
    55 
    56 ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
    57 
    58 # The place for user configuration, heap files, etc.
    59 if [ -z "$ISABELLE_IDENTIFIER" ]; then
    60   ISABELLE_HOME_USER="$USER_HOME/.isabelle"
    61 else
    62   ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
    63 fi
    64 
    65 # Where to look for isabelle tools (multiple dirs separated by ':').
    66 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
    67 
    68 # Location for temporary files (should be on a local file system).
    69 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
    70 
    71 # Heap input locations. ML system identifier is included in lookup.
    72 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
    73 
    74 # Heap output location. ML system identifier is appended automatically later on.
    75 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
    76 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
    77 
    78 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
    79 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
    80   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
    81 ISABELLE_SITE_SETTINGS_PRESENT=true
    82 
    83 
    84 ###
    85 ### Default logic
    86 ###
    87 
    88 ISABELLE_LOGIC=HOL
    89 
    90 
    91 ###
    92 ### Docs
    93 ###
    94 
    95 # Where to look for docs (multiple dirs separated by ':').
    96 ISABELLE_DOCS="$ISABELLE_HOME/doc"
    97 
    98 # Preferred document format
    99 ISABELLE_DOC_FORMAT=pdf
   100 
   101 # PDF file viewer (command-line to eval)
   102 case "$ISABELLE_PLATFORM_FAMILY" in
   103   linux)
   104     PDF_VIEWER="xdg-open"
   105     ;;
   106   macos)
   107     PDF_VIEWER="open -W -n"
   108     ;;
   109   windows)
   110     PDF_VIEWER="cygstart"
   111     ;;
   112 esac
   113 
   114 # DVI file viewer (command-line to eval)
   115 DVI_VIEWER=xdvi
   116 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   117 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   118 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   119 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   120 
   121 
   122 # Printer spool command for PS files
   123 PRINT_COMMAND=lp
   124 
   125 
   126 ###
   127 ### Rendering information
   128 ###
   129 
   130 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
   131 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   132 
   133 
   134 ###
   135 ### Misc old-style settings
   136 ###
   137 
   138 # Standard ML of New Jersey (slow!)
   139 #ML_SYSTEM=smlnj-110
   140 #ML_HOME="/usr/local/smlnj/bin"
   141 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
   142 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
   143 #SMLNJ_CYGWIN_RUNTIME=1
   144 
   145 ## Set HOME only for tools you have installed!
   146 
   147 # SVC (Stanford Validity Checker)
   148 #SVC_HOME=
   149 #SVC_MACHINE=i386-redhat-linux
   150 #SVC_MACHINE=sparc-sun-solaris
   151 
   152 # MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   153 #MINISAT_HOME=/usr/local/bin
   154 
   155 # zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   156 #ZCHAFF_HOME=/usr/local/bin
   157 
   158 # BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   159 #BERKMIN_HOME=/usr/local/bin
   160 #BERKMIN_EXE=BerkMin561-linux
   161 #BERKMIN_EXE=BerkMin561-solaris
   162 
   163 # Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   164 #JERUSAT_HOME=/usr/local/bin
   165 
   166 # For configuring HOL/Matrix/cplex
   167 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   168 # First option: use the commercial cplex solver
   169 #LP_SOLVER=CPLEX
   170 #CPLEX_PATH=cplex
   171 # Second option: use the open source glpk solver
   172 #LP_SOLVER=GLPK
   173 #GLPK_PATH=glpsol
   174 
   175 # Misc programming languages
   176 #ISABELLE_GHC="/usr/bin/ghc"
   177 #ISABELLE_OCAML="/usr/bin/ocaml"
   178 #ISABELLE_SWIPL="/usr/bin/swipl"