summaryrefslogtreecommitdiff
path: root/contrib/test.osdm
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-10 15:25:30 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-10 15:25:30 +0100
commitda4cac818de97d99de4b09ee0ddc668684be266e (patch)
tree1cf46882650872f9cf6aa3655d1e38933baae5b0 /contrib/test.osdm
parenteefefdc97cd49d830cf0b72b15cb08464a3745f2 (diff)
Updated gedit syntax highlighting for osdl, added test document for testing that syntax highlighter
Diffstat (limited to 'contrib/test.osdm')
-rw-r--r--contrib/test.osdm29
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/test.osdm b/contrib/test.osdm
new file mode 100644
index 0000000..100bc77
--- /dev/null
+++ b/contrib/test.osdm
@@ -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}
+}
+