forked from Isabelle_DOF/Isabelle_DOF
Modernized comment syntax.
This commit is contained in:
parent
a9737762fd
commit
b4482b02d9
|
@ -81,14 +81,14 @@ text\<open>
|
||||||
any context. The context-definition contains an \<^boxed_theory_text>\<open>import\<close> and a
|
any context. The context-definition contains an \<^boxed_theory_text>\<open>import\<close> and a
|
||||||
\<^boxed_theory_text>\<open>keyword\<close> section, for example:
|
\<^boxed_theory_text>\<open>keyword\<close> section, for example:
|
||||||
@{boxed_theory_text [display]\<open>
|
@{boxed_theory_text [display]\<open>
|
||||||
theory Example (* Name of the 'theory' *)
|
theory Example \<comment>\<open>Name of the 'theory'\<close>
|
||||||
imports (* Declaration of 'theory' dependencies *)
|
imports (* Declaration of 'theory' dependencies *)
|
||||||
Main (* Imports a library called 'Main' *)
|
Main (* Imports a library called 'Main' *)
|
||||||
keywords (* Registration of keywords defined locally *)
|
keywords (* Registration of keywords defined locally *)
|
||||||
requirement (* A command for describing requirements *)\<close>}
|
requirement (* A command for describing requirements *)\<close>}
|
||||||
where \<^boxed_theory_text>\<open>Example\<close> is the abstract name of the text-file, \<^boxed_theory_text>\<open>Main\<close> refers to an
|
where \<^boxed_theory_text>\<open>Example\<close> is the abstract name of the text-file, \<^boxed_theory_text>\<open>Main\<close>
|
||||||
imported theory (recall that the import relation must be acyclic) and \<^boxed_theory_text>\<open>keywords\<close> are
|
refers to an imported theory (recall that the import relation must be acyclic) and
|
||||||
used to separate commands from each other.
|
\<^boxed_theory_text>\<open>keywords\<close> are used to separate commands from each other.
|
||||||
\<close>
|
\<close>
|
||||||
|
|
||||||
text\<open> A text-element \<^index>\<open>text-element\<close> may look like this:
|
text\<open> A text-element \<^index>\<open>text-element\<close> may look like this:
|
||||||
|
|
Loading…
Reference in New Issue