This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] BridgeHead as xref-target


Regarding the renderas attribute in bridgeheads, you should take a look
at the match="bridgehead" template in fo/sections.xsl.  You'll see
that a bridgehead is handled with the 'section.heading' template,
with a heading level chosen based on its container element.  In general,
it computes the container section level and adds 1.  If the bridgehead
is not in a section element, then the bridgehead level is considered to be
2.
I think that is to prevent it from being confused with an actual
level 1 heading, I suppose.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Thomas Gier" <thomas.gier@imperia.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, January 23, 2004 2:26 AM
Subject: Re: [docbook-apps] BridgeHead as xref-target


> Bob Stayton wrote:
> > Works for me.  What version of the stylesheets are you using?
> Sorry. Forgot to mention. It's 1.62.4.
>
> > Did you validate your document?  Can you peek inside the FO
> Yes. There were some errors but nothing relevant to bridgehead and/or
> xref. After fixing those errors the problem remains.
>
> > file to see if the id attribute makes it in there?
> The attribute makes it to the xref but not to the bridgehead.
>
> Strange. I'm not changing the bridgehead template but many other
> templates. And I'm not using the renderas attribute on bridgeheads -
> well, I tried for one but with no effect on my problem.
>
> This leads me to the question what layout attributes bridgehead inherits
> when "renderas" is not set?
>
> It's definitely something with my customisation layer because when I
> switch it off everything works fine. This needs more testing on my side.
> Sorry for wasting your time, Bob
>
>
> Cheers
> --
> Thomas Gier
> Technical Writer
>
> Cologne/Germany
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]