1608 \end{warn} |
1608 \end{warn} |
1609 |
1609 |
1610 |
1610 |
1611 \subsection{System operations} |
1611 \subsection{System operations} |
1612 |
1612 |
1613 \indexisarcmd{cd}\indexisarcmd{pwd}\indexisarcmd{use-thy}\indexisarcmd{use-thy-only} |
1613 \indexisarcmd{cd}\indexisarcmd{pwd}\indexisarcmd{use-thy}\indexisarcmd{update-thy} |
1614 \indexisarcmd{update-thy}\indexisarcmd{update-thy-only}\indexisarcmd{display-drafts} |
1614 \indexisarcmd{display-drafts}\indexisarcmd{print-drafts} |
1615 \indexisarcmd{print-drafts} |
|
1616 \begin{matharray}{rcl} |
1615 \begin{matharray}{rcl} |
1617 \isarcmd{cd}^* & : & \isarkeep{\cdot} \\ |
1616 \isarcmd{cd}^* & : & \isarkeep{\cdot} \\ |
1618 \isarcmd{pwd}^* & : & \isarkeep{\cdot} \\ |
1617 \isarcmd{pwd}^* & : & \isarkeep{\cdot} \\ |
1619 \isarcmd{use_thy}^* & : & \isarkeep{\cdot} \\ |
1618 \isarcmd{use_thy}^* & : & \isarkeep{\cdot} \\ |
1620 \isarcmd{use_thy_only}^* & : & \isarkeep{\cdot} \\ |
|
1621 \isarcmd{update_thy}^* & : & \isarkeep{\cdot} \\ |
1619 \isarcmd{update_thy}^* & : & \isarkeep{\cdot} \\ |
1622 \isarcmd{update_thy_only}^* & : & \isarkeep{\cdot} \\ |
|
1623 \isarcmd{display_drafts}^* & : & \isarkeep{\cdot} \\ |
1620 \isarcmd{display_drafts}^* & : & \isarkeep{\cdot} \\ |
1624 \isarcmd{print_drafts}^* & : & \isarkeep{\cdot} \\ |
1621 \isarcmd{print_drafts}^* & : & \isarkeep{\cdot} \\ |
1625 \end{matharray} |
1622 \end{matharray} |
1626 |
1623 |
1627 \railalias{usethy}{use\_thy} |
1624 \begin{rail} |
1628 \railterm{usethy} |
1625 ('cd' | 'use\_thy' | 'update\_thy') name |
1629 \railalias{usethyonly}{use\_thy\_only} |
1626 ; |
1630 \railterm{usethyonly} |
1627 ('display\_drafts' | 'print\_drafts') (name +) |
1631 \railalias{updatethy}{update\_thy} |
|
1632 \railterm{updatethy} |
|
1633 \railalias{updatethyonly}{update\_thy\_only} |
|
1634 \railterm{updatethyonly} |
|
1635 \railalias{displaydrafts}{display\_drafts} |
|
1636 \railterm{displaydrafts} |
|
1637 \railalias{printdrafts}{print\_drafts} |
|
1638 \railterm{printdrafts} |
|
1639 |
|
1640 \begin{rail} |
|
1641 ('cd' | usethy | usethyonly | updatethy | updatethyonly) name |
|
1642 ; |
|
1643 (displaydrafts | printdrafts) (name +) |
|
1644 ; |
1628 ; |
1645 \end{rail} |
1629 \end{rail} |
1646 |
1630 |
1647 \begin{descr} |
1631 \begin{descr} |
1648 \item [$\isarkeyword{cd}~path$] changes the current directory of the Isabelle |
1632 \item [$\isarkeyword{cd}~path$] changes the current directory of the Isabelle |
1649 process. |
1633 process. |
1650 \item [$\isarkeyword{pwd}~$] prints the current working directory. |
1634 \item [$\isarkeyword{pwd}~$] prints the current working directory. |
1651 \item [$\isarkeyword{use_thy}$, $\isarkeyword{use_thy_only}$, |
1635 \item [$\isarkeyword{use_thy}$ and $\isarkeyword{update_thy}$] preload |
1652 $\isarkeyword{update_thy}$, $\isarkeyword{update_thy_only}$] load some |
1636 some theory given as $name$ argument. These system commands are |
1653 theory given as $name$ argument. These commands are basically the same as |
1637 scarcely used when working interactively, since loading of theories |
1654 the corresponding ML functions\footnote{The ML versions also change the |
1638 is done transparently. |
1655 implicit theory context to that of the theory loaded.} (see also |
|
1656 \cite[\S1,\S6]{isabelle-ref}). Note that both the ML and Isar versions may |
|
1657 load new- and old-style theories alike. |
|
1658 \item [$\isarkeyword{display_drafts}~paths$ and |
1639 \item [$\isarkeyword{display_drafts}~paths$ and |
1659 $\isarkeyword{print_drafts}~paths$] perform simple output of a given list of |
1640 $\isarkeyword{print_drafts}~paths$] perform simple output of a given list of |
1660 raw source files. Only those symbols that do not require additional |
1641 raw source files. Only those symbols that do not require additional |
1661 {\LaTeX} packages are displayed properly, everything else is left verbatim. |
1642 {\LaTeX} packages are displayed properly, everything else is left verbatim. |
1662 \end{descr} |
1643 \end{descr} |
1663 |
1644 |
1664 These system commands are scarcely used when working with the Proof~General |
|
1665 interface, since loading of theories is done transparently. |
|
1666 |
|
1667 %%% Local Variables: |
1645 %%% Local Variables: |
1668 %%% mode: latex |
1646 %%% mode: latex |
1669 %%% TeX-master: "isar-ref" |
1647 %%% TeX-master: "isar-ref" |
1670 %%% End: |
1648 %%% End: |