Re: [xep-support] Underlined hyperlinks in PDF output

From: Togan Muftuoglu (
Date: Wed Jan 08 2003 - 09:05:58 PST

  • Next message: Kenneth J. Hughes: "[xep-support] Ant <xslfo/> task?"

    * Paul A. Hoadley; <> on 08 Jan, 2003 wrote:
    >I'm using Norm Walsh's XSL stylesheets to generate XSLFO from Docbook
    >XML. XEP produces fine PDFs (via the PDF backend or PS then ps2pdf),
    >with all hyperlinks included (e.g. from TOC into the text, and to
    >targets of <link> tags), but they are all indistinguishable from
    >normal text. I'm not sure where in the toolchain I can specify the
    >format of hyperlinks (for example, underlining or alternate colours)
    >in the final PDF, though I can't find it in the Docbook stylesheet
    >parameters. Is this something I can specify with XEP?
    >Thanks for any advice.

    This is what I have in my custom template it works for XEP and FOP

    <!--colored and hyphenated links -->
    <xsl:template match="ulink">
    <fo:basic-link external-destination="{@url}"
            <xsl:when test="count(child::node())=0">
            <xsl:value-of select="@url"/>

    Togan Muftuoglu
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Wed Jan 08 2003 - 09:01:06 PST