etc/settings
author wenzelm
Sat Aug 16 20:14:45 2014 +0200 (2014-08-16)
changeset 57960 ee1ba4848896
parent 57451 3b10acac1d5e
child 58639 1df53737c59b
permissions -rw-r--r--
updated to named_theorems;
modernized setup;
     1 # -*- shell-script -*- :mode=shellscript:
     2 #
     3 # Isabelle system settings.
     4 #
     5 # Important notes:
     6 #   * See the "system" manual for explanations on Isabelle settings
     7 #   * User settings go into $ISABELLE_HOME_USER/etc/settings
     8 #   * DO NOT EDIT the repository copy of this file!
     9 #   * DO NOT COPY this file into the $ISABELLE_HOME_USER directory!
    10 
    11 ###
    12 ### Isabelle/Scala
    13 ###
    14 
    15 ISABELLE_SCALA_BUILD_OPTIONS="-encoding UTF-8 -nowarn -target:jvm-1.7 -Xmax-classfile-name 130"
    16 
    17 ISABELLE_JAVA_SYSTEM_OPTIONS="-Dfile.encoding=UTF-8 -server"
    18 
    19 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
    20 
    21 #paranoia setting -- avoid problems of Java/Swing versus XIM/IBus etc.
    22 unset XMODIFIERS
    23 
    24 
    25 ###
    26 ### Interactive sessions (cf. isabelle console)
    27 ###
    28 
    29 ISABELLE_LINE_EDITOR="rlwrap"
    30 
    31 
    32 ###
    33 ### Batch sessions (cf. isabelle build)
    34 ###
    35 
    36 ISABELLE_BUILD_OPTIONS=""
    37 ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
    38 
    39 
    40 ###
    41 ### Document preparation (cf. isabelle latex/document)
    42 ###
    43 
    44 ISABELLE_LATEX="latex"
    45 ISABELLE_PDFLATEX="pdflatex"
    46 ISABELLE_BIBTEX="bibtex"
    47 ISABELLE_MAKEINDEX="makeindex"
    48 ISABELLE_EPSTOPDF="epstopdf"
    49 
    50 
    51 ###
    52 ### Misc path settings
    53 ###
    54 
    55 ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
    56 
    57 # The place for user configuration, heap files, etc.
    58 if [ -z "$ISABELLE_IDENTIFIER" ]; then
    59   ISABELLE_HOME_USER="$USER_HOME/.isabelle"
    60 else
    61   ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
    62 fi
    63 
    64 # Where to look for isabelle tools (multiple dirs separated by ':').
    65 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
    66 
    67 # Location for temporary files (should be on a local file system).
    68 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
    69 
    70 # Heap input locations. ML system identifier is included in lookup.
    71 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
    72 
    73 # Heap output location. ML system identifier is appended automatically later on.
    74 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
    75 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
    76 
    77 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
    78 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
    79   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
    80 ISABELLE_SITE_SETTINGS_PRESENT=true
    81 
    82 
    83 ###
    84 ### Default logic
    85 ###
    86 
    87 ISABELLE_LOGIC=HOL
    88 
    89 
    90 ###
    91 ### Docs
    92 ###
    93 
    94 # Where to look for docs (multiple dirs separated by ':').
    95 ISABELLE_DOCS="$ISABELLE_HOME/doc"
    96 
    97 ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:src/Tools/jEdit/README:README_REPOSITORY"
    98 ISABELLE_DOCS_EXAMPLES="src/HOL/ex/Seq.thy:src/HOL/ex/ML.thy:src/HOL/Unix/Unix.thy:src/HOL/Isar_Examples/Drinker.thy:src/Tools/SML/Examples.thy"
    99 
   100 # "open" within desktop environment (potentially asynchronous)
   101 case "$ISABELLE_PLATFORM_FAMILY" in
   102   linux)
   103     ISABELLE_OPEN="xdg-open"
   104     ;;
   105   macos)
   106     ISABELLE_OPEN="open"
   107     ;;
   108   windows)
   109     ISABELLE_OPEN="cygstart"
   110     ;;
   111 esac
   112 
   113 PDF_VIEWER="$ISABELLE_OPEN"
   114 DVI_VIEWER="$ISABELLE_OPEN"
   115 
   116 
   117 ###
   118 ### Rendering information
   119 ###
   120 
   121 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
   122 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   123 
   124 
   125 ###
   126 ### Misc old-style settings
   127 ###
   128 
   129 # Standard ML of New Jersey (slow!)
   130 #ML_SYSTEM=smlnj-110
   131 #ML_HOME="/usr/local/smlnj/bin"
   132 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
   133 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
   134 #SMLNJ_CYGWIN_RUNTIME=1
   135 
   136 # Misc programming languages
   137 #ISABELLE_GHC="/usr/bin/ghc"
   138 #ISABELLE_OCAML="/usr/bin/ocaml"
   139 #ISABELLE_SWIPL="/usr/bin/swipl"