summaryrefslogtreecommitdiff
path: root/testdata/integration/user_defined_syntax/wikilike.in.osml
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/integration/user_defined_syntax/wikilike.in.osml')
-rw-r--r--testdata/integration/user_defined_syntax/wikilike.in.osml40
1 files changed, 1 insertions, 39 deletions
diff --git a/testdata/integration/user_defined_syntax/wikilike.in.osml b/testdata/integration/user_defined_syntax/wikilike.in.osml
index 9bc80c7..88ffa85 100644
--- a/testdata/integration/user_defined_syntax/wikilike.in.osml
+++ b/testdata/integration/user_defined_syntax/wikilike.in.osml
@@ -1,43 +1,5 @@
\begin{document}
-
-\ontology#book{
- \struct#book[root=true]
- \field
- \childRef[ref=section]
- \childRef[ref=paragraph]
- \struct#section
- \primitive#title[type=string,subtree=true]
- \syntax
- \open{==}
- \close{==}
- \field
- \childRef[ref=paragraph]
- \struct#paragraph[transparent=true]
- \syntax
- \close{\paragraph}
- \field
- \childRef[ref=text]
- \childRef[ref=code]
- \childRef[ref=speech]
- \childRef[ref=thought]
- \struct#code
- \syntax
- \open{`}
- \close{`}
- \field
- \childRef[ref=text]
- \struct#speech
- \syntax
- \open{<<}
- \close{>>}
- \fieldRef[ref=paragraph.$default]
- \struct#text[transparent=true]
- \primitive[type=string]
- \struct#thought
- \syntax
- \short{--}
-}
-
+\import[ontology]{./wikilike.osml}
\begin{book}
== This tests somewhat plays with user defined syntax ==