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] bibliomisc/link, db5, pdf output


In db4.5 and using antennahouse FO formatter/xsl 1.75.2, to break urls I use

<xsl:param name="ulink.hyphenate">&#x2060;</xsl:param>

&#x2060; is word-joiner

I don't know if this works also in db5 and/or with other formatters/db
xsl versions.

You can get finer control on where to hypenate using
ulink.hyphenate.chars param.

Hope this helps.

__peppo

On Tue, Feb 8, 2011 at 1:54 PM, Dave Pawson <davep@dpawson.co.uk> wrote:
>
> The link is locked into an effective keep.within.line (bilio.xsl)
> because I have set hyphenation = false.
>
>
>  <fo:inline hyphenate="false"> [<fo:basic-link
>  external-destination="url(http://www.planalto.gov.br/ccivil_03/
>  Constituicao/constitui%C3%A7ao_compilado.htm)">http://www.planalto.gov.br/ccivil_03/
>  Constituicao/constitui%C3%A7ao_compilado.htm</fo:basic-link>]</fo:inline>.</fo:inline>
>  </fo:block>
>
>
> This makes for a very ugly print output with long uri's.
>
> <xsl:param name="ulink.hyphenate"></xsl:param>
> Seems not to cover this one?
>
> I think this is in xref.xsl?
>
> If I add a couple of thin-space characters they are being changed
> to <fo:leader leader-length="0.2em"/> which is a bit dirty IMHO?
>
>
> is
> <xsl:attribute-set name="xref.properties">
>  <xsl:attribute name="hyphenate">
>    <xsl:value-of select="'true'"/>
>  </xsl:attribute>
> </xsl:attribute-set>
>
> my only choice?
>
>
> TIA
>
>
>
>
>
> regards
> ------------------------
> Dave Pawson
> http://www.dpawson.co.uk
> XSLT, XSL-FO and docbook FAQ
>
>
>
> --
>
> regards
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
> ---------------------------------------------------------------------
> 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]