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;
     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 -Xmax-classfile-name 130"
    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 ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
    36 
    37 
    38 ###
    39 ### Document preparation (cf. isabelle latex/document)
    40 ###
    41 
    42 ISABELLE_LATEX="latex"
    43 ISABELLE_PDFLATEX="pdflatex"
    44 ISABELLE_BIBTEX="bibtex"
    45 ISABELLE_MAKEINDEX="makeindex"
    46 ISABELLE_DVIPS="dvips -D 600"
    47 ISABELLE_EPSTOPDF="epstopdf"
    48 
    49 # Paranoia setting for strange latex installations ...
    50 #unset TEXMF
    51 
    52 
    53 ###
    54 ### Misc path settings
    55 ###
    56 
    57 ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
    58 
    59 # The place for user configuration, heap files, etc.
    60 if [ -z "$ISABELLE_IDENTIFIER" ]; then
    61   ISABELLE_HOME_USER="$USER_HOME/.isabelle"
    62 else
    63   ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
    64 fi
    65 
    66 # Where to look for isabelle tools (multiple dirs separated by ':').
    67 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
    68 
    69 # Location for temporary files (should be on a local file system).
    70 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
    71 
    72 # Heap input locations. ML system identifier is included in lookup.
    73 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
    74 
    75 # Heap output location. ML system identifier is appended automatically later on.
    76 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
    77 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
    78 
    79 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
    80 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
    81   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
    82 ISABELLE_SITE_SETTINGS_PRESENT=true
    83 
    84 
    85 ###
    86 ### Default logic
    87 ###
    88 
    89 ISABELLE_LOGIC=HOL
    90 
    91 
    92 ###
    93 ### Docs
    94 ###
    95 
    96 # Where to look for docs (multiple dirs separated by ':').
    97 ISABELLE_DOCS="$ISABELLE_HOME/doc"
    98 
    99 # Preferred document format
   100 ISABELLE_DOC_FORMAT=pdf
   101 
   102 # PDF file viewer (command-line to eval)
   103 case "$ISABELLE_PLATFORM_FAMILY" in
   104   linux)
   105     PDF_VIEWER="xdg-open"
   106     ;;
   107   macos)
   108     PDF_VIEWER="open -W -n"
   109     ;;
   110   windows)
   111     PDF_VIEWER="cygstart"
   112     ;;
   113 esac
   114 
   115 # DVI file viewer (command-line to eval)
   116 DVI_VIEWER=xdvi
   117 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   118 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   119 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   120 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   121 
   122 
   123 # Printer spool command for PS files
   124 PRINT_COMMAND=lp
   125 
   126 
   127 ###
   128 ### Rendering information
   129 ###
   130 
   131 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
   132 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   133 
   134 
   135 ###
   136 ### Misc old-style settings
   137 ###
   138 
   139 # Standard ML of New Jersey (slow!)
   140 #ML_SYSTEM=smlnj-110
   141 #ML_HOME="/usr/local/smlnj/bin"
   142 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
   143 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
   144 #SMLNJ_CYGWIN_RUNTIME=1
   145 
   146 # Misc programming languages
   147 #ISABELLE_GHC="/usr/bin/ghc"
   148 #ISABELLE_OCAML="/usr/bin/ocaml"
   149 #ISABELLE_SWIPL="/usr/bin/swipl"