doc-src/Ref/theories.tex
changeset 1409 3cc3fde8d005
parent 1387 9bcad9c22fd4
child 1452 ee54d2c15d66
equal deleted inserted replaced
1408:fcb3346c9922 1409:3cc3fde8d005
   605 for the current directory to make HTML files and therefore (probably)
   605 for the current directory to make HTML files and therefore (probably)
   606 generate them in your home directory, the absolute {\tt base_path} is
   606 generate them in your home directory, the absolute {\tt base_path} is
   607 not correct if you use someone else's database or a database derived
   607 not correct if you use someone else's database or a database derived
   608 from it.
   608 from it.
   609 
   609 
   610 In that case you first have to set {\tt base_path} to the value of
   610 In that case you first should set {\tt base_path} to the value of {\em
   611 {\em your} Isabelle main directory, i.e. the directory that contains
   611 your} Isabelle main directory, i.e. the directory that contains the
   612 the subdirectories where standard logics like {\tt FOL} and {\tt HOL}
   612 subdirectories where standard logics like {\tt FOL} and {\tt HOL} or
   613 or your own logics are stored.
   613 your own logics are stored. If you do not do this, the generated HTML
       
   614 files will still be usable but may contain incomplete titles and lack
       
   615 some hypertext links.
   614 
   616 
   615 It's also a good idea to set {\tt gif_path} which points to the
   617 It's also a good idea to set {\tt gif_path} which points to the
   616 directory containing two GIF images used in the HTML
   618 directory containing two GIF images used in the HTML
   617 documents. Normally this is the {\tt Tools} subdirectory of Isabelle's
   619 documents. Normally this is the {\tt Tools} subdirectory of Isabelle's
   618 main directory. While its value in general is still valid, your HTML
   620 main directory. While its value in general is still valid, your HTML
   619 files would depend on files not owned by you. This prevents you from
   621 files would depend on files not owned by you. This prevents you from
   620 changing the location of the HTML files (as they contain relative
   622 changing the location of the HTML files (as they contain relative
   621 paths) and also causes trouble if the database's maker (re)moves the
   623 paths) and also causes trouble if the database's maker (re)moves the
   622 GIFs.
   624 GIFs.
   623 
   625 
   624 Here's what you have to do before invoking {\tt init_html} using
   626 Here's what you should do before invoking {\tt init_html} using
   625 someone else's \ML{} database:
   627 someone else's \ML{} database:
   626 
   628 
   627 \begin{ttbox}
   629 \begin{ttbox}
   628 base_path := "/home/smith/isabelle";
   630 base_path := "/home/smith/isabelle";
   629 gif_path := "/home/smith/isabelle/Tools";
   631 gif_path := "/home/smith/isabelle/Tools";