OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] <code> breaking (or not)


On 22.1.2012 19:18, Tony Graham wrote:

> Is there a way to get the content of <code> to be able to break after '.'
> using the FO stylesheets?

You can try adding the following template into your customization:

<xsl:template match="code/text()">
  <xsl:call-template name="hyphenate-url">
   <xsl:with-param name="url" select="."/>
  </xsl:call-template>
</xsl:template>

and set ulink.hyphenate and ulink.hyphenate.chars accordingly.

				Jirka


-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]