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] breaking long urls in pdf


Actually, you don't need to insert the spaces yourself, you can have the
stylesheet do it after each slash, using the ulink.hyphenate parameter:

http://docbook.sourceforge.net/release/xsl/current/doc/fo/ulink.hyphenate.html

You just enter the url attribute and leave the content blank.  Then the
displayed ulink will be hyphenated but the URL will not, and the stylesheet
will not treat them as different.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Cheryl Chase" <cheryl@isna.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, August 30, 2005 2:58 PM
Subject: [docbook-apps] breaking long urls in pdf


> I'm a new user of docbook and xep, working on formatting a medical book.
>
> I tried the "inserting zero-width spaces after slashes" trick to make
> my long urls break nicely in a pdf.
>
> Unfortunately, that caused xep to decide that, since the link text
> was now different from the link, it should display the link in square
> brackets following the link text. Like this:
>
>
> *** XML
>
> <para>For more information, see:
> <ulink url="http://www.hopkinschildrens.org/specialties/categorypages/
> intersex/">http://www.hopkinschildrens.org/&#x200b;specialties/
> &#x200b;categorypages/&#x200b;intersex/</ulink></para>
>
>
> *** PDF
>
> For more information, see: http://www.hopkinschildrens.org/
> specialties/categorypages/intersex/
> [http://www.hopkinschildrens.org/specialties/categorypages/intersex/]
>
> How can I suppress this behavior?
>
> Thanks,
>
> Cheryl
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>




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