test/bookloupe/multi-line-illustration.tst
changeset 210 2d48e8cdda24
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/bookloupe/multi-line-illustration.tst	Wed Oct 02 09:14:33 2013 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +**************** INPUT ****************
     1.5 +[Illustration: One or more Caption lines
     1.6 +
     1.7 +One or more Sub-caption lines]
     1.8 +
     1.9 +[Illustration: The first line of a caption.
    1.10 +
    1.11 +A caption that contains balanced [square] brackets in a paragraph.]
    1.12 +
    1.13 +[Square brackets can be used to group several paragraphs.
    1.14 +
    1.15 +This will generate warnings as normal.]
    1.16 +
    1.17 +[Illustration: An ill-formed illustration might confuse.
    1.18 +
    1.19 +It generates warnings.] The opening and closing tags no longer match.
    1.20 +**************** WARNINGS ****************
    1.21 +<expected>
    1.22 +  <error>
    1.23 +    <at line="10"/>
    1.24 +    <at line="12"/>
    1.25 +    <at line="16"/>
    1.26 +    <text>Mismatched square brackets?</text>
    1.27 +  </error>
    1.28 +  <error>
    1.29 +    <at line="14"/>
    1.30 +    <text>Mismatched illustration tag?</text>
    1.31 +  </error>
    1.32 +</expected>