[xep-support] Overlap of list item lable and content

From: John Maddock <john@johnmaddock.co.uk>
Date: Tue Mar 10 2009 - 09:52:20 PST

I have an ordered (numbered) list generated from Docbook XML, normally these
look just fine, but if a block within the list has a border around it, then
the border overlaps with the number of the list item. Is this expected
behavior? And if so any ideas on how the FO needs to be tweaked to avoid
the issue - hopefully I can work backwards from there to the Docbook/XSL
required!

The FO currently looks like this:

                    <fo:list-item id="id841370" space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
                      <fo:list-item-label end-indent="label-end()">
                        <fo:block>1.</fo:block>
                      </fo:list-item-label>
                      <fo:list-item-body start-indent="body-start()">
                        <fo:block>
                          <fo:block>
                            <fo:block id="id841372" border-color="#DCDCDC"
border-width="1px" border-style="solid" padding-left="0.2cm"
padding-right="0.2cm" padding-top="0.2cm" padding-bottom="0.2cm" widows="6"
orphans="40" font-size="9pt" hyphenate="true" wrap-option="wrap"
hyphenation-character="&#x21B5;" text-align="start"
space-before.minimum="0.8em" space-before.optimum="1em"
space-before.maximum="1.2em" space-after.minimum="0.8em"
space-after.optimum="1em" space-after.maximum="1.2em"
white-space-collapse="false" white-space-treatment="preserve"
linefeed-treatment="preserve" font-family="monospace,Symbol">
                              <fo:inline font-weight="bold">void</fo:inline>
<fo:inline id="id589937-bb"/>write(std::ostream &amp; rhs) ;
                            </fo:block>
                          </fo:block>
                        </fo:block>
                      </fo:list-item-body>
                    </fo:list-item>

Many thanks, John Maddock.

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Mar 10 10:06:59 2009

This archive was generated by hypermail 2.1.8 : Tue Mar 10 2009 - 10:07:07 PST