<?xml version="1.0"?>
<!DOCTYPE simpdoca SYSTEM "simpdoca.dtd"
[
<!ENTITY nl "&#x0A;">
]>

<simpdoca>
  <section>
  <subsect1 id="front-page">
      <!-- one of (p p2 p3 list points table box link subsect2) -->
      <head id="fp">An XSL-FO Exampler.</head>
      <p style="banner">W3C Candidate Recommendation 21 November 2000</p>
      <p style="banner">Author Dave Pawson, http://www.dpawson.co.uk</p>
      <p style="banner">December 2000</p>
    </subsect1>
  </section>
 <!-- one of (p p2 p3 list points table box link section) -->
 <section id="intro">
  
    <subsect1>
      <head>Section 1, Introduction</head>
 
    <p style="normal">This document is still being developed. Please be patient!</p>
      <p style="normal">What I'm trying to do is develop some fairly easy to understand pages which demonstrate how to achieve certain layout styles, using XSL-FO. These files, XML, XSL (main and pages) use fairly simple template matches on various paragraphs and sections of the source document to show how to achieve a range of visual effects. You will need to read both the stylesheets, and look at the XML source to see how it all fits together. These files are linked from near the end of this page.</p>
      <p style="normal">The messy bit at the moment, December 2000, is the pages.xsl stylesheet, which is included from the main stylesheet. I  show how sections  of the source document, can be laid out landscape (please excuse the Western orientation) in two columns, section 4 is laid out portrait in two columns, and the remainder of the document is normal portait layout. The file has quite a large amount of comment which should help with usage. </p>
      <p style="normal">The file pages.xsl contains two main elements within the main fo:root element. Remember that this file is included with the remainder, so you can ignore the stylesheet element. The primary ones of interest are:</p>

      <p style="pre2">
fo:root
  fo:layout-master-set

  fo:page-sequence
/fo:root
</p>
      <p style="normal">The layout-master-set is the bit where you say how big your paper is, and how big the margins are. This is the page-master element. You will need one of these for each different page class you want to be created. I've created one for the front page, one each for portrait and landscape two column, and one for the rest of the document. It also contains any sequencing of pages, using the page-sequence-master element(s). I haven't seriously used that yet (December 2000). The fo:page-sequence element(s) - I have used this extensively - tell the processor what you want to put on the pages. I've used a named template since this is very repetative. Basically thats it for this document. The details are messy, but thats it in outline. </p>
      <p style="normal">The rest of this document is a series of elements which demonstrate various things you can do with XSL-FO. In order to use it, there could even be some system of approach.</p>
      <subsect2>
	<!-- one of (p p2 p3 list points table box link idx subsect3) -->
	<head>How to use this document</head>
	<p style="normal">The basic approach is to seek what you want to do, then look for it either in the stylesheet, or the xml document styles, or simply look for a visual example in the formatted output, then search for the style which generated it. You might note that each p element, for example, has an attribute which indicates the style in use. Mostly, the stylesheet has a template match on an element and its attribute, then generates an appropriate fo:something which generates that visual format. For instance, this paragraph has an attribute 'style', which has a value 'normal'. In the stylesheet (foxsl.xsl), you will find a template which matches on p[style="normal"], and generates this particular style.  </p>
	<p style="normal">One other item. My particular customer group have varying needs in terms of font-size, hence I have a single variable, &lt;xsl:variable name="base-font">12&lt;/xsl:variable>, and then all other sizes are generated from multiplying that value by a magnification factor to obtain the size I need. See, for example, variable and values for base-font-spec. </p>
	<p style="normal">The only outstanding error is the use of markers, which I haven't figured out yet. You may note that the supposedly unshown fo:marker value is showing in the headers! If you know how it works, please tell me!  </p>
<rule thickness="2mm" length="75%" id="rule"/>

      </subsect2>
    </subsect1>

<subsect1>
  <!-- one of (p p2 p3 list points table box link subsect1) -->
  <head>Basic Paragraph formatting.</head>
  <p style="normal">First para which is without any embellishments. No attributes set, simply an fo:block encapsulating the content.
  </p>
  <p style="indented">This paragraph is indented as a whole, using the text-indent attribute. This pushes the whole paragraph over by the amount specified. </p>
  <p style="space-before" id="sb">This paragraph is isolated from its preceeding ones using the space-before attribute. There are three values specified,  space-before.minimum, space-before.optimum  and  space-before.maximum. There use is as their name. The distance should preferably be the optimum, and in any case no less than the minimum nor more than the maximum.  Minimally use the space-before.optimum. Additional related aspects are space-before.precedence and space-before.conditionality. The default initial values are space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0.  The precedence tells the processor how important it is to you, the author and the conditionality, which can take values of retain or discard. </p>
  <p style="hanging" id="hang">This is commonly known as a hanging paragraph. It is obtained by specifying two attributes, the start indent and a negative text-indent. The result is that the first line hangs out over the remaining lines, which have the similar characteristic to the previous paragraph. Just for the sake of clarity, I also use a previous attribute with this paragraph, as I shall with all following ones. Done via the use of xsl:use-attribute-sets="para", which I hope you will come to enjoy using, since it encapsulates the depravity of XSL and its wealth of attributes. In setting up basic parameters for the fo:block element in an attribute set I can then re-use it, and modify it, with one single change.  </p>
  <p style="rt-indent" id="ei">Just to show that it can be done, this one has an end-indent set, one inch from the right side of the body region. Thats one imperial inch. Just to show that it can be done. Just to show that it can be done, this one has an end-indent set, one inch from the right side of the body region. Thats one imperial inch. Just to show that it can be done.</p>
    </subsect1>
  <subsect1>
   <!-- one of (p p2 p3 list points table box link subsect2) -->
   <head>Paragraph content alignment</head>
   <p style="normal">This set of paragraphs shows the alignment capability of XSL. This one has no specification for alignment, hence it aligns towards the start side, which for lrtb, left to right, top to bottom, is the left side of the page.</p>

   <p style="end-align" id="ea">This paragraph has the text-align attribute set to end. Hence its attributes read text-align="end"  xsl:use-attribute-sets="para". This should show the capabilities with respect to the right margin. I had to add some padding to the end direction simply to make it stand off from the right border. This attribute is specified with padding-end="6pt" </p>
   <p style="centred" id="cen">This paragraph is centred. To show it up, its not very long.</p>
   <p style="centred"> When I fill out the paragraph with more text, the effect is less noticable, other than at the margins of the text. Sufficient text with an appropriate length could produce an effect which is little different from a left justified paragraph. A litte more does show it up.</p>
   <p style="justified">Justified text shows up even better when it is squeezed up with an indentation at the start and end. Thats what is added to this paragraph to enable justification to be exemplified. I added  start-indent="0.5in" end-indent="0.5in" to this one to show it up.
   </p>
  

  </subsect1>
  <subsect1>
   <head>Padding.</head>

   <p style="normal">In order to show up padding, I'm using
		   a border around the block. This is set
		   with the attributes border-color="blue"
		   border-style="solid"
		   border-width="0.5pt". Again I use an attribute set for this.</p>

   <p style="padding" id="pad">This paragraph has the general attribute padding set to 12pt. This paragraph has the general attribute padding set to 12pt. This paragraph has the general attribute padding set to 12pt. This paragraph has the general attribute padding set to 12pt. This paragraph has the general attribute padding set to 12pt.</p>

   <p style="indent" >To block a paragraph out as being laid out as one might for a quote, a number of options are available. Its possible to modify the start-indent, end-indent. This paragraph is set off by modifying the border-start and border-end properties. Initially I simply did that, and noticed no effect. It works as shown when I created an invisible border, by specifying border-style and border color, which I set to white, hence it doesn't show. For appearance sake, I've added a text-align="justify".</p>
      <p style="indent" id="ind">A word of caution. Be aware of the spec at para 5.3.2</p>
      <p style="quote" id="q">The formulae for calculating the computed value of the
"start-indent", and "end-indent" properties are as follows
(where "margin-corresponding" is a variable for the
corresponding absolute "margin" property):

end-indent = margin-corresponding + padding-end + border-end-width 
start-indent = margin-corresponding + padding-start + border-start-width 

If an absolute "margin" property is not explicitly
specified, these equations determine a computed value for
the corresponding "margin" property given values for the
three traits corresponding-indent, padding-corresponding and
border-corresponding width. </p>

<p style="normal">What this
means is that although in normal word processing
applications, the start-indent may simply add padding to the
start of some content, its slightly different in XSL-FO. The
total value of the indent from the margin to the start of
actual content is called the start-indent, but is made up of
space-start, border-start and padding-start. Therefore, (in
"lr-tb" writing-mode) margin-left = start-indent -
padding-start - border-start-width. Think about that
one. The stylesheet for this para does not have start-indent
set, it simply augments the padding start at the start and
end points, leaving the start-indent to be calculated. Until
I learn a better technique, I'll stick to this method of
indentation. </p> <p style="bal-indent" id="bi">Finally this is a
simple paragraph with a start-indent and end-indent set to
one inch, simply adding the para attribute set to show this
form being done this way.</p>

<p style="pre1" id="pre1">This para has the properties suitable for a pre-formatted
output. The shorthand version is white-space="pre", the
fuller version is

                   wrap-option="no-wrap"
                   white-space-collapse="false"
                   linefeed-treatment="preserve"

      </p>

      <p style="pre2">This para uses a different
      combination.    The white-space property is set to


      nowrap, </p><p style="pre2">whereby  whitespace is not respected,  and
      new elements  used to provide line breaks, </p>


  </subsect1>
  <subsect1>
   <!-- one of (p p2 p3 list points table box link subsect2) -->
   <head>In-line elements.</head>
   <p style="justified"> There are quite a few variants on the in-line element theme. I simply want to provide enough to interest you in what can be done, then to go and read the WD to find out what else can be done. </p>

   <p style="justified">This block of text is decorated in
   various ways. The first one is <style style="bold"
   id="b">bold</style>, followed by <style style="italic"
   id="it">italic</style>, <style style="underline"
   id="u">underline</style>, <style id="ol" style="overline">a + b</style> (called overline) and <style style="strikethrough"
   id="sth">strikethrough </style> - which happens to be called
   line-through for some strange reason. And it is a
   text-decoration attribute. I've changed the line-height property on the overline inline element, just to show it up more clearly. You may realise that
   no mention has been made of fonts. I guess that you can
   figure that out for yourself. Just to show that it can be
   done </p>

   <p style="justified" id="jp"><style style="big">T</style>his is simply to show that font size is easy to change. There are numerous way of arranging the manner in which the varieties of text can be arranged. </p>
      <p style="normal">Fonts can be changed using the font-family attribute on either a block or an inline element, for example <style style="helvetica">Helvetica</style> or <style style="courier">Courier</style>, <style style="arial">Arial (defined as the default for this document)</style> and <style style="serif">Serif </style>. Then we can use monospace <style style="mono">which produces a mono spaced typeface which may or may not stand out within other text</style> </p>
  </subsect1>
 </section>
 <section id="sect2">
  <head id="lst">Section 2. Lists.</head>
    <subsect1>
      <head>Simple lists.</head>
      <p style="normal">Plain straightforward lists aren't too bad.</p>
      <list style="plain">
	<litem style="plain">List item One</litem>
	<litem style="plain">List item Two</litem>
	<litem style="plain">List item Three</litem>
    </list>
    <p>The Structure is <b>unusual</b>, to say the least, having a number of wrapper elements.  </p>
    <p>The outer wrapper is <b>fo:list-block.</b></p>
    <p>Next in is a <b>fo:list-item</b>, for every item.</p>
    <p>Then each item has a two part wrapper, of <b>fo:list-item-label</b> and <b>list-item-body</b>. These are seperate children of fo:list-item. Note also that the actual list item contents needs a block wrapper.</p>
    <p>Remember:</p>
    <p indent="5mm">&lt;fo:list-block&gt;</p>
    <p indent="7.5mm">&lt;fo:list-item&gt;</p>
    <p indent="10mm">&lt;fo:list-item-label&gt;</p>
    <p indent="12.5mm">&lt;fo:block&gt;&amp;#x2022; (&#x2022;)&lt;/fo:block></p>
   
    <p indent="10.0mm">&lt;/fo:list-item-label></p>
    <p indent="10.0mm">&lt;fo:list-item-body></p>
    <p indent="12.5mm">&lt;fo:block> Whatever is in the list&lt;/fo:block></p>
    <p indent="10.0mm">&lt;/fo:list-item-body></p>
    <p indent="7.5mm">&lt;/fo:list-item></p>
    <p indent="5.0mm">&lt;/fo:list-block></p>

 <p>Note that I've used the Unicode value for the bullet, which is code point 2022 hexadecimal. </p>
      <p>So thats the simplest form of list. No seperation, nothing fancy, just a plain bullet marker. In the example given above, I've simply indented it, using the start-indent property on the fo:list-block.</p>
</subsect1>

    <subsect1>
      <!-- one of (p p2 p3 list points table box link subsect2) -->
      <head id="numl">Numbered lists.</head>
      <p style="keep-with-next">Remember good old XSLT? Thats where your numbers come from.</p>

      <list >
	<litem style="numbered">List item One</litem>
	<litem style="numbered">List item Two</litem>
	<litem style="numbered">List item Three</litem>
      </list>
    </subsect1>
    <subsect1>
      <p id="nl">Nested lists are just as simple. Nest them as lists within list items. </p>


      <list>
	<litem style="numbered">Outer element 1</litem>
	<litem style="numbered">Outer element 2
        <list>
	  <litem style="numbered">Inner element 1</litem>
	  <litem style="numbered">Inner element 2</litem>
        </list></litem>
        <litem style="numbered">Outer element 3</litem>
      </list>
      <p style="plain">Numbering with nested lists is a little trickier. All that is needed is the depth, for single level numbering, is to use the form &lt;xsl:number level="multiple" count="litem" from="list"/&gt;. Alignment is done by the formatter. Simple. </p>
      <p style="normal">We can get fancy with lists, using the various seperation attributes. See the XSL-FO specification, Extensible Stylesheet Language (XSL)
Version 1.0
W3C Candidate Recommendation 21 November 2000 &#x00A7; 6.8.1., where you will find a diagram explaining all the various distances you can play with.</p>

      


    </subsect1>
    <subsect1>
      <head id="dec">Other decorations... and things.</head>
      <p style="normal">For Tables of contents and things, leader lines are rather nice to have, to aid the user in aligning content with page numbers.</p>
      <p style="normal">This is achieved using an empty element, &lt;fo:leader /&gt;</p>
      <p style="normal">For tables of contents or indexes, where page references are used, try &lt;fo:leader leader-pattern="dots"/&gt;
&lt;fo:page-number-citation ref-id="intro"/&gt;, or whatever the page-number is that you want to refer to. The example below shows this in use. Note that for the very first section, I've added an id value to the fo:block which is first generated. This now reads  &lt;fo:block id="intro". This is done in the stylesheet, not in the XML document. But you knew that, didn't you? In order to make this more source related, you could use the id value of the source document by doing the following: </p>
<p style="pre2">  &lt;xsl:if test="@id='intro'"&gt;
    &lt;fo:block  id="intro"/&gt;
  &lt;/xsl:if&gt;
</p>
<p style="normal" id="norm">I've used ordinary dot leaders, which may appear as a solid line until magnified by zooming in, if you are not printing this.</p>
<leaders id="ldr"/>

      <p style="normal">Simple internal links within the document are possible. As an example I can link to  <style style="int-link" idref="intro" id="il"/> with no trouble, using the &lt;fo:basic-link&gt; element, with the &lt;fo:page-number-citation&gt; following it, to produce the page number of the target. I've wrapped the actual page-number in an inline and coloured it to indicate that it may be active. In XEP2 it is, and links back to page 2, as stated.</p>


      <p style="normal">Other decorations which are available are base font changes, achieved using either the block or in-line containers. Since I've not used them yet, Here goes: <style style="times" id="times">Times font, 16 point, bold</style>. Colour (no, thats not misspelled!) may be changed for individual characters, using &lt;fo:inline color="red"&gt;R&lt;/fo:inline&gt;ed, for instance, as in 
<style style="red">T</style>his example. </p>
      <p style="line-height" id="lh">Other items which can be tweaked are line-height, using the line-height="2", for instance, to get double line spacing for those printers and publishers to use for their pretty red pencils. We can make tiny steps towards pleasing David Carlisle by having superscript, such as x<style style="super" id="super">2</style>, using the &lt;fo:inline baseline-shift="10%"&gt;. I've used a percentage, but there is an attribute value of 'super' which apparently puts it in the right place,  but if you want to go in that direction, try PassiveTex from Sebastian Rahtz.</p>
    </subsect1>

    <subsect1>
      <head>Markers.</head>
      <p style="normal">Markers sort of wrap content for later use in headers. As of today I can't get them to work. I'll try and find out more.</p>
    </subsect1>


    <subsect1>
      <!-- one of (p p2 p3 list points table box link subsect2) -->
      <head>Images.</head>
    </subsect1>
    <p style="plain" id="norm">Images are included fairly simply. </p>
<figure>
      <img src="serpentj.jpg" id="img"/>
      <caption> &#x00A9; Aries Cheung 2000. All rights reserved</caption>
 </figure>
 </section>
  <section id="sect3">
    <head>Section 3. Two column layout - Landscape.</head>
<p style="col-justified">This is called up directly from the pages.xsl stylesheet. Rather than use the normal way of utilising the master specifications, I've simply applied templates selecting the third section, using apply-templates select = "section[3]". This is to demonstrate column usage. A bulk filler is used to pad out the columns, since I have a break before property set to page on each new section.</p>


<p style="col-justified"> 
A couple of points worthy of note. The ninety degree rotation is counter clockwise, to get the layout shown here. This is specified with the property reference-orientation="90".  In order to get the header and footer 'right', I had to rename the regions I used, which for portrait, were using the region before and after, here I'm using the region-start and region-end. It does make sense, since the page hasn't changed, simply the orientation. Note that graphics can be utilised just the same as previously. 


    </p><p style="col-justified"> Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout.<figure> <img2 src="pig.gif"/><caption>The Pig Image, with padding-before and padding-after, of 1cm</caption></figure> Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. </p>

  </section>
  <section id="sect4">
    <head>Section 4, Two columns,  portrait.</head>
  
    <p style="col-justified" id="jc">
      This is more normal column layout. Two columns, laid out in a portrait manner, with bulk text to show the arrangement.</p><p style="col-justified"> Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout.<figure> <img2 src="pig.gif" id="ic"/><caption>The Pig Image, with padding-before and padding-after, of 1cm</caption></figure> Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.Plain text layout. Plain text layout.</p>
  </section>
  <section>
    <head>Section 5, Tables</head>
    <p style="normal">I very occasionally find print tables of use, but for some reason I can never get excited by them. Excuse me if this isn't particularly complete, I'll probably get bored before you find anything of real use. Anyway, here goes.</p>
    <p style="normal">Firstly then, a plain table, decorated only with borders, which assist in showing the layout. I think these properties should be self-evident. Have a look at the template for table, style='plain'.</p>
    <table style="plain" id="table">
      <tablebody>
	<row>
	  <di>Row 1, column 1</di>
	  <di>Row 1, column 2</di>
	  <di>Row 1, column 3</di>
	  <di>Row 1, column 4</di>
	  <di>Row 1, column 5</di>
	</row>
<row>
	  <di>Row 2, column 1</di>
	  <di>Row 2, column 2</di>
	  <di>Row 2, column 3</di>
	  <di>Row 2, column 4</di>
	  <di>Row 2, column 5</di>
	</row>
<row>
	  <di>Row 3, column 1</di>
	  <di>Row 3, column 2</di>
	  <di>Row 3, column 3</di>
	  <di>Row 3, column 4</di>
	  <di>Row 3, column 5. Just to show how well they show up, I'm adding more text in this cell, to show how the wrapping occurs, and the formatter takes care of almost everything.</di>
	</row>
      </tablebody>
    </table>

    <p style="keep-with-next" id="kwn">Table headers are taken care of well, but note that they are a child of table, not a child of table-body, as in this particular DTD, so I had to tweak the stylesheet to obtain the right sequence of processing. Since mostly, we don't want tables to span pages, I've set the property page-break-inside to 'avoid' for the element fo:table. This ensures that the table appears on a single page. I've set a property on this page, keep-with-next.within-page, to always, but xep2 appears not to support it, and Antenna House actually splits the table, which I requested it not to. Xep2 keeps the second table on the same page, but loses the paragraph which I want to keep with it. I'll update this para as and when I find out more. For the time being, I have added the property break-before='page' to the style for all paragraphs styled 'keep-with-next'. Its probably more along the lines of what I wanted anyway!</p>
  <table style="plain" >
      <tablebody>
	<colheads>
	  <chead>Column 1 Head</chead>
	  <chead>Column 2 Head</chead>
	  <chead>Column 3 Head</chead>
	  <chead colspan="2">Column 4 Head, spanning two columns</chead>
	</colheads>
	
<row>
	  <di>Row 2, column 1</di>
	  <di>Row 2, column 2</di>
	  <di>Row 2, column 3</di>
	  <di>Row 2, column 4</di>
	  <di>Row 2, column 5</di>
	</row>
<row>
	  <di>Row 3, column 1</di>
	  <di>Row 3, column 2</di>
	  <di>Row 3, column 3</di>
	  <di>Row 3, column 4</di>
	  <di>Row 3, column 5. </di>
	</row>
<row>
	  <di>Row 4, column 1</di>
	  <di>Row 4, column 2</di>
	  <di>Row 4, column 3</di>
	  <di>Row 4, column 4</di>
	  <di>Row 4, column 5</di>
	</row>
      </tablebody>
    </table>

    <p style="normal">Variable width columns are reasonably easy.</p>

  <table style="var-width"/>
      
  </section>
  <section>
    <head>Last Section , An Index.</head>
    <p style="normal">Manually generated, Tex is the only system I've seen that can do a good job of an index. Let's see what XSL-FO can do.</p>

    <idx>
      <item idref="front-page">Background Image</item>
      <item idref="b">Bold</item>
      <item idref="cen">Centred text</item>
      <item idref="sect4">Columns</item>
      <item idref="dec">Decorations to in-lines</item>
      <item idref="ea">End aligned</item>
      <item idref="ei">End indentation</item>
      <item idref="jp">Font change examples</item>
      <item idref="front-page">Front Page</item>
      <item idref="hang">Hanging paragraphs</item>
      <item idref="fp">Headings</item>
      <item idref="img">Image</item>
      <item idref="ic">Image with caption</item>
      <item idref="front-page">Image as background</item>
      <item idref="ind">Indented</item>
      <item idref="bi">Indented and balanced</item>
      <item idref="il">Internal Links</item>
      <item idref="it">Italic</item>
      <item idref="jc">Justified Columns</item>
      <item idref="jp">Justified paragraphs</item>
      <item idref="kwn">Keep-with-next</item>
      <item idref="sect3">Landscape pages</item>
      <item idref="ldr">Leaders (dot leaders)</item>
      <item idref="lh">Line Height</item>
      <item idref="lst">Lists</item>
      <item idref="nl">Nested Lists</item>
      <item idref="numl">Numbered lists</item>
      <item idref="ol">Overline decoration</item>
      <item idref="pad">Padding</item>
      <item idref="norm">Paragraphs, normal style</item>
      <item idref="pre1" >Pre-formatted paragraphs</item>
      <item idref="q">Quotations</item>
      <item idref="rule">Rule Lines</item>
      <item idref="sb">Space before</item>
      <item idref="sth">Strike-through</item>
      <item idref="super">Superscript</item>
      <item idref="table">Tables</item>
      <item idref="times">Times font </item>
      <item idref="u">Underlined</item>
    </idx>


  </section>

</simpdoca>

