doc-src/IsarRef/pure.tex
changeset 14955 08ee855c1d94
parent 14934 bf9f525d4821
child 15686 406a98ee8027
equal deleted inserted replaced
14954:f1789e22ceec 14955:08ee855c1d94
  1518   \isarcmd{update_thy_only}^* & : & \isarkeep{\cdot} \\
  1518   \isarcmd{update_thy_only}^* & : & \isarkeep{\cdot} \\
  1519   \isarcmd{display_drafts}^* & : & \isarkeep{\cdot} \\
  1519   \isarcmd{display_drafts}^* & : & \isarkeep{\cdot} \\
  1520   \isarcmd{print_drafts}^* & : & \isarkeep{\cdot} \\
  1520   \isarcmd{print_drafts}^* & : & \isarkeep{\cdot} \\
  1521 \end{matharray}
  1521 \end{matharray}
  1522 
  1522 
  1523 \begin{descr}
  1523 \railalias{usethy}{use\_thy}
  1524 \item [$\isarkeyword{cd}~name$] changes the current directory of the Isabelle
  1524 \railterm{usethy}
       
  1525 \railalias{usethyonly}{use\_thy\_only}
       
  1526 \railterm{usethyonly}
       
  1527 \railalias{updatethy}{update\_thy}
       
  1528 \railterm{updatethy}
       
  1529 \railalias{updatethyonly}{update\_thy\_only}
       
  1530 \railterm{updatethyonly}
       
  1531 \railalias{displaydrafts}{display\_drafts}
       
  1532 \railterm{displaydrafts}
       
  1533 \railalias{printdrafts}{print\_drafts}
       
  1534 \railterm{printdrafts}
       
  1535 
       
  1536 \begin{rail}
       
  1537   ('cd' | usethy | usethyonly | updatethy | updatethyonly) name
       
  1538   ;
       
  1539   (displaydrafts | printdrafts) (name +)
       
  1540   ;
       
  1541 \end{rail}
       
  1542 
       
  1543 \begin{descr}
       
  1544 \item [$\isarkeyword{cd}~path$] changes the current directory of the Isabelle
  1525   process.
  1545   process.
  1526 \item [$\isarkeyword{pwd}~$] prints the current working directory.
  1546 \item [$\isarkeyword{pwd}~$] prints the current working directory.
  1527 \item [$\isarkeyword{use_thy}$, $\isarkeyword{use_thy_only}$,
  1547 \item [$\isarkeyword{use_thy}$, $\isarkeyword{use_thy_only}$,
  1528   $\isarkeyword{update_thy}$, $\isarkeyword{update_thy_only}$] load some
  1548   $\isarkeyword{update_thy}$, $\isarkeyword{update_thy_only}$] load some
  1529   theory given as $name$ argument.  These commands are basically the same as
  1549   theory given as $name$ argument.  These commands are basically the same as
  1530   the corresponding ML functions\footnote{The ML versions also change the
  1550   the corresponding ML functions\footnote{The ML versions also change the
  1531     implicit theory context to that of the theory loaded.}  (see also
  1551     implicit theory context to that of the theory loaded.}  (see also
  1532   \cite[\S1,\S6]{isabelle-ref}).  Note that both the ML and Isar versions may
  1552   \cite[\S1,\S6]{isabelle-ref}).  Note that both the ML and Isar versions may
  1533   load new- and old-style theories alike.
  1553   load new- and old-style theories alike.
  1534 \item [$\isarkeyword{display_drafts} and \isarkeyword{print_drafts}$] perform
  1554 \item [$\isarkeyword{display_drafts}~paths$ and
  1535   simple output of a given list of raw source files (specified as repeated
  1555   $\isarkeyword{print_drafts}~paths$] perform simple output of a given list of
  1536   $name$ arguments).  Only those symbols that do not require additional LaTeX
  1556   raw source files.  Only those symbols that do not require additional
  1537   packages are displayed properly, everything else is left verbatim.
  1557   {\LaTeX} packages are displayed properly, everything else is left verbatim.
  1538 \end{descr}
  1558 \end{descr}
  1539 
  1559 
  1540 These system commands are scarcely used when working with the Proof~General
  1560 These system commands are scarcely used when working with the Proof~General
  1541 interface, since loading of theories is done transparently.
  1561 interface, since loading of theories is done transparently.
  1542 
  1562