This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: Getting current section title in header?
- From: Steinar Bang <sb at dod dot no>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 26 Jan 2004 15:16:35 +0100
- Subject: [docbook-apps] Re: Getting current section title in header?
- Cancel-lock: sha1:XJzQnBmfKz1oPuGxAL5XG8rZu7U=
- Organization: Probably a good idea
- References: <87u12idi1y.fsf@home.lan> <87llnude5k.fsf@home.lan>
>>>>> Steinar Bang <sb@dod.no>:
> I haven't been able to verify it, because I've been caught up in
> trying to find out why I suddenly can't create non-draft PDF
> versions of my documents... (see a separate message to the list).
Putting the following in my local customization layer version of
header.content, gives me _close_ to the expected results:
<xsl:when test="$position='left'">
<!-- Same for odd, even, empty, and blank sequences -->
<fo:block>
<xsl:call-template name="draft.text"/>
</fo:block>
<fo:block>
<xsl:apply-templates select="." mode="titleabbrev.markup"/>
</fo:block>
<fo:block>
<fo:retrieve-marker retrieve-class-name="section.head.marker"
retrieve-position="first-including-carryover"
retrieve-boundary="page-sequence"/>
</fo:block>
</xsl:when>
But I get the following problems:
- The section title is displayed in a bold font. I would like the
same font that's used for the document title
- If the section title is too long to fit into the left table cell of
the header, it's continued into the header on the next page
I'm searching for solutions, but all helpful hints are appreciated.
Thanx!
- Steinar
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.