From 68e430c4ae9c5ed48a0cb06f957f03e88c1289c4 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 3 Apr 2015 01:07:45 +0200 Subject: 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. --- testdata/integration/user_defined_syntax/poem.in.osml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'testdata/integration/user_defined_syntax/poem.in.osml') 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} -- cgit v1.2.3