summaryrefslogtreecommitdiff
path: root/testdata/osmlparser/simple_book.osml
blob: 21751b9b91625ec33a6e054a4cc5fcae0adaaa17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\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}