summaryrefslogtreecommitdiff
path: root/contrib/test.osml
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-15 21:56:04 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-15 21:56:04 +0100
commitd2f99e4b43ed93ef0fa8e138e0c3afc79775b77c (patch)
tree8e7cdb894b7036b3ca01499ee9432d2e62930477 /contrib/test.osml
parent40f7df390f00f85c17bd0e6527ec4ba19cbce4fc (diff)
parent4f2872d9968aec93bebff90d1238347c8a364949 (diff)
Merge branch 'master' of somweyr.de:ousia
Diffstat (limited to 'contrib/test.osml')
-rw-r--r--contrib/test.osml29
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/test.osml b/contrib/test.osml
new file mode 100644
index 0000000..100bc77
--- /dev/null
+++ b/contrib/test.osml
@@ -0,0 +1,29 @@
+%{
+ We're currently inside a block comment.
+ %{
+ Note that block comments can be nested, easily allowing you to comment
+ out blocks which already contain comments.
+ }%
+}%
+
+% Well, line comments, as we know them from TeX also work
+
+\import{meta}
+\import{book}
+
+\domain#special_words{
+ \struct#latex
+ \struct#ousia
+}
+
+\book{
+ \include{chapters/chapter1}
+ \include{chapters/chapter2}
+
+ \begin{note}{Behaviour of "Include"}
+ Analogous to the `include` command in \latex, \ousia forces the included
+ file to be *complete* in a sense, that it must not have dangling open
+ commands.
+ \end{note}
+}
+