I know that XEP can hyphenate within table cells.  I couldn't tell from your 
short example what is going on because the table columns are not specified.  I 
really got confused by "not even breaking lines".  Does that mean the text 
overrides the cell boundary?  Perhaps you could send me a complete fo table 
that exhibits the problem.

Bob Stayton
Sagehill Enterprises
[EMAIL PROTECTED]


  ----- Original Message ----- 
  From: Jeff Hooker 
  To: [email protected] 
  Sent: Wednesday, November 26, 2008 7:18 AM
  Subject: [docbook-apps] XREFs in table cells not hypenating


  Hi all,

  I'm using Docbook 5, Docbook XSL 1.73.2, and RenderX XEP. I've got the main 
hypenate parameter for my style sheets set to "true" and I've also hardcoded 
the hypenate="true" property into the inline element containing the output of 
the XREF element, and yet...not hypenating, not even breaking lines. Any ideas? 
A sample of the output FO is below:

      <fo:table-cell padding-left="2pt" padding-right="2pt" padding-top="2pt"
                                  padding-bottom="2pt" 
keep-with-previous="always"
                                  keep-with-next="always" wrap-option="wrap"
                                  border-bottom-width="0.5pt" 
border-bottom-style="solid"
                                  border-bottom-color="black" 
border-right-width="0.5pt"
                                  border-right-style="solid" 
border-right-color="black">
                                  <fo:block font-weight="bold" 
font-family="sans-serif"
                                      hyphenate="true" font-size="9pt" 
keep-with-next="always">
                                      <fo:block space-before.optimum="6pt" 
space-before.minimum="4pt"
                                          
space-before.maximum="8pt"><fo:basic-link
                                              internal-destination="ae122848">
                                              <fo:inline 
hyphenate="true">Section 3.1, "Write Request"</fo:inline>
                                          </fo:basic-link> or <fo:basic-link
                                              internal-destination="ae132805">
                                              <fo:inline 
hyphenate="true">Section 3.4, "Stripe Write Request"</fo:inline>
                                          </fo:basic-link></fo:block>
                                  </fo:block>
                              </fo:table-cell>

  Cheers,
  Jeff. 

Reply via email to