[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] db 5, para formatting, fo output
Dnia poniedziaĆek, 25 lipca 2011 o 17:22:00 davep napisaĆ(a): > On 07/25/2011 03:41 PM, davep wrote: > > Attached (if it gets through) the horrible looking result when > > justification is on and the line includes a url of any length. > > 1. I'd like to have justified text (param alignment='justified'), but > > if it contains a url... > > (Yes, not easy) > > or > > 2. How to persuade the formatter to hyphenate url's at / or similar to > > make it look better? > > Using xep > > Half a solution > > <xsl:template match="d:link"> > <xsl:copy> > <xsl:copy-of select="@*"/> > <xsl:value-of select="replace(.,'/','/​')"/> > </xsl:copy> > </xsl:template> > What is the purpose of including such long URL in a printed document? Do you expect your readers to actually type it (without errors) when it is wider than the printed page? Puzzledly Chris
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]