Can't change style of retrieve-marker in header

View: New views
3 Messages — Rating Filter:   Alert me  

Can't change style of retrieve-marker in header

by rmatthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

While tinkering with the header.content template I hit upon a problem where I can't control the style used to render a retrieve-marker.  As the example shows below I can demonstrate the problem by outputting text and the marker text.  But when rendered the header shows the text in a plain style while the marker is shown in bold.

          <xsl:when test="$position='left'">
                <xsl:if test="$pageclass != 'titlepage'">
                      <xsl:text>Section - </xsl:text>
                                  <fo:retrieve-marker retrieve-class-name="section.head.marker"
                                          retrieve-position="first-including-carryover"
                                          retrieve-boundary="page-sequence"/>
                </xsl:if>
              </xsl:when>

What I really want to do is change the style that the marker is output as, but I can't seem to find anything that will change it; I have managed to change the rest of the header but not the marker.

Thanks in anticipation.

Robert Matthews

Re: Can't change style of retrieve-marker in header

by Bob Stayton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I"m not able to duplicate this problem with the current stylesheets using
either XEP or FOP 0.94.  My section titles come out as normal text in the
headers.  Can you describe your toolsetup a bit?

Bob Stayton
Sagehill Enterprises
bobs@...


----- Original Message -----
From: "rmatthews" <rmatthews@...>
To: <docbook-apps@...>
Sent: Thursday, March 13, 2008 11:06 AM
Subject: [docbook-apps] Can't change style of retrieve-marker in header


>
> Hi
>
> While tinkering with the header.content template I hit upon a problem
> where
> I can't control the style used to render a retrieve-marker.  As the
> example
> shows below I can demonstrate the problem by outputting text and the
> marker
> text.  But when rendered the header shows the text in a plain style while
> the marker is shown in bold.
>
>   <xsl:when test="$position='left'">
>         <xsl:if test="$pageclass != 'titlepage'">
>               <xsl:text>Section - </xsl:text>
>   <fo:retrieve-marker retrieve-class-name="section.head.marker"
>
> retrieve-position="first-including-carryover"
>                                   retrieve-boundary="page-sequence"/>
>         </xsl:if>
>       </xsl:when>
>
> What I really want to do is change the style that the marker is output as,
> but I can't seem to find anything that will change it; I have managed to
> change the rest of the header but not the marker.
>
> Thanks in anticipation.
>
> Robert Matthews
> --
> View this message in context:
> http://www.nabble.com/Can%27t-change-style-of-retrieve-marker-in-header-tp16034551p16034551.html
> Sent from the docbook apps mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@...
> For additional commands, e-mail: docbook-apps-help@...
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...


Re: Can't change style of retrieve-marker in header

by rmatthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for checking this out.

I am building our documentation through Maven using the Docbkx plugin version 2.0.6.  This is using fop 0.20.x.  Updating to 2.0.8 causes 0.94 to be used.  There is now a problem with my stylesheet that I must look into first.

Regards
Robert Matthews


Bob Stayton wrote:
Hi,
I"m not able to duplicate this problem with the current stylesheets using
either XEP or FOP 0.94.  My section titles come out as normal text in the
headers.  Can you describe your toolsetup a bit?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message -----
From: "rmatthews" <rmatthews@nakedobjects.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, March 13, 2008 11:06 AM
Subject: [docbook-apps] Can't change style of retrieve-marker in header


>
> Hi
>
> While tinkering with the header.content template I hit upon a problem
> where
> I can't control the style used to render a retrieve-marker.  As the
> example
> shows below I can demonstrate the problem by outputting text and the
> marker
> text.  But when rendered the header shows the text in a plain style while
> the marker is shown in bold.
>
>   <xsl:when test="$position='left'">
>         <xsl:if test="$pageclass != 'titlepage'">
>               <xsl:text>Section - </xsl:text>
>   <fo:retrieve-marker retrieve-class-name="section.head.marker"
>
> retrieve-position="first-including-carryover"
>                                   retrieve-boundary="page-sequence"/>
>         </xsl:if>
>       </xsl:when>
>
> What I really want to do is change the style that the marker is output as,
> but I can't seem to find anything that will change it; I have managed to
> change the rest of the header but not the marker.
>
> Thanks in anticipation.
>
> Robert Matthews
> --
> View this message in context:
> http://www.nabble.com/Can%27t-change-style-of-retrieve-marker-in-header-tp16034551p16034551.html
> Sent from the docbook apps mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org