OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]