40 {name = name, imports = imports, keywords = keywords}; |
40 {name = name, imports = imports, keywords = keywords}; |
41 |
41 |
42 |
42 |
43 (* bootstrap keywords *) |
43 (* bootstrap keywords *) |
44 |
44 |
45 val headerN = "header"; (* FIXME legacy *) |
|
46 |
|
47 val chapterN = "chapter"; |
45 val chapterN = "chapter"; |
48 val sectionN = "section"; |
46 val sectionN = "section"; |
49 val subsectionN = "subsection"; |
47 val subsectionN = "subsection"; |
50 val subsubsectionN = "subsubsection"; |
48 val subsubsectionN = "subsubsection"; |
51 val paragraphN = "paragraph"; |
49 val paragraphN = "paragraph"; |
70 (("==", @{here}), NONE), |
68 (("==", @{here}), NONE), |
71 (("and", @{here}), NONE), |
69 (("and", @{here}), NONE), |
72 ((beginN, @{here}), NONE), |
70 ((beginN, @{here}), NONE), |
73 ((importsN, @{here}), NONE), |
71 ((importsN, @{here}), NONE), |
74 ((keywordsN, @{here}), NONE), |
72 ((keywordsN, @{here}), NONE), |
75 ((headerN, @{here}), SOME ((Keyword.document_heading, []), [])), |
|
76 ((chapterN, @{here}), SOME ((Keyword.document_heading, []), [])), |
73 ((chapterN, @{here}), SOME ((Keyword.document_heading, []), [])), |
77 ((sectionN, @{here}), SOME ((Keyword.document_heading, []), [])), |
74 ((sectionN, @{here}), SOME ((Keyword.document_heading, []), [])), |
78 ((subsectionN, @{here}), SOME ((Keyword.document_heading, []), [])), |
75 ((subsectionN, @{here}), SOME ((Keyword.document_heading, []), [])), |
79 ((subsubsectionN, @{here}), SOME ((Keyword.document_heading, []), [])), |
76 ((subsubsectionN, @{here}), SOME ((Keyword.document_heading, []), [])), |
80 ((paragraphN, @{here}), SOME ((Keyword.document_heading, []), [])), |
77 ((paragraphN, @{here}), SOME ((Keyword.document_heading, []), [])), |