docbook-apps

  • 1.  FOP processing of repeated soft hyphen

    Posted 03-17-2014 03:13
    I am using the hyphenate-url template to wrap text in my tables:

    <xsl:template match="d:entry//text()|d:td//text()|d:entry/d:para//text()">
    <xsl:call-template name="hyphenate-url">
    <xsl:with-param name="url" select="."/>
    </xsl:call-template>
    </xsl:template>

    and my ulink.hyphenate.chars includes the period character(.)

    In one of my tables, the text is a relative path (../directory), i.e. one
    of the ulink.hyphenate.chars is repeated. FOP is putting hard hyphenation
    characters there. Has anyone else encountered this and if so, is it just a
    limitation of FOP? Any ideas for workarounds?

    Nat



  • 2.  Re: FOP processing of repeated soft hyphen

    Posted 03-17-2014 03:45
    Ah I can see that there is a FOP bug lodged for this:
    https://issues.apache.org/jira/browse/FOP-2239


    On Mon, Mar 17, 2014 at 2:12 PM, natk <nkershaw@gmail.com> wrote:

    > I am using the hyphenate-url template to wrap text in my tables:
    >
    > <xsl:template
    > match="d:entry//text()|d:td//text()|d:entry/d:para//text()">
    > <xsl:call-template name="hyphenate-url">
    > <xsl:with-param name="url" select="."/>
    > </xsl:call-template>
    > </xsl:template>
    >
    > and my ulink.hyphenate.chars includes the period character(.)
    >
    > In one of my tables, the text is a relative path (../directory), i.e. one
    > of the ulink.hyphenate.chars is repeated. FOP is putting hard hyphenation
    > characters there. Has anyone else encountered this and if so, is it just a
    > limitation of FOP? Any ideas for workarounds?
    >
    > Nat
    >