forked from Isabelle_DOF/Isabelle_DOF
Eingeführter title etc. …
This commit is contained in:
parent
19959304d4
commit
ab127abe9a
30
Isa_DOF.thy
30
Isa_DOF.thy
|
@ -14,8 +14,11 @@ theory Isa_DOF (* Isabelle Document Ontology Framework *)
|
||||||
Assert
|
Assert
|
||||||
keywords "+=" ":="
|
keywords "+=" ":="
|
||||||
|
|
||||||
and "section*" "subsection*" "subsubsection*"
|
and "title*" "subtitle*"
|
||||||
"paragraph*" "subparagraph*" "text*" ::thy_decl
|
"section*" "subsection*" "subsubsection*"
|
||||||
|
"figure*" "side_by_side_figure*"
|
||||||
|
"paragraph*" "subparagraph*"
|
||||||
|
"text*" :: thy_decl
|
||||||
|
|
||||||
and "open_monitor*" "close_monitor*" "declare_reference*"
|
and "open_monitor*" "close_monitor*" "declare_reference*"
|
||||||
"update_instance*" "doc_class" ::thy_decl
|
"update_instance*" "doc_class" ::thy_decl
|
||||||
|
@ -501,11 +504,23 @@ fun update_instance_command (((oid:string,pos),cid_pos),
|
||||||
in Toplevel.theory(upd)
|
in Toplevel.theory(upd)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
val _ =
|
||||||
|
Outer_Syntax.command ("title*", @{here}) "section heading"
|
||||||
|
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||||
|
>> enriched_document_command {markdown = false});
|
||||||
|
|
||||||
|
val _ =
|
||||||
|
Outer_Syntax.command ("subtitle*", @{here}) "section heading"
|
||||||
|
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||||
|
>> enriched_document_command {markdown = false});
|
||||||
|
|
||||||
val _ =
|
val _ =
|
||||||
Outer_Syntax.command ("section*", @{here}) "section heading"
|
Outer_Syntax.command ("section*", @{here}) "section heading"
|
||||||
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||||
>> enriched_document_command {markdown = false});
|
>> enriched_document_command {markdown = false});
|
||||||
|
|
||||||
|
|
||||||
val _ =
|
val _ =
|
||||||
Outer_Syntax.command ("subsection*", @{here}) "subsection heading"
|
Outer_Syntax.command ("subsection*", @{here}) "subsection heading"
|
||||||
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||||
|
@ -526,6 +541,17 @@ val _ =
|
||||||
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||||
>> enriched_document_command {markdown = false});
|
>> enriched_document_command {markdown = false});
|
||||||
|
|
||||||
|
val _ =
|
||||||
|
Outer_Syntax.command ("figure*", @{here}) "paragraph heading"
|
||||||
|
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||||
|
>> enriched_document_command {markdown = false});
|
||||||
|
|
||||||
|
val _ =
|
||||||
|
Outer_Syntax.command ("side_by_side_figure*", @{here}) "paragraph heading"
|
||||||
|
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||||
|
>> enriched_document_command {markdown = false});
|
||||||
|
|
||||||
|
|
||||||
val _ =
|
val _ =
|
||||||
Outer_Syntax.command ("text*", @{here}) "formal comment (primary style)"
|
Outer_Syntax.command ("text*", @{here}) "formal comment (primary style)"
|
||||||
(attributes -- Parse.opt_target -- Parse.document_source
|
(attributes -- Parse.opt_target -- Parse.document_source
|
||||||
|
|
Reference in New Issue