\import[domain]{../osxmlparser/book_domain.osxml} \import[domain]{../osxmlparser/headings_domain.osxml} %\domain#stuff % \import[typesystem]{../osxmlparser/color.osxml} % \struct#fancy % \primitive#bla[type=color] % \parentRef[ref=book] % \fieldRef[ref=$default] \begin{book} This might be some introductory text or a dedication. \chapter#myFirstChapter{My first chapter} Here we might have an introduction to the chapter. \section#myFirstSection \heading{A rather curious experiment} \paragraph{!Here we might find the actual section content. \heading{test}} \section#mySndSection Here we might find the actual section content. bla %\fancy{aquamarine} \end{book}