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] suddenly, strange behaviour with "header.content" in PDF file


  (i'm not sure this started immediately after i upgraded to 1.61.1
stylesheets, but i just moved up to 1.61.2 to play it safe and the
problem is still there.)

  until now, when i generated my final PDF, i've had, at the top
of each page, the chapter name in small (10pt) type, and so far,
it's worked fine.  suddenly, it's not working so fine anymore.

  the ToC is still fine -- the top of each page has a 10pt
"Fundamentals of Red Hat Linux", as it's supposed to.  but
starting with the first chapter, the header is now just that
page's section name in full 16pt bold (matching exactly the
section name on that page, which is kind of redundant, if you
catch my drift).

  i haven't changed my stylesheet entry for header.content,
the important part is still

<xsl:attribute-set name="header.content.properties">
 <xsl:attribute name="font-size">10pt</xsl:attribute>
</xsl:attribute-set>


and it's what i've been using for quite some time.  as i mentioned,
this works fine for generating the header in the ToC, but once
the chapters start, it's back to 16pt bold.

  i grabbed the first example out of the FO file, which is

      <fo:block break-after="page">&#xA0;</fo:block>
      <fo:block id="id2596104">
        <fo:block>
          <fo:block>
            <fo:block keep-together="always" margin-left="0pc" font-family="sans-serif">
              <fo:block keep-with-next.within-column="always">
                <fo:block font-family="sans-serif" font-weight="bold" keep-with-next.within-column="always" space-before.minimum="0.8em" space-before.optimum="1.0em" space-before.maximum="1.2em">
                  <fo:marker marker-class-name="section.head.marker">The components of a computer system</fo:marker>
                  <fo:block font-size="16pt">1.1.&#xA0;The components of a computer system</fo:block>
                </fo:block>
              </fo:block>
            </fo:block>
          </fo:block>
          <fo:block/>
        </fo:block>

notice that the "section.head.marker" is just the name of that section --
"The components of a computer system", and not the name of the chapter,
which is "Getting started" (if i'm reading this correctly).

  should i have expected this?  do i have to explicitly set a stylesheet
parameter to get the earlier behaviour?  that being, the chapter name as
the centered, 10pt header content on each page in that chapter.

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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