docbook-apps

  • 1.  Wrapping long ulink text in table entries

    Posted 05-24-2007 15:13
    Hi Everyone,

    I'm producing PDFs using the 1.69.1 stylesheets and FOP 0.20.5. I have
    a ulink with a long URL in a table entry. The ulink text does not
    wrap; instead, it continues across additional columns and disappears
    off the page.

    The relevant part of my XML is as follows:

    <entry>
    <note>
    <para>IBM suggests that you must run WebSphere Application Server as
    a root user. If you want to run the application server as a non-root
    user, see the following instructions from IBM:</para>
    <para>
    <ulink url="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.base.doc/info/aes/ae/trun_svr_nonroot.html">http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.base.doc/info/aes/ae/trun_svr_nonroot.html</ulink>
    </para>
    </note>
    </entry>


    I've set the ulink.hyphenate and ulink.hyphenate.chars parameters as follows:

    <xsl:param name="ulink.hyphenate">​</xsl:param>
    <xsl:param name="ulink.hyphenate.chars">. , /</xsl:param>

    The normal paragraph text in my table entries wraps correctly. Is
    there another parameter I need to set?

    Thanks,
    Mark

    --

    Mark Peters
    Senior Technical Writer
    Saba Software



  • 2.  Re: [docbook-apps] Wrapping long ulink text in table entries

    Posted 05-24-2007 17:10
    El Jueves, 24 de Mayo de 2007 17:13, Mark Peters escribió:

    > <ulink
    > url="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.we
    >bsphere.base.doc/info/aes/ae/trun_svr_nonroot.html">http://publib.boulder.ib
    >m.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.base.doc/info/aes/ae/t
    >run_svr_nonroot.html</ulink>

    It will work if you use an empty ulink, like:

    <ulink
    url="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.we
    bsphere.base.doc/info/aes/ae/trun_svr_nonroot.html"/>

    ulink.hyphenate is used to hyphenate URLs generated from @url attributes, not
    to hyphenate raw URLs found on the text flow.

    --
    Manuel Canales Esparcia
    Usuario de LFS nº2886: http://www.linuxfromscratch.org
    LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
    TLDP-ES: http://es.tldp.org



  • 3.  Re: [docbook-apps] Wrapping long ulink text in table entries

    Posted 05-24-2007 17:54
    Terrific! Thanks Manuel.

    Regards,
    Mark

    On 5/24/07, M.Canales.es <macana@macana-es.com> wrote:
    > El Jueves, 24 de Mayo de 2007 17:13, Mark Peters escribió:
    >
    > > <ulink
    > > url="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.we
    > >bsphere.base.doc/info/aes/ae/trun_svr_nonroot.html">http://publib.boulder.ib
    > >m.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.base.doc/info/aes/ae/t
    > >run_svr_nonroot.html</ulink>
    >
    > It will work if you use an empty ulink, like:
    >
    > <ulink
    > url="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.we
    > bsphere.base.doc/info/aes/ae/trun_svr_nonroot.html"/>
    >
    > ulink.hyphenate is used to hyphenate URLs generated from @url attributes, not
    > to hyphenate raw URLs found on the text flow.
    >
    > --
    > Manuel Canales Esparcia
    > Usuario de LFS nº2886: http://www.linuxfromscratch.org
    > LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
    > TLDP-ES: http://es.tldp.org
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >


    --

    Mark Peters
    Senior Technical Writer
    Saba Software