Added basic support for chapter*.
This commit is contained in:
parent
55e8f84c77
commit
a90e4e6a3f
|
@ -19,7 +19,7 @@ theory Isa_DOF (* Isabelle Document Ontology Framework *)
|
|||
keywords "+=" ":="
|
||||
|
||||
and "title*" "subtitle*"
|
||||
"section*" "subsection*" "subsubsection*"
|
||||
"chapter*" "section*" "subsection*" "subsubsection*"
|
||||
"text*"
|
||||
"paragraph*" "subparagraph*"
|
||||
"figure*"
|
||||
|
@ -980,6 +980,11 @@ val _ =
|
|||
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||
>> enriched_document_command {markdown = false});
|
||||
|
||||
val _ =
|
||||
Outer_Syntax.command ("chapter*", @{here}) "section heading"
|
||||
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||
>> enriched_document_command {markdown = false});
|
||||
|
||||
val _ =
|
||||
Outer_Syntax.command ("section*", @{here}) "section heading"
|
||||
(attributes -- Parse.opt_target -- Parse.document_source --| semi
|
||||
|
|
|
@ -134,6 +134,12 @@
|
|||
\newkeycommand\isaDofDeclareReferenceTextSection[label=,type=]{}
|
||||
\newkeycommand\isaDofDeclareReferenceFigure[label=,type=]{}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% begin: chapter*
|
||||
\NewEnviron{isamarkupchapter*}[1][]{\isaDof[env={chapter},#1]{\BODY}}
|
||||
% end: chapter*
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% begin: section*
|
||||
\NewEnviron{isamarkupsection*}[1][]{\isaDof[env={section},#1]{\BODY}}
|
||||
|
|
Loading…
Reference in New Issue