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] Failing to resolve olinkdb.xml


Hi Paul,
The xref.properties attribute set is used for xref, link, ulink, and olink
when the olink destination is internal to the current document, in which
case it is behaving like an xref for modular content.  There is a separate
olink.properties attribute set for external olinks, based on the idea that
external links might need to be styled differently from internal links.

I never liked the idea that ulink uses xref.properties, but I didn't change
its behavior at the time.  But I've seen enough people need to make ulinks
look different that perhaps a separate att-set for ulinks is appropriate
too.  If you want them all the same, then you can define the att-set using
use-attribute-sets="xref.properties".

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Paul Moloney" <paul_moloney@hotmail.com>
To: "Bob Stayton" <bobs@sagehill.net>; <docbook-apps@lists.oasis-open.org>
Sent: Thursday, February 09, 2006 7:28 AM
Subject: Re: [docbook-apps] Failing to resolve olinkdb.xml


> Hi Bob,
>
> > 2.  It should work.  Can you peek inside the FO to see if the
> > text-decoration="underline" is added to the fo:basic-link that contains
> > the
> > generated text?  If it is, then your FO processor doesn't support it for
> > that font.
>
> I checked the FO file; it seems that xref.properties is only being applied
> correctly to ulinks, and not to olinks; see the following two examples
> below:
>
> ulink:
>
> The currency code must be a valid ISO 4217 code recognised by the
>     Java Currency type. See the ISO 4217 Wikipedia page at
> <fo:basic-link text-decoration="underline"
>
external-destination="url(http://en.wikipedia.org/wiki/ISO_4217)">http://en.
wikipedia.org/wiki/ISO_4217</fo:basic-link>
>
> olink:
>
> PaymentsPlus has been installed and configured as described in
>         <fo:basic-link external-destination="getting_started.pdf"
>         show-destination="replace">ChapterĀ 1, Installing
> PaymentsPlus</fo:basic-link> of the
>         <fo:inline font-style="italic">PaymentsPlus Getting Started
> Guide</fo:inline>
>
> Is this expected behavior? I would have thought xref.properties applies to
> cross-references
> of any type.
>
> Thanks,
>
> -pm
>
> http://oceanclub.blogspot.com
>
> "When you look in the mirror and despair and none of your
> clothes seem appropriate, relax, put the kettle on. It might suit
> you."
>
> ---------------------------------------------------------------------
> 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]