This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] suddenly, strange behaviour with "header.content"in PDF file
- From: "Robert P. J. Day" <rpjday at mindspring dot com>
- To: Bob Stayton <bobs at sco dot com>
- Cc: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 29 May 2003 17:06:03 -0400 (EDT)
- Subject: Re: [docbook-apps] suddenly, strange behaviour with "header.content"in PDF file
On Thu, 29 May 2003, Bob Stayton wrote:
> The large bold font size is not correct. Sounds like a bug
> in FOP.
>
> The section title content is the expected behavior when
> the double.sided parameter is set. You get the chapter
> title for single sided output.
>
> You can put whatever you like in the headers by customizing
> the 'header.content' template. Here is the relevant code
> from the standard version:
>
> <xsl:when test="($sequence='odd' or $sequence='even') and $position='center'">
> <xsl:if test="$pageclass != 'titlepage'">
<!--
> <xsl:choose>
> <xsl:when test="ancestor::book and ($double.sided != 0)">
> <fo:retrieve-marker retrieve-class-name="section.head.marker"
> retrieve-position="first-including-carryover"
> retrieve-boundary="page-sequence"/>
> </xsl:when>
> <xsl:otherwise>
-->
> <xsl:apply-templates select="." mode="titleabbrev.markup"/>
<!--
> </xsl:otherwise>
> </xsl:choose>
-->
> </xsl:if>
> </xsl:when>
ok, i just grabbed the template and added the comments as above,
works fine, thanks.
now i just have to figure out that weirdness with the suddenly
enlarged, bold headers when doublesided = 0. as you said, probably
a FOP issue.
rday
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org