Add '3rd-party/xfpt/' from commit '24eaa721effcf2f56d1da62344ee27ac9721d3ec'
[exim.git] / 3rd-party / xfpt / testing / outfiles / 01
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
3 <book>
4 <chapter revisionflag="changed">
5 <title>First chapter</title>
6 <titleabbrev>abbrev</titleabbrev>
7 <para>
8 This is text before the first section.
9 </para>
10 <section>
11 <title>First section</title>
12 <para>
13 <indexterm>
14 <primary>primary</primary>
15 <secondary>secondary</secondary>
16 </indexterm>
17 <indexterm id="ID" class="startofrange">
18 <primary>range</primary>
19 </indexterm>
20 This is the text of the first section.
21 We are going to have an index in the middle of a paragraph.
22 <indexterm>
23 <primary>primary two</primary>
24 <secondary>secondary two</secondary>
25 </indexterm>
26 This is the rest of the paragraph.
27 </para>
28 </section>
29 <section>
30 <title>Second section</title>
31 <para>
32 This is the text of the second section. Here&#x2019;s a reference to
33 chapter <xref linkend="CHAPsecond"/>. Here are some entities, both local and default:
34 &amp;abcd; is ABCD; &amp;amp is &amp;.
35 </para>
36 </section>
37 </chapter>
38
39 <chapter id="CHAPsecond">
40 <title>Second chapter</title>
41 <para>
42 This is the second chapter. Test a block quote:
43 <indexterm>
44 <primary>visions</primary>
45 <see>sights</see>
46 </indexterm>
47 <indexterm>
48 <primary>noises</primary>
49 <secondary>off</secondary>
50 <seealso>sounds</seealso>
51 </indexterm>
52 </para>
53 <blockquote revisionflag="changed">
54 <para revisionflag="changed">
55 All the world&#x2019;s a stage, and all the men and women merely players. They have
56 their exits and their entrances, and one man in his time plays many parts.
57 </para>
58 </blockquote>
59 <itemizedlist revisionflag="changed">
60 <listitem>
61 <para revisionflag="changed">
62 This is the first item in an itemized list.
63 </para>
64 <para revisionflag="changed">
65 There is more than one paragraph.
66 </para>
67 </listitem>
68 <listitem>
69 <para revisionflag="changed">
70 This is the second item in an itemized list.
71 </para>
72 </listitem>
73 </itemizedlist>
74 <orderedlist numeration="arabic" revisionflag="changed">
75 <listitem>
76 <para revisionflag="changed">
77 Now we have an ordered list.
78 </para>
79 <para revisionflag="changed">
80 Again more than one paragraph.
81 </para>
82 </listitem>
83 <listitem>
84 <para revisionflag="changed">
85 The second item.
86 </para>
87 </listitem>
88 <listitem>
89 <para revisionflag="changed">
90 The third item
91 </para>
92 </listitem>
93 </orderedlist>
94 <para revisionflag="changed">
95 <indexterm startref="ID" class="endofrange"/>
96 </para>
97 <orderedlist numeration="lowerroman">
98 <listitem>
99 <para>
100 Try lower case roman numerals.
101 </para>
102 <itemizedlist>
103 <listitem>
104 <para>
105 Try a nested list.
106 </para>
107 </listitem>
108 <listitem>
109 <para>
110 next
111 </para>
112 </listitem>
113 </itemizedlist>
114 <para>
115 back in the first of the ordered.
116 </para>
117 </listitem>
118 <listitem>
119 <para>
120 the next
121 </para>
122 </listitem>
123 </orderedlist>
124 <para revisionflag="changed">
125 This is a normal text paragraph.
126 </para>
127 <literallayout revisionflag="changed">
128 This is a display where the font
129 should be normal
130 even recognizing <emphasis>italic</emphasis> and stuff
131 but the
132 layout is literal
133 </literallayout>
134 <literallayout class="monospaced">
135 This, however is a code paragraph
136 where &amp;'italic'&amp; everything except
137 &lt;angle&gt; brackets is totally literal,
138 and &amp; is no longer a flag.
139 </literallayout>
140 <para>
141 And now we are back to a <emphasis role="bold">normal</emphasis> paragraph again.
142 </para>
143 <informaltable frame="none">
144 <tgroup cols="2" colsep="0" rowsep="0">
145 <tbody>
146 <row>
147 <entry>1</entry>
148 <entry>2</entry>
149 </row>
150 <row>
151 <entry>3</entry>
152 <entry>4</entry>
153 </row>
154 </tbody>
155 </tgroup>
156 </informaltable>
157 <informaltable frame="all">
158 <tgroup cols="3" colsep="1" rowsep="1">
159 <colspec colwidth="1*" align="left"/>
160 <colspec colwidth="2*" align="center"/>
161 <colspec colwidth="3*" align="right"/>
162 <tbody>
163 <row>
164 <entry>1</entry>
165 <entry>2</entry>
166 <entry>3</entry>
167 </row>
168 <row>
169 <entry>4</entry>
170 <entry>5</entry>
171 <entry>6</entry>
172 </row>
173 </tbody>
174 </tgroup>
175 </informaltable>
176 <variablelist>
177 <varlistentry>
178 <term><emphasis role="bold">First</emphasis></term>
179 <listitem>
180 <para>
181 This is a paragraph about the first item.
182 </para>
183 <para>
184 In fact, here is a second paragraph.
185 </para>
186 </listitem></varlistentry>
187 <varlistentry>
188 <term><emphasis role="bold">Second</emphasis></term>
189 <listitem>
190 <para>
191 And now we have the second item.
192 </para>
193 </listitem></varlistentry>
194 </variablelist>
195 <para>
196 The quick brown fox
197 jumps over the lazy dog.
198 </para>
199 <!--this should be--> <para>
200 completely untouched
201 .not even dot lines
202 .endxmliphant
203 are touched
204 </para>
205 <para>
206 whereas this should note concats
207 &lt;and stuff&gt;
208 Test &copy; and &#1234; and &#x4dc4; for size.
209 </para>
210 <para>
211 Check &#x2018;quote&#x2019; marks. And &#x2018;&#x2018;doublequote&#x2019;&#x2019; marks.
212 </para>
213 <para>
214 This is a paragraph
215 where things happen over multiple
216 lines.
217 </para>
218 <para>
219 Test some of the standard flags <emphasis>italic</emphasis> and <emphasis role="bold">bold</emphasis> text and
220 <literal>literal</literal> text and <filename>filename</filename> in text and <quote>quoted</quote> text and
221 we have &amp; and &ndash; as single replacements.
222 </para>
223 <para>
224 abcd
225 </para>
226 <para>
227 the X line 1
228 </para>
229 <para>
230 the X line 2
231 </para>
232 <para>
233 the B line
234 the X line 3
235 </para>
236 <para>
237 This is text after the macro definition.
238 This is the first line of the macro abcd.
239 This is the second line. Contains a dollar ($) character.
240 </para>
241 <para>
242 First line.
243 Insert args: 1="default 1" 2="default-2" 3=""
244 First line.
245 Insert args: 1="set 1" 2="default-2" 3=""
246 First line.
247 Insert args: 1="set1" 2="set2" 3=""
248 First line.
249 Insert args: 1="set1" 2="set2" 3="set 3"
250 </para>
251 <para>
252 Always.
253 There is no second argument.
254 Always.
255 If arg1: setarg1
256 There is no second argument.
257 Always.
258 If arg1: setarg1
259 If arg2: setarg2
260 </para>
261 <literallayout class="monospaced">
262 Inside literal text, unknown directives
263 .like this one
264 should be passed as data
265 </literallayout>
266 <literallayout>
267 <literal>&amp;m1(1,2)        </literal>  |1 2|
268 <literal>&amp;m1(1)          </literal>  |1 two|
269 <literal>&amp;m1()           </literal>  |one two|
270 <literal>&amp;m1("a(,b)")    </literal>  |a(,b) two|
271 <literal>&amp;m1("a(,b)", c) </literal>  |a(,b) c|
272
273 <literal>&amp;m2()           </literal>  |three|
274 <literal>&amp;m2(a)          </literal>  |a|
275 <literal>&amp;m2(a,b)        </literal>  |ab|
276
277 <literal>&amp;m2("&amp;m1(x,y)")        </literal>  |x y|
278 <literal>&amp;m2("&amp;m1(x,y)", 3, 4)  </literal>  |x y34|
279 </literallayout>
280 <para>
281 URL <emphasis role="bold"><ulink url="http://etc">http://etc</ulink></emphasis> and another <emphasis role="bold"><ulink url="http://etc">text</ulink></emphasis> and so on.
282 </para>
283 <para revisionflag="changed">
284 This is a paragraph marked new with .new/.wen.
285 </para>
286 <literallayout>
287 The first line in a display.
288 <phrase revisionflag="changed">This line is between .new/.wen.
289 </phrase>Another line.
290 </literallayout>
291 <literallayout class="monospaced">
292 The first line in a code section.
293 <phrase revisionflag="changed">This line is between .new/.wen.
294 </phrase>Another line.
295 </literallayout>
296 <literallayout>
297 A
298 <phrase revisionflag="changed">B
299 </phrase>C
300 </literallayout>
301 <literallayout>
302 A
303 <phrase revisionflag="changed">ZZZ</phrase>
304 C
305 </literallayout>
306 <literallayout class="monospaced">
307 A
308 <phrase revisionflag="changed">B
309 </phrase>C
310 </literallayout>
311 <literallayout class="monospaced">
312 A
313 &amp;&lt;phrase revisionflag="changed"&gt;&amp;ZZZ&amp;&lt;/phrase&gt;&amp;
314 C
315 </literallayout>
316 <literallayout>
317 A
318 B <phrase revisionflag="changed">BB</phrase> BBB
319 C
320 </literallayout>
321 <literallayout class="monospaced">
322 A
323 B &amp;new(BB) BBB
324 C
325 </literallayout>
326 <literallayout>
327 FOUR "1" "2" "3" "4"
328 END NOT FOUR
329 ------------
330 NOT FOUR
331 THREE "1" "2" "3"
332 END NOT FOUR
333 ------------
334 NOT FOUR
335 NOT THREE "1" "2"
336 END NOT FOUR
337 ------------
338 NOT FOUR
339 NOT THREE "1" ""
340 END NOT FOUR
341 ------------
342 NOT FOUR
343 NOT THREE "" ""
344 END NOT FOUR
345 </literallayout>
346 <para>
347 Test footnotes. The quick brown fox
348 <footnote>
349 <para>
350 Note?
351 </para>
352 </footnote>
353 jumps
354 <footnote>
355 <literallayout>
356 Display in footnote.
357 </literallayout>
358 </footnote>
359 over the lazy
360 <footnote>
361 <informaltable frame="all">
362 <tgroup cols="3" colsep="1" rowsep="1">
363 <colspec colwidth="1*" align="left"/>
364 <colspec colwidth="2*" align="center"/>
365 <colspec colwidth="3*" align="right"/>
366 <tbody>
367 <row>
368 <entry>1</entry>
369 <entry>2</entry>
370 </row>
371 <row>
372 <entry>3</entry>
373 <entry>4</entry>
374 </row>
375 </tbody>
376 </tgroup>
377 </informaltable>
378 </footnote>
379 dog.
380 </para>
381 <para>
382 Another paragraph
383 <footnote>
384 <para>
385 First para in footnote.
386 </para>
387 <para>
388 Second para in footnote.
389 </para>
390 </footnote>
391 with some footnotes
392 <footnote>
393 <para>
394 This foot note will have text
395 </para>
396 <literallayout class="monospaced">
397 and a display
398 </literallayout>
399 </footnote>
400 in various forms.
401 </para>
402 <literallayout>
403 How about a footnote in a display?
404 <footnote>
405 <para>
406 This is the note.
407 </para>
408 </footnote>
409 Back in the display.
410 </literallayout>
411 <?sdop toc_sections="no" ?>
412 <para>
413 Here is a reference to figure <xref linkend="FIGfirst"/>.
414 </para>
415 <figure id="FIGfirst">
416 <title>This is the first figure</title>
417 <mediaobject><imageobject>
418 <imagedata fileref="eps1.eps" >
419 </imagedata></imageobject></mediaobject>
420 </figure>
421 <para>
422 Here is another reference to figure <xref linkend="FIGfirst"/>. We also have
423 figure <xref linkend="FIGsecond"/> below.
424 </para>
425 <figure id="FIGsecond">
426 <title>The second figure</title>
427 <mediaobject><imageobject>
428 <imagedata fileref="eps1.eps"  scale="80" align="centre">
429 </imagedata></imageobject></mediaobject>
430 </figure>
431 <table id="TAB123" >
432 <title>this is title</title>
433 <tgroup cols="2" colsep="" rowsep="">
434 <colspec colwidth="1*" align="left"/>
435 <colspec colwidth="1*" align="left"/>
436 <tbody>
437 <row>
438 <entry>AAA</entry>
439 <entry>BBB</entry>
440 </row>
441 <row>
442 <entry>CCC</entry>
443 <entry>DDD</entry>
444 </row>
445 </tbody>
446 </tgroup>
447 </table>
448 <para>
449 A ref to table <xref linkend="TAB123"/>. Now check quotes: &#x2018;normal&#x2019; should be changed
450 to typographic ones. In <literal>literal text, `they' shouldn't be</literal> changed.
451 </para>
452 <literallayout class="monospaced">
453 Check `quoted' in literal monospaced block.
454 </literallayout>
455 <literallayout>
456 But in a literal block that is &#x2018;not monospaced&#x2019; ...
457 <literal>Check it's ok</literal> when &#x2018;in the same line&#x2019;.
458 </literallayout>
459 <para>
460 Extra checks on the use of .nonl.
461 ABCDEFGH should be joined on
462 NONL</para>
463 <para>
464 At the end of a paragraph? It just puts &lt;/para&gt; on the same line.
465 </para>
466 <para>
467 At the start of a paragraph should work too.
468 </para>
469 <literallayout>
470 What about in a display?
471 Use NONLWITH more stuff
472 </literallayout>
473 </chapter>
474
475 <index>
476 <title>Index</title>
477 </index>
478
479 </book>