still under construction!
authorwenzelm
Fri May 16 15:57:11 1997 +0200 (1997-05-16)
changeset 3217d30d62128fe5
parent 3216 fdcb907f9c93
child 3218 44f01b718eab
still under construction!
doc-src/System/basics.tex
doc-src/System/fonts.tex
doc-src/System/misc.tex
doc-src/System/present.tex
doc-src/System/system.ind
doc-src/System/system.tex
     1.1 --- a/doc-src/System/basics.tex	Fri May 16 15:55:02 1997 +0200
     1.2 +++ b/doc-src/System/basics.tex	Fri May 16 15:57:11 1997 +0200
     1.3 @@ -5,28 +5,28 @@
     1.4  
     1.5  The \emph{Isabelle System Manual} describes Isabelle together with its
     1.6  related tools and user interfaces --- as seen from an outside
     1.7 -(operating system oriented) view.  On the other hand, see
     1.8 -\emph{Isabelle Reference} for all internal {\ML} level user commands.
     1.9 +(operating system oriented) view.  See the \emph{Isabelle Reference
    1.10 +  Manual} for all internal {\ML} level user commands, on the other
    1.11 +hand.
    1.12  
    1.13  \medskip The Isabelle system level environment is based on a few
    1.14 -generic concepts that are simple, but non-trivial:
    1.15 +general concepts:
    1.16  \begin{itemize}
    1.17  \item The \emph{Isabelle settings mechanism}, which provides
    1.18 -  environment values to all Isabelle programs (including tools and
    1.19 +  environment variables to all Isabelle programs (including tools and
    1.20    user interfaces).
    1.21  \item \emph{Isabelle proper} (\ttindex{isabelle}), which runs logic
    1.22    sessions, both interactively or in batch mode. In particular,
    1.23    \texttt{isabelle} abstracts over the invocation of the actual {\ML}
    1.24    system to be used.
    1.25  \item The \emph{Isabelle tools wrapper} (\ttindex{isatool}), which
    1.26 -  provides a generic startup platform for miscellaneous utilities.
    1.27 +  provides a generic startup platform for Isabelle related utilities.
    1.28    Thus tools automatically benefit from the settings mechanism.
    1.29    Furthermore, the shell's search path is kept clean from many small
    1.30    programs.
    1.31  \item The \emph{Isabelle interface wrapper}
    1.32    (\ttindex{Isabelle}\footnote{Note the capital \texttt{I}!}), which
    1.33 -  provides some abstraction over the actual user interface to be used
    1.34 -  (this may include third-party ones).
    1.35 +  provides some abstraction over the actual user interface to be used.
    1.36  \end{itemize}
    1.37  
    1.38  \medskip The beginning user would probably just run one of the
    1.39 @@ -64,27 +64,27 @@
    1.40  
    1.41  \subsection{Building the environment}
    1.42  
    1.43 -The environment that all Isabelle programs are run in is built as
    1.44 -follows:
    1.45 +Whenever any of the Isabelle executables is run, theri settings
    1.46 +environment is built as follows:
    1.47  
    1.48  \begin{enumerate}
    1.49 -\item The special variable \ttindex{ISABELLE_HOME} is determined
    1.50 -  automatically from the location of the binary that has been run
    1.51 -  (e.g.\ \texttt{isabelle}).
    1.52 +\item The special variable \settdx{ISABELLE_HOME} is determined
    1.53 +  automatically from the location of the binary that has been run.
    1.54    
    1.55    You should not try to set \texttt{ISABELLE_HOME} manually. Also note
    1.56    that the Isabelle executables have to be run from their original
    1.57    location in the distribution directory --- copying or linking them
    1.58    somewhere else just won't work!
    1.59    
    1.60 -\item The file \texttt{\$ISABELLE_HOME/etc/settings} ist run as a GNU
    1.61 -  bash script with the variable auto-export option enabled.
    1.62 +\item The file \texttt{\$ISABELLE_HOME/etc/settings} ist run as a
    1.63 +  shell script with the auto-export option for variables enabled.
    1.64    
    1.65 -  The file typically contains a rather long list of assigments
    1.66 -  \texttt{FOO="bar"}, thus providing the site default settings. The
    1.67 -  Isabelle distribution already contains a global settings file with
    1.68 -  sensible defaults. When installing the system, only a few of these
    1.69 -  have to be adapted (most likely \texttt{ML_SYSTEM} and friends).
    1.70 +  This file typically contains a rather long list of assigments
    1.71 +  \texttt{FOO="bar"}, thus providing the site-wide default settings.
    1.72 +  The Isabelle distribution already contains a global settings file
    1.73 +  with sensible defaults for most variables. When installing the
    1.74 +  system, only a few of these have to be adapted (most likely
    1.75 +  \texttt{ML_SYSTEM} etc.).
    1.76    
    1.77  \item The file \texttt{\$ISABELLE_HOME_USER/etc/settings} (if it
    1.78    exists) is run the same way as the site default settings. The
    1.79 @@ -96,52 +96,119 @@
    1.80    Typically, user settings are a few lines only, just containing the
    1.81    assigments that are really required.  One should definitely
    1.82    \emph{not} start with a full copy the central
    1.83 -  \texttt{\$ISABELLE_HOME/etc/settings}. This may cause severe
    1.84 +  \texttt{\$ISABELLE_HOME/etc/settings}. This could cause very anoying
    1.85    maintainance problems later, when the Isabelle installation is
    1.86    updated or changed otherwise.
    1.87  
    1.88  \end{enumerate}
    1.89  
    1.90 -Note that settings files are actually bash scripts. So one may use
    1.91 -complex shell commands, e.g.\ \texttt{if} or \texttt{case} statements
    1.92 -to set variables depending on the system architecture or other
    1.93 -environment variables. Such advanced features should be added only
    1.94 -with great care, though. In particular, external environment
    1.95 -references should be kept at a minimum.
    1.96 +Note that settings files are actually full GNU bash scripts. So one
    1.97 +may use complex shell commands, say \texttt{if} or \texttt{case}
    1.98 +statements to set variables depending on the system architecture or
    1.99 +other environment variables, for example. Such advanced features
   1.100 +should be added only with great care, though. In particular, external
   1.101 +environment references should be kept at a minimum.
   1.102  
   1.103 -\medskip A few variables are somewhat:
   1.104 +\medskip A few variables are somewhat special:
   1.105  \begin{itemize}
   1.106 -\item \ttindex{ISABELLE} and \ttindex{ISATOOL} are set automatically
   1.107 -  to the absolute path names of the \texttt{isabelle} and
   1.108 +\item \settdx{ISABELLE} and \settdx{ISATOOL} are set automatically to
   1.109 +  the absolute path names of the \texttt{isabelle} and
   1.110    \texttt{isatool} executables, respectively.
   1.111    
   1.112 -\item \ttindex{ISABELLE_PATH} and \ttindex{ISABELLE_OUTPUT} will have
   1.113 +\item \settdx{ISABELLE_PATH} and \settdx{ISABELLE_OUTPUT} will have
   1.114    the {\ML} system identifier (as specified by \texttt{ML_SYSTEM})
   1.115    automatically appended to their values.
   1.116  \end{itemize}
   1.117  
   1.118  \medskip The Isabelle settings scheme is basically quite simple, but
   1.119  non-trivial.  For debugging purposes, the generated environment may be
   1.120 -inspected with the \texttt{getenv} Isabelle tool, see
   1.121 +inspected with the \texttt{getenv} utility, see
   1.122  \S\ref{sec:tool-getenv}.
   1.123  
   1.124  
   1.125  \subsection{Common variables}
   1.126  
   1.127 -Below is a reference of common Isabelle settings variables. The list
   1.128 -is somewhat open-ended, in particular, third-party utilities or
   1.129 -interfaces may add their own selection.
   1.130 +Below is a reference of common Isabelle settings variables. Note that
   1.131 +the list is somewhat open-ended. Third-party utilities or interfaces
   1.132 +may add their own selection. Variables that are special in some sense
   1.133 +are marked with *.
   1.134 +
   1.135 +\begin{description}
   1.136 +\item[\settdx{ISABELLE_HOME}*] is the location of the top-level
   1.137 +  Isabelle distribution directory. This is automatically determined
   1.138 +  from the Isabelle executable that has been invoked.  Do not try to
   1.139 +  set \texttt{ISABELLE_HOME} yourself from the shell.
   1.140 +  
   1.141 +\item[\settdx{ISABELLE_HOME_USER}] is the user-specific counterpart of
   1.142 +  \texttt{ISABELLE_HOME}. The default value is
   1.143 +  \texttt{\~\relax/isabelle}, under rare circumstances this may be
   1.144 +  changed in the global setting file.  Typically, the
   1.145 +  \texttt{ISABELLE_HOME_USER} directory mimics \texttt{ISABELLE_HOME}
   1.146 +  to some extend. In particular, site-wide defaults may be overridden
   1.147 +  by a private \texttt{etc/settings}.
   1.148 +  
   1.149 +\item[\settdx{ISABELLE}*, \settdx{ISATOOL}*] are automatically set to
   1.150 +  the full paths of the \texttt{isabelle} and \texttt{isatool}
   1.151 +  executables, respectively.  Thus other tools and scripts need not
   1.152 +  assume that the Isabelle \texttt{bin} directory is on the current
   1.153 +  search path of the shell.
   1.154  
   1.155 -\begin{ttdescription}
   1.156 -\item[FIXME] FIXME
   1.157 -\end{ttdescription}
   1.158 +\item[\settdx{ML_SYSTEM}, \settdx{ML_HOME}, \settdx{ML_OPTIONS}]
   1.159 +  specify the underlying {\ML} system to be used for Isabelle.  The
   1.160 +  choice of \texttt{ML_SYSTEM} identifiers is quite fixed, see the
   1.161 +  global \texttt{etc/settings} file for some examples. The actual
   1.162 +  compiler binary will be run from directory \texttt{ML_HOME}, with
   1.163 +  \texttt{ML_OPTIONS} as first arguments on the command line.
   1.164 +  
   1.165 +\item[\settdx{ISABELLE_PATH}*] is a list of directories (separated by
   1.166 +  colons) where Isabelle logic images may reside. Note that the
   1.167 +  \texttt{ML_SYSTEM} identifier is appended to each component
   1.168 +  automatically.
   1.169 +  
   1.170 +\item[\settdx{ISABELLE_OUTPUT}*] is a directory where output heap
   1.171 +  files should be stored. The \texttt{ML_SYSTEM} identifier is
   1.172 +  appended here, too.
   1.173 +
   1.174 +\item[\settdx{ISABELLE_LOGIC}] specifies the default logic to load if
   1.175 +  none is given explicitely by the user --- e.g.\ when running
   1.176 +  \texttt{isabelle} directly, or some user interface.
   1.177 +
   1.178 +\item[\settdx{ISABELLE_USEDIR_OPTIONS}] is implicitely prefixed to the
   1.179 +  command line of any \texttt{isatool usedir} invocation (see also
   1.180 +  \S\ref{sec:tool-usedir}). This typically contains compilation
   1.181 +  options for object-logics --- \texttt{usedir} is the basic utility
   1.182 +  that builds them (cf.\ the \texttt{IsaMakefile}s in the
   1.183 +  distribution).
   1.184 +
   1.185 +\item[\settdx{ISABELLE_TOOLS}] is a colon separated list of
   1.186 +  directories that are scanned by \texttt{isatool} for utility
   1.187 +  programs (see also \S\ref{sec:isatool}).
   1.188 +
   1.189 +\item[\settdx{ISABELLE_DOCS}] is a colon separated list of directories
   1.190 +  with documentation files.
   1.191 +
   1.192 +\item[\settdx{DVI_VIEWER}] specifies the program to be used for
   1.193 +  displaying \texttt{dvi} files.
   1.194 +  
   1.195 +\item[\settdx{ISABELLE_INSTALL_FONTS}] determines the way that the
   1.196 +  Isabelle symbol fonts are installed into your running X11 display
   1.197 +  server. X11 fonts are a non-trivial issue, see \S\ref{sec:fonts} for
   1.198 +  more information.
   1.199 +  
   1.200 +\item[\settdx{ISABELLE_INTERFACE}] is an identifier that specifies the
   1.201 +  actual user interface that the capital \texttt{Isabelle} should
   1.202 +  invoke.  Currently available are \texttt{none}, \texttt{xterm} and
   1.203 +  \texttt{emacs}. See \S\ref{sec:interface} for more details.
   1.204 +
   1.205 +\end{description}
   1.206  
   1.207  
   1.208  \section{Isabelle proper --- \texttt{isabelle}}
   1.209  
   1.210  The \ttindex{isabelle} executable runs logic sessions --- either
   1.211  interactively or in batch mode. It provides an abstraction over the
   1.212 -underlying {\ML} system, and over the actual heap file locations. The usage is:
   1.213 +underlying {\ML} system, and over the actual heap file locations. Its
   1.214 +usage is:
   1.215  \begin{ttbox}
   1.216  Usage: isabelle [OPTIONS] [INPUT] [OUTPUT]
   1.217  
   1.218 @@ -158,72 +225,89 @@
   1.219  \end{ttbox}
   1.220  Input files without path specifications are looked up in the
   1.221  \texttt{ISABELLE_PATH} setting, which may consist of multiple
   1.222 -components separated by colons --- these are tried in the given order.
   1.223 -Short output names are relative to the directory specified by
   1.224 +components separated by colons --- these are tried in order.  Short
   1.225 +output names are relative to the directory specified by
   1.226  \texttt{ISABELLE_OUTPUT} setting.  In any case, actual file locations
   1.227 -can be given by including at least one \texttt{/} (use \texttt{./} to
   1.228 -refer to the current directory).
   1.229 -
   1.230 -If the input heap file is not writable, or the \texttt{-r} option is
   1.231 -given explicitely, the session will be read-only. That is, the {\ML}
   1.232 -world cannot be committed back into the logic image.  A writable
   1.233 -session enables commits into either the input file, or into an
   1.234 -alternative output heap file which may be given as the second
   1.235 -argument.
   1.236 -
   1.237 -The read-write state of sessions is determined at startup only, it
   1.238 -cannot be changed intermediately. Also note that heap images may
   1.239 -require considerable amounts of disk space. Users are responsible
   1.240 -themselves to dispose no longer needed heap files.
   1.241 +could also be given by including at least one \texttt{/} in the name
   1.242 +(use \texttt{./} to refer to the current directory).
   1.243  
   1.244  
   1.245  \subsection*{Options}
   1.246  
   1.247 -Using \texttt{-e} one may pass {\ML} code to the Isabelle session from
   1.248 -the command line. Multiple \texttt{-e}'s are evaluated in the given
   1.249 -order.
   1.250 +If the input heap file does not have write permission bits set, or the
   1.251 +\texttt{-r} option is given explicitely, then the session will be
   1.252 +read-only. That is, the {\ML} world cannot be committed back into the
   1.253 +logic image.  Otherwise, a writable session enables commits into
   1.254 +either the input file, or into an alternative output heap file (in
   1.255 +case this is given as the second argument).
   1.256 +
   1.257 +The read-write state of sessions is determined at startup only, it
   1.258 +cannot be changed intermediately. Also note that heap images may
   1.259 +require considerable amounts of disk space. Users are responsible
   1.260 +themselves to dispose their heap files when they are no longer needed.
   1.261  
   1.262 -The \texttt{-m} option addes print mode identifiers to be made active
   1.263 -for this session. Typically this is used by some user interface to
   1.264 -enable output of mathematical symbols from a special screen font, for
   1.265 -example (see also \S\ref{sec:fonts} about fonts and the \emph{Isabelle
   1.266 -  Reference Manual} about print modes in general).
   1.267 +\medskip Using the \texttt{-e} option, arbitrary {\ML} code may be
   1.268 +passed to the Isabelle session from the command line. Multiple
   1.269 +\texttt{-e}'s are evaluated in the given order. Strange things may
   1.270 +happen when errorneous {\ML} code is supplied. Also make sure that
   1.271 +commands are terminated properly by semicolon.
   1.272  
   1.273 -Isabelle normally enters an interactice {\ML} top-level loop (after
   1.274 -processing the \texttt{-e} texts). The \texttt{-q} option inhibits
   1.275 -this, providing a pure batch mode facility.
   1.276 +\medskip The \texttt{-m} option adds identifiers of print modes that
   1.277 +are to be made active for this session. Typically this is used by some
   1.278 +user interface, for example to enable output of mathematical symbols
   1.279 +from a special screen font. See also \S\ref{sec:tool-installfonts}
   1.280 +about fonts and the \emph{Isabelle Reference Manual} about print modes
   1.281 +in general.
   1.282 +
   1.283 +\medskip Isabelle normally enters an interactice {\ML} top-level loop
   1.284 +(after processing the \texttt{-e} texts). The \texttt{-q} option
   1.285 +inhibits this, thus providing a pure batch mode facility.
   1.286  
   1.287  
   1.288  \subsection*{Examples}
   1.289  
   1.290 -Run an interactive session of the default object-logic:
   1.291 +Run an interactive session of the default object-logic (as specified
   1.292 +by the \texttt{ISABELLE_LOGIC} setting) like this:
   1.293  \begin{ttbox}
   1.294  isabelle
   1.295  \end{ttbox}
   1.296 -Usually, this refers to one of the standard logic images, which are
   1.297 -read-only by default.
   1.298 -
   1.299 -Run a writable session, based on \texttt{FOL}, but output to
   1.300 -\texttt{Foo} (in the directory specified by the
   1.301 -\texttt{ISABELLE_OUTPUT} setting):
   1.302 +Usually \texttt{ISABELLE_LOGIC} refers to one of the standard logic
   1.303 +images, which are read-only by default.  A writable session --- based
   1.304 +on \texttt{FOL}, but output to \texttt{Foo} (in the directory
   1.305 +specified by the \texttt{ISABELLE_OUTPUT} setting) --- may be invoked
   1.306 +as follows:
   1.307  \begin{ttbox}
   1.308  isabelle FOL Foo
   1.309  \end{ttbox}
   1.310 -Ending this session normally (e.g.\ by typing control-D), dumps the
   1.311 +Ending this session normally (e.g.\ by typing control-D) dumps the
   1.312  whole {\ML} system state into \texttt{Foo}. Be prepared for several
   1.313  megabytes!
   1.314  
   1.315 -The \texttt{Foo} session may be continued (writably!) at exactly the
   1.316 -same point as follows:
   1.317 +The \texttt{Foo} session may be continued later (still in writable
   1.318 +state) at exactly the same point:
   1.319  \begin{ttbox}
   1.320  isabelle Foo
   1.321  \end{ttbox}
   1.322 +A read-only \texttt{Foo} session may be started by:
   1.323 +\begin{ttbox}
   1.324 +isabelle -r Foo
   1.325 +\end{ttbox}
   1.326 +One may also use something like \texttt{chmod~-w} on the logic image
   1.327 +to have them read-only automatically.
   1.328  
   1.329 -\medskip This is a simple batch mode example, printing a certain
   1.330 -theorem of \texttt{FOL}:
   1.331 +\medskip The next example demonstrates batch execution of Isabelle. We
   1.332 +print a certain theorem of \texttt{FOL}:
   1.333  \begin{ttbox}
   1.334  isabelle -e "prth allE;" -q -r FOL
   1.335  \end{ttbox}
   1.336 -Note that the output text will be usually interspered with some
   1.337 +Note that the output text will be usually interspersed with some
   1.338  garbage produced by the {\ML} compiler.
   1.339  
   1.340 +
   1.341 +\section{The Isabelle tools wrapper --- \texttt{isatool}} \label{sec:isatool}
   1.342 +
   1.343 +FIXME
   1.344 +
   1.345 +\section{The Isabelle interface wrapper --- \texttt{Isabelle}} \label{sec:interface}
   1.346 +
   1.347 +FIXME
     2.1 --- a/doc-src/System/fonts.tex	Fri May 16 15:55:02 1997 +0200
     2.2 +++ b/doc-src/System/fonts.tex	Fri May 16 15:57:11 1997 +0200
     2.3 @@ -1,17 +1,86 @@
     2.4  
     2.5  \chapter{Fonts and character encodings}
     2.6  
     2.7 -\section{ --- \texttt{isatool installfonts}}
     2.8 +With the advent of print modes in Isabelle (see also The
     2.9 +\emph{Isabelle Reference Manual}, variant forms of output have become
    2.10 +very easy. As the canonical application of this feature, {\Pure} and
    2.11 +major object-logics (\FOL, \ZF, \HOL, \HOLCF) support optional output
    2.12 +(and input) of nice mathematical symbols out of the box.
    2.13 +
    2.14 +Symbolic output is enabled by activating the \ttindex{symbols} print
    2.15 +mode. User interfaces (e.g.\ \texttt{isa-xterm}, see
    2.16 +\S\ref{sec:isa-xterm}) usually do this by default.
    2.17  
    2.18 +\medskip Of course, this requires special screen fonts (see
    2.19 +\S\ref{sec:tool-installfonts}). Furthermore, various {\ML} systems
    2.20 +cause some problems with non-\textsc{ascii} characters in literal
    2.21 +strings. These are avoided by the \texttt{symbolinput} filter (see
    2.22 +\S\ref{sec:tool-symbolinput}).
    2.23 +
    2.24 +Both of these are invoked transparently in normal operation. So one
    2.25 +does not actually have to read the explanations below, unless
    2.26 +something fails to work.
    2.27 +
    2.28 +
    2.29 +\section{Telling X11 about Isabelle fonts --- \texttt{isatool installfonts}}
    2.30 +\label{sec:tool-installfonts}
    2.31 +
    2.32 +The \tooldx{installfonts} utility ensures that your currently running
    2.33 +X11 display server (as determined by the \texttt{DISPLAY} environment
    2.34 +variable) knows about the Isabelle fonts. Its usage is:
    2.35  \begin{ttbox}
    2.36  Usage: isatool installfonts
    2.37  
    2.38    Install the isabelle fonts into your X11 server.
    2.39 -  (May be savely called repeatedly.)
    2.40 +  (May be safely called repeatedly.)
    2.41 +\end{ttbox}
    2.42 +Note that this need not be called manually under normal circumstances
    2.43 +--- user interfaces depending on the Isabelle fonts will invoke
    2.44 +\texttt{installfonts} transparently.
    2.45 +
    2.46 +\medskip As simple as this might appear to be, it is not! X11 fonts
    2.47 +are a surprisingly complicated matter. Depending on your network
    2.48 +structure, fonts might have to be installed differently. This has to
    2.49 +be specified via the \settdx{ISABELLE_INSTALLFONTS}.
    2.50 +
    2.51 +\medskip In the simplest situation, X11 is used only locally, i.e.\ 
    2.52 +the client program (Isabelle) and the display server are run on the
    2.53 +same machine. Then most X11 display servers should be happy to being
    2.54 +just told about the directory where the fonts reside within the
    2.55 +Isabelle distribution:
    2.56 +\begin{ttbox}
    2.57 +ISABELLE_INSTALLFONTS="xset fp+ $ISABELLE_HOME/lib/fonts; xset fp rehash"
    2.58 +\end{ttbox}
    2.59 +The same also works for remote X11 sessions in a somewhat homogeneous
    2.60 +network, where the X11 display machine mounts the Isabelle
    2.61 +distribution under the same name as the client side.
    2.62 +
    2.63 +\medskip Above method fails, if the display machine does have the font
    2.64 +files at the same location as the client. In case your server is a
    2.65 +full workstation with its own file system, you could in principle just
    2.66 +copy the fonts there and do an appropriate \texttt{xset~fp+} manually
    2.67 +before running the Isabelle interface. This is awkward, of course, but
    2.68 +is even \emph{impossible} for proper X terminals that do not have
    2.69 +their own file system.
    2.70 +
    2.71 +A much better solution to this problem is to use an \emph{X11 font
    2.72 +  server}, offering the Isabelle font to the Net. In principle it is
    2.73 +relatively easy to setup one your own --- the program is called
    2.74 +\texttt{xfs} (or just \texttt{fs)}, see the \texttt{man} pages of your
    2.75 +system.
    2.76 +
    2.77 +Your are very lucky, though, if you have a sensible connection to the
    2.78 +Internet. We already offer a world-wide X11 font service for the
    2.79 +Isabelle fonts. To have \texttt{installfonts} make use of this, just
    2.80 +set \texttt{ISABELLE_INSTALLFONTS} is follows:
    2.81 +\begin{ttbox}
    2.82 +ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
    2.83  \end{ttbox}
    2.84  
    2.85  
    2.86 -\section{ --- \texttt{isatool symbolinput}}
    2.87 +
    2.88 +\section{Filtering non-ASCII characters --- \texttt{isatool symbolinput}}
    2.89 +\label{sec:tool-symbolinput}
    2.90  
    2.91  
    2.92  %FIXME not yet
     3.1 --- a/doc-src/System/misc.tex	Fri May 16 15:55:02 1997 +0200
     3.2 +++ b/doc-src/System/misc.tex	Fri May 16 15:57:11 1997 +0200
     3.3 @@ -3,6 +3,64 @@
     3.4  
     3.5  \chapter{Miscellaneous tools}
     3.6  
     3.7 +Subsequently we describe various Isabelle related utilities --- in
     3.8 +alphabetical order.
     3.9 +
    3.10 +
    3.11 +\section{Viewing documentation --- \texttt{isatool doc}} \label{sec:tool-doc}
    3.12 +
    3.13 +The \tooldx{doc} utility displays online documentation:
    3.14 +\begin{ttbox}
    3.15 +Usage: isatool doc [DOC]
    3.16 +
    3.17 +  View Isabelle documentation DOC, or show list of available documents.
    3.18 +\end{ttbox}
    3.19 +If called without arguments, it lists all available documents. Each
    3.20 +line starts with an identifier, followed by some comment. Any of these
    3.21 +identifiers may be specified as the first argument in order to have
    3.22 +the corresponding document displayed.
    3.23 +
    3.24 +\medskip The \texttt{ISABELLE_DOCS} setting specifies the list of
    3.25 +directories (separated by colons) to be scanned for documentations.
    3.26 +The program for viewing \texttt{dvi} files is set in
    3.27 +\texttt{DVI_VIEWER}.
    3.28 +
    3.29 +
    3.30 +\section{Tuning proof scripts --- \texttt{isatool expandshort}}
    3.31 +
    3.32 +The \tooldx{expandshort} utility tunes {\ML} proof scripts to enhance
    3.33 +readability a bit:
    3.34 +\begin{ttbox}
    3.35 +Usage: expandshort [FILES ...]
    3.36 +
    3.37 +  Expand shorthand goal commands in FILES.  Also contracts uses of
    3.38 +  resolve_tac, dresolve_tac, eresolve_tac, rewrite_goals_tac on
    3.39 +  1-element lists; furthermore expands tabs, since they are now
    3.40 +  forbidden in ML string constants.
    3.41 +
    3.42 +  Renames old versions of FILES by appending "~~".
    3.43 +\end{ttbox}
    3.44 +In the files supplied as arguments, all occurrences of the shorthand
    3.45 +commands \texttt{br}, \texttt{be} etc.\ are replaced with the
    3.46 +corresponding full commands.  Shorthand commands should appear one per
    3.47 +line.  The old versions of the files are renamed to have the
    3.48 +suffix~\verb'~~'.
    3.49 +
    3.50 +\section{Get logic images --- \texttt{isatool findlogics}}
    3.51 +
    3.52 +The \tooldx{findlogics} utility traverses all directories specified in
    3.53 +\texttt{ISABELLE_PATH}, looking for Isabelle logic images. Its usage
    3.54 +is:
    3.55 +\begin{ttbox}
    3.56 +Usage: isatool findlogics
    3.57 +
    3.58 +  Collect heap file names from ISABELLE_PATH.
    3.59 +\end{ttbox}
    3.60 +The base names of all files found on the path are printed --- sorted
    3.61 +and with duplicates removed. Also note that \texttt{ISABELLE_PATH}
    3.62 +implicitely depends upon \texttt{ML_SYSTEM}. Thus switching to another
    3.63 +{\ML} compiler may change the set of logic images available.
    3.64 +
    3.65  
    3.66  \section{Inspecting the settings environment -- \texttt{isatool getenv}}
    3.67  \label{sec:tool-getenv}
    3.68 @@ -23,26 +81,26 @@
    3.69  With the \texttt{-a} option, one may inspect the full process
    3.70  environment that Isabelle related programs are run in. This usually
    3.71  contains much more variables than are actually Isabelle settings.
    3.72 -
    3.73 -Unless the \texttt{-b} option is given, the output is a list of lines
    3.74 -of the form $varname\mathtt{=}value$.
    3.75 +Normally output is a list of lines of the form
    3.76 +\mbox{$varname$\texttt{=}$value$}. The \texttt{-b} option causes only
    3.77 +the values to be printed.
    3.78  
    3.79  
    3.80  \subsection*{Examples}
    3.81  
    3.82  Get the {\ML} system identifier and the location where the compiler
    3.83 -binaries are supposed to be installed as follows:
    3.84 +binaries are supposed to reside as follows:
    3.85  \begin{ttbox}
    3.86  isatool getenv ML_SYSTEM ML_HOME
    3.87 +{\out ML_SYSTEM=smlnj-1.09}
    3.88  {\out ML_HOME=/usr/local/sml109.27/bin}
    3.89 -{\out ML_SYSTEM=smlnj-1.09}
    3.90  \end{ttbox}
    3.91  
    3.92 -This one peeks at the search path that \texttt{isabelle} uses to
    3.93 +The next one peeks at the search path that \texttt{isabelle} uses to
    3.94  locate logic images:
    3.95  \begin{ttbox}
    3.96  isatool getenv -b ISABELLE_PATH
    3.97 -{\out /home/mmw/isabelle/heaps/smlnj-1.09:/proj/isabelle/heaps/smlnj-1.09}
    3.98 +{\out /home/me/isabelle/heaps/smlnj-1.09:/proj/isabelle/heaps/smlnj-1.09}
    3.99  \end{ttbox}
   3.100  We used the \texttt{-b} option to suppress the \texttt{ISABELLE_PATH=}
   3.101  prefix.  The value above is what became of the following assignment in
   3.102 @@ -50,36 +108,41 @@
   3.103  \begin{ttbox}
   3.104  ISABELLE_PATH=\$ISABELLE_HOME_USER/heaps:\$ISABELLE_HOME/heaps
   3.105  \end{ttbox}
   3.106 -Note how \texttt{\$ML_SYSTEM} got appended automatically to each path
   3.107 -component. This is a special feature of \texttt{ISABELLE_PATH} (and
   3.108 -also of \texttt{ISABELLE_OUTPUT}).
   3.109 -
   3.110 -\section{Get logic images --- \texttt{isatool findlogics}}
   3.111 +Note how the \texttt{ML_SYSTEM} value got appended automatically to
   3.112 +each path component. This is a special feature of
   3.113 +\texttt{ISABELLE_PATH} (and also of \texttt{ISABELLE_OUTPUT}).
   3.114  
   3.115 -\begin{ttbox}
   3.116 -Usage: isatool findlogics
   3.117 -
   3.118 -  Collect heap file names from ISABELLE_PATH.
   3.119 -\end{ttbox}
   3.120  
   3.121  \section{Isabelle's version of make --- \texttt{isatool make}}
   3.122  
   3.123 +The Isabelle \tooldx{make} utility is a very simple wrapper for
   3.124 +ordinary Unix \texttt{make}:
   3.125  \begin{ttbox}
   3.126  Usage: isatool make [ARGS ...]
   3.127  
   3.128    Compiles logic in current directory using IsaMakefile.
   3.129    ARGS are directly passed to the system make program.
   3.130  \end{ttbox}
   3.131 +Note that the Isabelle settings environment is also active. Thus one
   3.132 +may refer to its values within the \texttt{IsaMakefile}, e.g.\ 
   3.133 +\texttt{\$(ISABELLE_OUTPUT)}. Furthermore, programs started from the
   3.134 +make file also inherit this environment.
   3.135 +
   3.136 +\medskip You may want to have a look at the \texttt{IsaMakefile}s of
   3.137 +the distributed object-logics as examples for your own developements.
   3.138  
   3.139  
   3.140 -\section{ --- \texttt{isatool usedir}}
   3.141 +\section{Running complete logics --- \texttt{isatool usedir}} \label{sec:tool-usedir}
   3.142  
   3.143 +FIXME
   3.144 +
   3.145 +%FIXME
   3.146 +%    -g BOOL      generate theory graph data (default false)
   3.147  \begin{ttbox}
   3.148  Usage: isatool usedir LOGIC NAME
   3.149  
   3.150    Options are:
   3.151      -b           build mode (output heap image, use dir ".")
   3.152 -    -g BOOL      generate theory graph data (default false)
   3.153      -h BOOL      generate theory HTML data (default false)
   3.154      -s NAME      override session NAME
   3.155  
   3.156 @@ -87,25 +150,4 @@
   3.157    information (HTML etc.) according to settings.
   3.158  \end{ttbox}
   3.159  
   3.160 -
   3.161 -\section{ --- \texttt{isatool doc}}
   3.162 -
   3.163 -\begin{ttbox}
   3.164 -Usage: isatool doc [DOC]
   3.165 -
   3.166 -  View Isabelle documentation DOC, or show list of available documents.
   3.167 -\end{ttbox}
   3.168 -
   3.169 -
   3.170 -\section{ --- \texttt{isatool expandshort}}
   3.171 -
   3.172 -\begin{ttbox}
   3.173 -Usage: expandshort [FILES ...]
   3.174 -
   3.175 -  Expand shorthand goal commands in FILES.  Also contracts uses of
   3.176 -  resolve_tac, dresolve_tac, eresolve_tac, rewrite_goals_tac on
   3.177 -  1-element lists; furthermore expands tabs, since they are now
   3.178 -  forbidden in ML string constants.
   3.179 -
   3.180 -  Renames old versions of FILES by appending "~~".
   3.181 -\end{ttbox}
   3.182 +FIXME
     4.1 --- a/doc-src/System/present.tex	Fri May 16 15:55:02 1997 +0200
     4.2 +++ b/doc-src/System/present.tex	Fri May 16 15:57:11 1997 +0200
     4.3 @@ -6,10 +6,10 @@
     4.4  
     4.5  Isabelle is able to make HTML documents that show a theory's
     4.6  definition, the theorems proved in its ML file and the relationship
     4.7 -with its ancestors and descendants. HTML stands for Hypertext Markup
     4.8 -Language and is used in the World Wide Web to represent text
     4.9 -containing images and links to other documents. Web browsers like
    4.10 -{\tt xmosaic} or {\tt netscape} are used to view these documents.
    4.11 +with its ancestors and descendants. HTML is the hypertext markup
    4.12 +language used on the World Wide Web to represent text containing
    4.13 +images and links to other documents.  These documents may be viewed
    4.14 +using Web browsers like Netscape or Lynx.
    4.15  
    4.16  Besides the three HTML files that are made for every theory
    4.17  (definition and theorems, ancestors, descendants), Isabelle stores
    4.18 @@ -17,62 +17,39 @@
    4.19  linked with other indexes to represent the hierarchic structure of
    4.20  Isabelle's logics.
    4.21  
    4.22 -To make HTML files for logics that are part of the Isabelle
    4.23 -distribution, simply set the shell environment variable {\tt
    4.24 -MAKE_HTML} before compiling a logic. This works for single logics as
    4.25 -well as for the shell script {\tt make-all} (see
    4.26 -\ref{sec:shell-scripts}). To make HTML files for {\tt FOL} using a
    4.27 -{\tt csh} style shell, the following commands can be used:
    4.28 -
    4.29 +\medskip To make HTML files for logics that are part of the Isabelle
    4.30 +distribution, simply append ``\texttt{-h true}'' to the
    4.31 +\texttt{ISABELLE_USEDIR_OPTIONS} setting before making a logic.  For
    4.32 +example, to generate HTML files for {\FOL}, first add something like
    4.33 +this to your \texttt{\~\relax/isabelle/etc/settings} file:
    4.34  \begin{ttbox}
    4.35 -cd FOL
    4.36 -setenv MAKE_HTML
    4.37 -make
    4.38 +ISABELLE_USEDIR_OPTIONS="-h true"
    4.39  \end{ttbox}
    4.40 -
    4.41 -The databases made this way do not differ from the ones made with an
    4.42 -unset {\tt MAKE_HTML}; in particular no HTML files are written if the
    4.43 -database is used to manually load a theory.
    4.44 +Then \texttt{cd} into the \texttt{src/FOL} directory of the Isabelle
    4.45 +distribution and do an \texttt{isatool make} (or even \texttt{isatool
    4.46 +  make test}).
    4.47  
    4.48 -As you will see below, the HTML generation is controlled by a boolean
    4.49 -reference variable. If you want to make databases which define this
    4.50 -variable's value as {\tt true} and where therefore HTML files are
    4.51 -written each time {\tt use_thy} is invoked, you have to set {\tt
    4.52 -MAKE_HTML} to ``{\tt true}'':
    4.53 -
    4.54 -\begin{ttbox}
    4.55 -cd FOL
    4.56 -setenv MAKE_HTML true
    4.57 -make
    4.58 -\end{ttbox}
    4.59 -
    4.60 -All theories loaded from within the {\tt FOL} database and all
    4.61 -databases derived from it will now cause HTML files to be written.
    4.62 -This behaviour can be changed by assigning a value of {\tt false} to
    4.63 -the boolean reference variable {\tt make_html}. Be careful when making
    4.64 -such databases publicly available since it means that your users will
    4.65 -generate HTML files though they might not intend to do so.
    4.66 -
    4.67 -As some of Isabelle's logics are based on others (e.g. {\tt ZF} on
    4.68 -{\tt FOL}) and because the HTML files list a theory's ancestors, you
    4.69 -should not make HTML files for a logic if the HTML files for the base
    4.70 -logic do not exist. Otherwise some of the hypertext links might point
    4.71 -to non-existing documents.
    4.72 +\medskip As some of Isabelle's logics are based on others (e.g. {\tt
    4.73 +  ZF} on {\tt FOL}) and because the HTML files list a theory's
    4.74 +ancestors, you should not make HTML files for a logic if the HTML
    4.75 +files for the base logic do not exist. Otherwise some of the hypertext
    4.76 +links might point to non-existing documents.
    4.77  
    4.78  The entry point to all logics is the {\tt index.html} file located in
    4.79 -Isabelle's main directory. You can also access a HTML version of the
    4.80 -distribution package at
    4.81 +Isabelle's main directory.
    4.82  
    4.83 +A complete HTML version of all distributed Isabelle object-logics and
    4.84 +examples may be accessed on the WWW at:
    4.85  \begin{ttbox}
    4.86  http://www4.informatik.tu-muenchen.de/~nipkow/isabelle/
    4.87  \end{ttbox}
    4.88 +Note that this is not necessarily consistent with your local sources!
    4.89  
    4.90  
    4.91 -\section*{Manual HTML generation}
    4.92 +\section*{*HTML generation internals}
    4.93  
    4.94 -To manually control the generation of HTML files the following
    4.95 -commands and reference variables are used:
    4.96 -
    4.97 +The generation of HTML files is controlled by the following {\ML}
    4.98 +commands and reference variables:
    4.99  \begin{ttbox}
   4.100  init_html   : unit -> unit
   4.101  make_html   : bool ref
   4.102 @@ -98,10 +75,10 @@
   4.103  {\tt init_html} and makes the {\tt index.html} file. If {\tt
   4.104  make_html} is {\tt false} nothing is done.
   4.105  
   4.106 -The indexes made by this function also contain a link to the {\tt
   4.107 -README} file if there exists one in the directory where the index is
   4.108 -stored. If there's a {\tt README.html} file it is used instead of
   4.109 -{\tt README}.
   4.110 +The indexes made by this function also contain a link to the
   4.111 +\texttt{README.html} or \texttt{README} file if there exists one in
   4.112 +the directory where the index is stored. If there's a {\tt
   4.113 +  README.html} file it is used instead of {\tt README}.
   4.114  
   4.115  \end{ttdescription}
   4.116  
   4.117 @@ -109,24 +86,24 @@
   4.118  
   4.119  \begin{ttbox}
   4.120  init_html();
   4.121 -{\out Setting path for index.html to "/home/clasohm/isabelle/HOL"}
   4.122 +{\out Setting path for index.html to "/home/me/Isabelle-dist/src/HOL"}
   4.123  use_thy "List";
   4.124  \dots
   4.125  finish_html();
   4.126  \end{ttbox}
   4.127  
   4.128  Please note that HTML files are made only for those theories that are
   4.129 -read while {\tt make_html} is {\tt true}. These files may contain
   4.130 -links to theories that were read with a {\tt false} {\tt make_html}
   4.131 -and therefore point to non-existing files.
   4.132 +read while \texttt{make_html} is \texttt{true}. These files may
   4.133 +contain links to theories that were read with a \texttt{make_html} set
   4.134 +to \texttt{false} and therefore point to non-existing files.
   4.135  
   4.136  
   4.137  \section*{Extending or adding a logic}
   4.138  
   4.139 -If you add a new subdirectory to Isabelle's logics (or add a completly
   4.140 -new logic), you would have to call {\tt init_html} at the start of every
   4.141 -directory's {\tt ROOT.ML} file and {\tt finish_html} at the end of
   4.142 -it. This is automatically done if you use
   4.143 +If you add a new subdirectory to Isabelle's logics (or add a
   4.144 +completely new logic), you would have to call {\tt init_html} at the
   4.145 +start of every directory's {\tt ROOT.ML} file and {\tt finish_html} at
   4.146 +the end of it. This is automatically done if you use
   4.147  
   4.148  \begin{ttbox}\index{*use_dir}
   4.149  use_dir : string -> unit
   4.150 @@ -137,31 +114,15 @@
   4.151  executes {\tt ROOT.ML}, and calls {\tt finish_html}. The {\tt
   4.152  index.html} file written in this directory will be automatically
   4.153  linked to the first index found in the (recursively searched)
   4.154 -superdirectories.
   4.155 -
   4.156 -Instead of adding something like
   4.157 +super directories.
   4.158  
   4.159 -\begin{ttbox}
   4.160 -use"ex/ROOT.ML";
   4.161 -\end{ttbox}
   4.162 -
   4.163 -to the logic's makefile you have to use this:
   4.164 +The \texttt{usedir} utility (see also \S\ref{sec:tool-usedir}) will
   4.165 +automatically take care of this.
   4.166  
   4.167 -\begin{ttbox}
   4.168 -use_dir"ex";
   4.169 -\end{ttbox}
   4.170 -
   4.171 -Since {\tt use_dir} calls {\tt init_html} only if {\tt make_html} is
   4.172 -{\tt true} the generation of HTML files depends on the value this
   4.173 -reference variable has. It can either be inherited from the used \ML{}
   4.174 -database or set in the makefile before {\tt use_dir} is invoked,
   4.175 -e.g. to set it's value according to the environment variable {\tt
   4.176 -MAKE_HTML}.
   4.177 -
   4.178 -The generated HTML files contain all theorems that were proved in the
   4.179 -theory's \ML{} file with {\tt qed}, {\tt qed_goal} and {\tt qed_goalw},
   4.180 -or stored with {\tt bind_thm} and {\tt store_thm}. Additionally there
   4.181 -is a hypertext link to the whole \ML{} file.
   4.182 +\medskip The generated HTML files contain all theorems that were
   4.183 +proved in the theory's \ML{} file with {\tt qed}, {\tt qed_goal} and
   4.184 +{\tt qed_goalw}, or stored with {\tt bind_thm} and {\tt store_thm}.
   4.185 +Additionally, there is a hypertext link to the whole \ML{} file.
   4.186  
   4.187  You can add section headings to the list of theorems by using
   4.188  
   4.189 @@ -171,11 +132,10 @@
   4.190  
   4.191  in a theory's ML file, which converts a plain string to a HTML
   4.192  heading and inserts it before the next theorem proved or stored with
   4.193 -one of the above functions. If {\tt make_html} is {\tt false} nothing
   4.194 -is done.
   4.195 +one of the above functions.
   4.196  
   4.197  
   4.198 -\section*{Using someone else's database}
   4.199 +\section*{*Using someone else's database}
   4.200  
   4.201  To make them independent from their storage place, the HTML files only
   4.202  contain relative paths which are derived from absolute ones like the
   4.203 @@ -195,8 +155,8 @@
   4.204  some hypertext links.
   4.205  
   4.206  It's also a good idea to set {\tt gif_path} which points to the
   4.207 -directory containing two GIF images used in the HTML
   4.208 -documents. Normally this is the {\tt Tools} subdirectory of Isabelle's
   4.209 +directory containing two GIF images used in the HTML documents.
   4.210 +Normally this is the \texttt{src/Tools} subdirectory of Isabelle's
   4.211  main directory. While its value in general is still valid, your HTML
   4.212  files would depend on files not owned by you. This prevents you from
   4.213  changing the location of the HTML files (as they contain relative
   4.214 @@ -207,8 +167,8 @@
   4.215  someone else's \ML{} database:
   4.216  
   4.217  \begin{ttbox}
   4.218 -base_path := "/home/smith/isabelle";
   4.219 -gif_path := "/home/smith/isabelle/Tools";
   4.220 +base_path := "/home/someone/Isabelle-dist/src";
   4.221 +gif_path := "/home/someone/Isabelle-dist/src/Tools";
   4.222  init_html();
   4.223  \dots
   4.224  \end{ttbox}
     5.1 --- a/doc-src/System/system.ind	Fri May 16 15:55:02 1997 +0200
     5.2 +++ b/doc-src/System/system.ind	Fri May 16 15:57:11 1997 +0200
     5.3 @@ -1,42 +1,62 @@
     5.4  \begin{theindex}
     5.5  
     5.6 -  \item browser, \bold{13}
     5.7 +  \item {\tt doc} tool, 7
     5.8 +  \item {\tt DVI_VIEWER} setting, 4
     5.9  
    5.10    \indexspace
    5.11  
    5.12 -  \item {\tt finish_html}, \bold{10}
    5.13 +  \item {\tt expandshort} tool, 7
    5.14  
    5.15    \indexspace
    5.16  
    5.17 -  \item {\tt getenv} tool, 5
    5.18 +  \item {\tt findlogics} tool, 8
    5.19 +  \item {\tt finish_html}, \bold{13}
    5.20 +
    5.21 +  \indexspace
    5.22 +
    5.23 +  \item {\tt getenv} tool, 8
    5.24  
    5.25    \indexspace
    5.26  
    5.27 -  \item HTML, \bold{9}
    5.28 +  \item HTML, \bold{12}
    5.29  
    5.30    \indexspace
    5.31  
    5.32 -  \item {\tt init_html}, \bold{10}
    5.33 +  \item {\tt init_html}, \bold{13}
    5.34    \item {\tt INSTALL}, 1
    5.35 -  \item {\tt ISABELLE}, 3
    5.36 +  \item {\tt installfonts} tool, 10
    5.37 +  \item {\tt ISABELLE} setting, 3
    5.38    \item {\tt Isabelle}, 1
    5.39 -  \item {\tt isabelle}, 1, 3
    5.40 -  \item {\tt ISABELLE_HOME}, 2
    5.41 -  \item {\tt ISABELLE_OUTPUT}, 3
    5.42 -  \item {\tt ISABELLE_PATH}, 3
    5.43 -  \item {\tt ISATOOL}, 3
    5.44 +  \item {\tt isabelle}, 1, 4
    5.45 +  \item {\tt ISABELLE_DOCS} setting, 4
    5.46 +  \item {\tt ISABELLE_HOME} setting, 2, 3
    5.47 +  \item {\tt ISABELLE_HOME_USER} setting, 3
    5.48 +  \item {\tt ISABELLE_INSTALL_FONTS} setting, 4
    5.49 +  \item {\tt ISABELLE_INSTALLFONTS} setting, 10
    5.50 +  \item {\tt ISABELLE_INTERFACE} setting, 4
    5.51 +  \item {\tt ISABELLE_LOGIC} setting, 4
    5.52 +  \item {\tt ISABELLE_OUTPUT} setting, 3, 4
    5.53 +  \item {\tt ISABELLE_PATH} setting, 3
    5.54 +  \item {\tt ISABELLE_TOOLS} setting, 4
    5.55 +  \item {\tt ISABELLE_USEDIR_OPTIONS} setting, 4
    5.56 +  \item {\tt ISATOOL} setting, 3
    5.57    \item {\tt isatool}, 1
    5.58  
    5.59    \indexspace
    5.60  
    5.61 -  \item {\tt make_html}, \bold{10}
    5.62 +  \item {\tt make} tool, 9
    5.63 +  \item {\tt make_html}, \bold{13}
    5.64 +  \item {\tt ML_HOME} setting, 3
    5.65 +  \item {\tt ML_OPTIONS} setting, 3
    5.66 +  \item {\tt ML_SYSTEM} setting, 3
    5.67  
    5.68    \indexspace
    5.69  
    5.70    \item settings, \bold{1}
    5.71 +  \item {\tt symbols}, 10
    5.72  
    5.73    \indexspace
    5.74  
    5.75 -  \item {\tt use_dir}, 11
    5.76 +  \item {\tt use_dir}, 13, 14
    5.77  
    5.78  \end{theindex}
     6.1 --- a/doc-src/System/system.tex	Fri May 16 15:55:02 1997 +0200
     6.2 +++ b/doc-src/System/system.tex	Fri May 16 15:57:11 1997 +0200
     6.3 @@ -15,7 +15,7 @@
     6.4          Computer Laboratory \\ University of Cambridge \\
     6.5          \texttt{lcp@cl.cam.ac.uk}\\[3ex] 
     6.6          With Contributions by Tobias Nipkow and Markus Wenzel%
     6.7 -        \thanks{Chapter~\protect\ref{html} was written by Carsten
     6.8 +        \thanks{Section~\protect\ref{sec:html} was written by Carsten
     6.9            Clasohm.  Chapter~\protect\ref{browse} was written by Stefan
    6.10            Berghofer. Other parts are by Markus Wenzel.}}
    6.11  
    6.12 @@ -39,7 +39,7 @@
    6.13  \include{misc}
    6.14  \include{fonts}
    6.15  \include{present}
    6.16 -\include{browse}
    6.17 +%\include{browse}
    6.18  
    6.19  %\begingroup
    6.20  %  \bibliographystyle{plain} \small\raggedright\frenchspacing