[xep-support] no keep.with.next with rx:page-index extension

Alexander Peshkov peshkov at renderx.com
Fri Aug 20 06:09:28 PDT 2004


Hello Bob,

I was able to reproduce the problem and we are going to investigate
it. Thanks for your report!

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX

BS> I'm formatting an index, using the rx:page-index extension as implemented in
BS> the DocBook XSL stylesheets.  For long index entries that wrap to the next
BS> line, I would like to keep the last word of the index entry with the page
BS> numbers.  So I put this between the last word of the index entry and the
BS> <rx:page-index> element:

BS>  <fo:leader leader-length="4pt"  keep-with-next.within-line="always"
BS> keep-with-previous.within-line="always"/>

BS> My expectation is that the index entry text would break between words
BS> earlier in the line to put the last word with the page numbers on the next
BS> line.

BS> But it doesn't seem to work.  That is, the line breaks between the last word
BS> of the entry and the page number. If I replace the fo:leader with a
BS> nonbreaking space, that also does not work.
BS> Is there something in <rx:page-index> that cancels the keep?  I can supply a
BS> sample fo file if that would help.

BS> Bob Stayton
BS> Sagehill Enterprises
BS> DocBook Consulting
BS> bobs at sagehill.net



BS> -------------------
BS> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
BS> in the body of the message to majordomo at renderx.com from the address
BS> you are subscribed from.
BS> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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/tos.html



More information about the Xep-support mailing list