diff options
| author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-01 23:31:09 +0200 | 
|---|---|---|
| committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:29 +0200 | 
| commit | e03ab48ced82a1eddd3e99b6c34ed6dc617af0f6 (patch) | |
| tree | 0eb13212ad5948c267eb30dfce0b75193b1faa55 | |
| parent | e11db1977941706682ef9433994feb3040871842 (diff) | |
Remove no longer needed test (will be moved to testdata/integration in a different form)
| -rw-r--r-- | testdata/osmlparser/user_defined_syntax.osml | 62 | 
1 files changed, 0 insertions, 62 deletions
| diff --git a/testdata/osmlparser/user_defined_syntax.osml b/testdata/osmlparser/user_defined_syntax.osml deleted file mode 100644 index 9bc80c7..0000000 --- a/testdata/osmlparser/user_defined_syntax.osml +++ /dev/null @@ -1,62 +0,0 @@ -\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{--} -} - -\begin{book} -== This tests somewhat plays with user defined syntax == - -As you -- surely -- can see, just the tiny `\\syntax` definitions above make writing documents -much easier. - -For instance, this is a new paragraph. - -And here goes another one. - -All with the power of just adding `\\close\{\\paragraph\}` to the `\\syntax` -definition of the paragraph structure. - -<<Well, that's insane!>>, I hear you say. Right so! This indeed is insane. - -== One last thing == - -Did you notice how we started sections here? - -Sections can be allowed to use Wiki-like syntax with only three lines of code. Awesome! -\end{book} -\end{document} | 
