[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Re: Getting current section title in header?
The 'header.content.properties' attribute-set in param.xsl permits you to specify properties for the header text. You can specify the font family and weight there. If a long section title carries over to the next page, that must be a bug in the FO processor. What processor are you using? You may need to enlarge the table cells to fit large headings. Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Steinar Bang" <sb@dod.no> To: <docbook-apps@lists.oasis-open.org> Sent: Monday, January 26, 2004 6:16 AM Subject: [docbook-apps] Re: Getting current section title in header? > >>>>> 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/. > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]