This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]