summaryrefslogtreecommitdiff
path: root/testdata/integration/user_defined_syntax/poem.in.osml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-03 01:07:45 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:30 +0200
commit68e430c4ae9c5ed48a0cb06f957f03e88c1289c4 (patch)
tree92e9fddb35f172e5c0b93bf9dd9cc19d4eb1d57b /testdata/integration/user_defined_syntax/poem.in.osml
parent8652c67a849952318be7cd3365be91c500e20185 (diff)
Update poem integration test to incorporate indent/dedent for indentation of poems. Move \end{poem} to previous line to make sure closing special tokens are treated correctly.
Diffstat (limited to 'testdata/integration/user_defined_syntax/poem.in.osml')
-rw-r--r--testdata/integration/user_defined_syntax/poem.in.osml8
1 files changed, 3 insertions, 5 deletions
diff --git a/testdata/integration/user_defined_syntax/poem.in.osml b/testdata/integration/user_defined_syntax/poem.in.osml
index f0deaba..f1986d9 100644
--- a/testdata/integration/user_defined_syntax/poem.in.osml
+++ b/testdata/integration/user_defined_syntax/poem.in.osml
@@ -16,9 +16,8 @@
\primitive[type=string]
\struct#indentation
\syntax
-% TODO: Fix this
-% \open{\indent}
-% \close{\dedent}
+ \open{\indent}
+ \close{\dedent}
\field
\childRef[ref=line]
\childRef[ref=indentation]
@@ -60,6 +59,5 @@ And sometimes like a gleaner thou dost keep
Where are the songs of Spring? Ay, where are they?
Think not of them, thou hast thy music too,—
While barred clouds bloom the soft-dying day,
- And touch the stubble-plains with rosy hue;
-\end{poem}
+ And touch the stubble-plains with rosy hue;\end{poem}
\end{document}