etc/settings
author wenzelm
Tue Jul 30 15:45:01 2013 +0200 (2013-07-30 ago)
changeset 52790 6150cf05f729
parent 52746 eec610972763
child 53346 26c795734b3c
permissions -rw-r--r--
tuned comments;
     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 ### Isabelle/Scala
    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 (cf. isabelle build)
    28 ###
    29 
    30 ISABELLE_BUILD_OPTIONS=""
    31 ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
    32 
    33 
    34 ###
    35 ### Document preparation (cf. isabelle latex/document)
    36 ###
    37 
    38 ISABELLE_LATEX="latex"
    39 ISABELLE_PDFLATEX="pdflatex"
    40 ISABELLE_BIBTEX="bibtex"
    41 ISABELLE_MAKEINDEX="makeindex"
    42 ISABELLE_EPSTOPDF="epstopdf"
    43 
    44 
    45 ###
    46 ### Misc path settings
    47 ###
    48 
    49 ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
    50 
    51 # The place for user configuration, heap files, etc.
    52 if [ -z "$ISABELLE_IDENTIFIER" ]; then
    53   ISABELLE_HOME_USER="$USER_HOME/.isabelle"
    54 else
    55   ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
    56 fi
    57 
    58 # Where to look for isabelle tools (multiple dirs separated by ':').
    59 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
    60 
    61 # Location for temporary files (should be on a local file system).
    62 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
    63 
    64 # Heap input locations. ML system identifier is included in lookup.
    65 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
    66 
    67 # Heap output location. ML system identifier is appended automatically later on.
    68 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
    69 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
    70 
    71 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
    72 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
    73   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
    74 ISABELLE_SITE_SETTINGS_PRESENT=true
    75 
    76 
    77 ###
    78 ### Default logic
    79 ###
    80 
    81 ISABELLE_LOGIC=HOL
    82 
    83 
    84 ###
    85 ### Docs
    86 ###
    87 
    88 # Where to look for docs (multiple dirs separated by ':').
    89 ISABELLE_DOCS="$ISABELLE_HOME/doc"
    90 
    91 # PDF file viewer (command-line to eval)
    92 case "$ISABELLE_PLATFORM_FAMILY" in
    93   linux)
    94     PDF_VIEWER="xdg-open"
    95     ;;
    96   macos)
    97     PDF_VIEWER="open -W -n -a Safari"
    98     ;;
    99   windows)
   100     PDF_VIEWER="cygstart"
   101     ;;
   102 esac
   103 
   104 # DVI file viewer (command-line to eval)
   105 DVI_VIEWER=xdvi
   106 
   107 
   108 ###
   109 ### Rendering information
   110 ###
   111 
   112 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
   113 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   114 
   115 
   116 ###
   117 ### Misc old-style settings
   118 ###
   119 
   120 # Standard ML of New Jersey (slow!)
   121 #ML_SYSTEM=smlnj-110
   122 #ML_HOME="/usr/local/smlnj/bin"
   123 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
   124 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
   125 #SMLNJ_CYGWIN_RUNTIME=1
   126 
   127 # Misc programming languages
   128 #ISABELLE_GHC="/usr/bin/ghc"
   129 #ISABELLE_OCAML="/usr/bin/ocaml"
   130 #ISABELLE_SWIPL="/usr/bin/swipl"