diff --git a/examples/technical_report/TR_my_commented_isabelle/TR_MyCommentedIsabelle.thy b/examples/technical_report/TR_my_commented_isabelle/TR_MyCommentedIsabelle.thy index 4aa7f04..541eaff 100755 --- a/examples/technical_report/TR_my_commented_isabelle/TR_MyCommentedIsabelle.thy +++ b/examples/technical_report/TR_my_commented_isabelle/TR_MyCommentedIsabelle.thy @@ -2005,21 +2005,16 @@ text\ text\ - Note that @{ML "Syntax.install_operations"} is a late-binding interface, i.e. a collection of + Note that \<^ML>\Syntax.install_operations\ is a late-binding interface, i.e. a collection of "hooks" used to resolve an apparent architectural cycle. - The real work is done in @{file "~~/src/Pure/Syntax/syntax_phases.ML"} + The real work is done in \<^file>\~~/src/Pure/Syntax/syntax_phases.ML\ Even the parsers and type checkers stemming from the theory-structure are registered via hooks (this can be confusing at times). Main phases of inner syntax processing, with standard implementations of parse/unparse operations were treated this way. - At the very very end in , it sets up the entire syntax engine - (the hooks) via: -\ + At the very very end in, it sets up the entire syntax engine (the hooks) via: - -(* -val _ = - Theory.setup + \<^theory_text>\Theory.setup (Syntax.install_operations {parse_sort = parse_sort, parse_typ = parse_typ, @@ -2032,8 +2027,11 @@ val _ = check_terms = check_terms, check_props = check_props, uncheck_typs = uncheck_typs, - uncheck_terms = uncheck_terms}); -*) + uncheck_terms = uncheck_terms}) + \ +\ + + subsection*[ex33::example] \Example\ @@ -2086,7 +2084,7 @@ Output.output "bla_1:"; text\It provides a number of hooks that can be used for redirection hacks ...\ section \ Output: LaTeX \ -text\The heart of the LaTeX generator is to be found in the structure @{ML_structure Thy_Output}. +text\The heart of the LaTeX generator is to be found in the structure \<^ML_structure>\Thy_Output\. This is an own parsing and writing process, with the risc that a parsed file in the IDE parsing process can not be parsed for the LaTeX Generator. The reason is twofold: \<^enum> The LaTeX Generator makes a rough attempt to mimic the LayOut if the thy-file; thus, its @@ -2096,7 +2094,7 @@ text\The heart of the LaTeX generator is to be found in the structure @{ML called @{ML "Document_Source.improper"} where also other forms of comment parsers are provided. Since Isabelle2018, an own AST is provided for the LaTeX syntax, analogously to - @{ML_structure "Pretty"}. Key functions of this structure @{ML_structure "Latex"} are: + \<^ML_structure>\Pretty\. Key functions of this structure \<^ML_structure>\Latex\ are: \ ML\