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] | [Elist Home]


Subject: DOCBOOK-APPS: Head of Pages (PDF)


Hi list, I have quite long chapter titles and they get line-wrapped in 
the headline of the pages. Therefore I tried to change the table that
displays
them, but could not make it work. 
Below is the corresponding code snippet.
The table gets it's black border and the left cell has a red one, so I
am sure
that my code is used. The left cell still has a width of about a third
pages, 
though.
I use the 1.56.1 style, Saxon and FOP.


<xsl:template name="header.table">
  <xsl:param name="pageclass" select="''"/>
  <xsl:param name="sequence" select="''"/>
  <xsl:param name="gentext-key" select="''"/>

  <!-- default is a single table style for all headers -->
  <!-- Customize it for different page classes or sequence location -->

  <xsl:variable name="candidate">
    <fo:table table-layout="fixed" width="100%" border="2.0pt solid
black">
      <xsl:call-template name="head.sep.rule"/>
      <fo:table-column column-number="1" column-width="10%"/>
      <fo:table-column column-number="2" column-width="60%"/>
      <fo:table-column column-number="3" column-width="30%"/>
      <fo:table-body>
        <fo:table-row height="14pt">
          <fo:table-cell text-align="left"
                         relative-align="baseline"
                         display-align="before"
                         border="1.0pt solid red">
            <fo:block>*
            </fo:block>
          </fo:table-cell>


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


Powered by eList eXpress LLC