etc/settings
changeset 13920 9d542c96e855
parent 12998 03b9afa801df
child 14044 bbd2f7b00736
equal deleted inserted replaced
13919:17d0e17c8efe 13920:9d542c96e855
    60 #ML_OPTIONS=""
    60 #ML_OPTIONS=""
    61 #ML_PLATFORM=""
    61 #ML_PLATFORM=""
    62 
    62 
    63 
    63 
    64 ###
    64 ###
    65 ### Compilation options
    65 ### Compilation options for isatool usedir
       
    66 ### (as on command line)
    66 ###
    67 ###
    67 
    68 
    68 ISABELLE_USEDIR_OPTIONS=""
    69 ISABELLE_USEDIR_OPTIONS=""
    69 
    70 
    70 
    71 
    71 ###
    72 ###
    72 ### Document preparation
    73 ### Document preparation
    73 ###
    74 ###
    74 
    75 
       
    76 # latex command for isatool latex/document
    75 ISABELLE_LATEX="latex"
    77 ISABELLE_LATEX="latex"
       
    78 
       
    79 # pdflatex command for isatool latex/document
    76 ISABELLE_PDFLATEX="pdflatex"
    80 ISABELLE_PDFLATEX="pdflatex"
       
    81 
       
    82 # bibtex command for isatool latex/document
    77 ISABELLE_BIBTEX="bibtex"
    83 ISABELLE_BIBTEX="bibtex"
       
    84 
       
    85 # dvips command for isatool latex/document
    78 ISABELLE_DVIPS="dvips -D 600"
    86 ISABELLE_DVIPS="dvips -D 600"
       
    87 
       
    88 # epstopdf command for isatool latex/document
    79 ISABELLE_EPSTOPDF="epstopdf"
    89 ISABELLE_EPSTOPDF="epstopdf"
    80 
    90 
    81 # Paranoia setting ...
    91 # Paranoia setting for strange latex installations ...
    82 #unset TEXMF
    92 #unset TEXMF
    83 
    93 
    84 # The thumbpdf tool is probably not generally available ...
    94 # If ISABELLE_THUMBPDF is set, isatool tries to
       
    95 # generate thumbnails for proof documents
       
    96 #
       
    97 # probably not generally available ...
    85 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
    98 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
    86 
    99 
    87 
   100 
    88 ###
   101 ###
    89 ### Misc path settings
   102 ### Misc path settings
   114 
   127 
   115 # Site settings check -- just to make it a little bit harder to copy this file!
   128 # Site settings check -- just to make it a little bit harder to copy this file!
   116 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   129 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   117   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   130   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   118 
   131 
   119 # Users may want to override this.
   132 
       
   133 ###
       
   134 ### default logic, users may want to override this.
       
   135 ###
   120 ISABELLE_LOGIC=HOL
   136 ISABELLE_LOGIC=HOL
   121 
   137 
   122 
   138 
   123 ## Docs
   139 ###
       
   140 ### Docs
       
   141 ###
   124 
   142 
   125 #Where to look for docs (multiple dirs separated by ':').
   143 #Where to look for docs (multiple dirs separated by ':').
   126 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   144 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   127 
   145 
   128 #The dvi file viewer
   146 #The dvi file viewer
   135 
   153 
   136 ###
   154 ###
   137 ### Interfaces
   155 ### Interfaces
   138 ###
   156 ###
   139 
   157 
   140 # The null interface: pass-through to raw isabelle process.
   158 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
       
   159 
       
   160 # Fallback: the null interface (pass-through to raw isabelle process).
   141 ISABELLE_INTERFACE=none
   161 ISABELLE_INTERFACE=none
   142 
   162 
   143 # Emacs running Isamode.
   163 # Emacs running (obsolete) Isamode.
   144 #ISABELLE_INTERFACE=emacs
   164 #ISABELLE_INTERFACE=emacs
   145 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   165 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   146 ISAMODE_OPTIONS=""
   166 ISAMODE_OPTIONS=""
   147 
   167 
   148 # Proof General
   168 # Proof General path, look in a variety of places
   149 ISABELLE_INTERFACE=$(choosefrom \
   169 ISABELLE_INTERFACE=$(choosefrom \
   150   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   170   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   151   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   171   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   152   "/usr/share/ProofGeneral/isar/interface" \
   172   "/usr/share/ProofGeneral/isar/interface" \
   153   "/usr/local/ProofGeneral/isar/interface" \
   173   "/usr/local/ProofGeneral/isar/interface" \
   154   "/opt/ProofGeneral/isar/interface" \
   174   "/opt/ProofGeneral/isar/interface" \
   155   "/usr/share/emacs/ProofGeneral/isar/interface" \
   175   "/usr/share/emacs/ProofGeneral/isar/interface" \
   156   "$ISABELLE_INTERFACE")
   176   "$ISABELLE_INTERFACE")
       
   177 
       
   178 # Options to pass to Isabelle command when PG is selected as interface
   157 PROOFGENERAL_OPTIONS=""
   179 PROOFGENERAL_OPTIONS=""
   158 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   180 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   159 
   181 
       
   182 # try xemacs first, else emacs
   160 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   183 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   161 
   184 
   162 
   185 
   163 # X-Symbol mode for Proof General
   186 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
   164 XSYMBOL_HOME=$(choosefrom \
   187 XSYMBOL_HOME=$(choosefrom \
   165   "$ISABELLE_HOME/contrib/x-symbol" \
   188   "$ISABELLE_HOME/contrib/x-symbol" \
   166   "$ISABELLE_HOME/../x-symbol" \
   189   "$ISABELLE_HOME/../x-symbol" \
   167   "/usr/share/x-symbol" \
   190   "/usr/share/x-symbol" \
   168   "/usr/local/x-symbol" \
   191   "/usr/local/x-symbol" \
   169   "/opt/x-symbol" \
   192   "/opt/x-symbol" \
   170   "")
   193   "")
   171 # Required for remote fonts only ...
   194 
       
   195 # Executed before xemacs with ProofGeneral is called.
       
   196 # Required for remote fonts only.
   172 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   197 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   173 
   198 
   174 
   199 
   175 ###
   200 ###
   176 ### External reasoning tools
   201 ### External reasoning tools