]> granicus.if.org Git - docbook-dsssl/commitdiff
A <screen> that has 20+ callouts. Useful for testing rendering of
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 7 Oct 2005 01:34:14 +0000 (01:34 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 7 Oct 2005 01:34:14 +0000 (01:34 +0000)
callout bugs that go above 10 (or 15).

testdocs/tests/calloutlist.002.xml [new file with mode: 0644]

diff --git a/testdocs/tests/calloutlist.002.xml b/testdocs/tests/calloutlist.002.xml
new file mode 100644 (file)
index 0000000..8abf29d
--- /dev/null
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+          "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: calloutlist.001</title>
+<subtitle>A screen with 20+ callouts</subtitle>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<author><firstname>Norman</firstname><surname>Walsh</surname>
+        <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
+</author>
+</articleinfo>
+
+<para>Callouts using <sgmltag>co</sgmltag>:</para>
+
+<screen>
+(let <co id="dl1"/>loopvar <co id="dl2"/>((count 1))
+  <co id="dl3"/>(if (> count 10)
+    <co id="dl4"/>#t
+    (<co id="dl5"/>loopvar <co id="dl6"/>(+ count 1))))
+
+(let <co id="dl7"/>loopvar <co id="dl8"/>((count 1))
+  <co id="dl9"/>(if (> count 10)
+    <co id="dl10"/>#t
+    (<co id="dl11"/>loopvar <co id="dl12"/>(+ count 1))))
+
+(let <co id="dl13"/>loopvar <co id="dl14"/>((count 1))
+  <co id="dl15"/>(if (> count 10)
+    <co id="dl16"/>#t
+    (<co id="dl17"/>loopvar <co id="dl18"/>(+ count 1))))
+
+(let <co id="dl19"/>loopvar <co id="dl20"/>((count 1))
+  <co id="dl21"/>(if (> count 10)
+    <co id="dl22"/>#t
+    (<co id="dl23"/>loopvar <co id="dl24"/>(+ count 1))))</screen>
+
+<calloutlist>
+<callout arearefs="dl1">
+<para>This variable controls the loop. It is declared without an
+initial value, immediately after the <literal>let</literal>
+operand.</para>
+</callout>
+<callout arearefs="dl2">
+<para>Any number of additional local variables can be defined after
+the loop variable, just as they can in any other
+<literal>let</literal> expression.</para>
+</callout>
+<callout arearefs="dl3">
+<para>If you ever want the loop to end, you have to put some sort of a
+test in it.</para>
+</callout>
+<callout arearefs="dl4">
+<para>This is the value that will be returned.</para>
+</callout>
+<callout arearefs="dl5">
+<para>Note that you iterate the loop by using the loop variable as if
+it was a function name.</para>
+</callout>
+<callout arearefs="dl6">
+<para>The arguments to this function are the values that
+you want the local variables declared in <xref linkend="dl2"/> to have
+in the next iteration.</para>
+</callout>
+<callout arearefs="dl7">
+<para>This variable controls the loop. It is declared without an
+initial value, immediately after the <literal>let</literal>
+operand.</para>
+</callout>
+<callout arearefs="dl8">
+<para>Any number of additional local variables can be defined after
+the loop variable, just as they can in any other
+<literal>let</literal> expression.</para>
+</callout>
+<callout arearefs="dl9">
+<para>If you ever want the loop to end, you have to put some sort of a
+test in it.</para>
+</callout>
+<callout arearefs="dl10">
+<para>This is the value that will be returned.</para>
+</callout>
+<callout arearefs="dl11">
+<para>Note that you iterate the loop by using the loop variable as if
+it was a function name.</para>
+</callout>
+<callout arearefs="dl12">
+<para>The arguments to this function are the values that
+you want the local variables declared in <xref linkend="dl2"/> to have
+in the next iteration.</para>
+</callout>
+<callout arearefs="dl13">
+<para>This variable controls the loop. It is declared without an
+initial value, immediately after the <literal>let</literal>
+operand.</para>
+</callout>
+<callout arearefs="dl14">
+<para>Any number of additional local variables can be defined after
+the loop variable, just as they can in any other
+<literal>let</literal> expression.</para>
+</callout>
+<callout arearefs="dl15">
+<para>If you ever want the loop to end, you have to put some sort of a
+test in it.</para>
+</callout>
+<callout arearefs="dl16">
+<para>This is the value that will be returned.</para>
+</callout>
+<callout arearefs="dl17">
+<para>Note that you iterate the loop by using the loop variable as if
+it was a function name.</para>
+</callout>
+<callout arearefs="dl18">
+<para>The arguments to this function are the values that
+you want the local variables declared in <xref linkend="dl2"/> to have
+in the next iteration.</para>
+</callout>
+<callout arearefs="dl19">
+<para>This variable controls the loop. It is declared without an
+initial value, immediately after the <literal>let</literal>
+operand.</para>
+</callout>
+<callout arearefs="dl20">
+<para>Any number of additional local variables can be defined after
+the loop variable, just as they can in any other
+<literal>let</literal> expression.</para>
+</callout>
+<callout arearefs="dl21">
+<para>If you ever want the loop to end, you have to put some sort of a
+test in it.</para>
+</callout>
+<callout arearefs="dl22">
+<para>This is the value that will be returned.</para>
+</callout>
+<callout arearefs="dl23">
+<para>Note that you iterate the loop by using the loop variable as if
+it was a function name.</para>
+</callout>
+<callout arearefs="dl24">
+<para>The arguments to this function are the values that
+you want the local variables declared in <xref linkend="dl2"/> to have
+in the next iteration.</para>
+</callout>
+</calloutlist>
+
+</article>