← Prev in month ← Prev in thread
Next in thread → Next in month →

[docbook-apps] Customizing titlepage for chapter

From
spr <>
Date
2008-05-05T13:20:48+00:00
ID
Thread
[docbook-apps] Customizing titlepage for chapter
Hi,

I have 2 problems at hand:

1) The chapter title-page appears on the odd-page, but the content starts on
even page.
   Though I would like content to start on the odd-page (param double.sided
is set to "1").

2) Though I have specified the revision history for the chapter to appear on
"verso" page,
   there is no "verso" page being generated. The revision history appears
before on table of
   contents the chapter title page.

I have customized the title-page spec to put the revision history in the
"verso" page as below:

  <t:titlepage
    t:element    = "chapter"
    t:wrapper    = "fo:block"
    font-family  = "{$title.fontset}">
    <t:titlepage-content
      t:side       = "recto"
      margin-left  = "{$title.margin.left}">
      <title
        t:named-template = "component.title"
        param:node       = "ancestor-or-self::chapter[1]"
        font-size        = "20pt"
        font-weight      = "bold"/>
      <subtitle
        space-before     = "0.5em"
        font-style       = "italic"
        font-size        = "14pt"
        font-weight      = "bold"/>
      <abstract />
      <author
        space-before     = "0.5em"
        space-after      = "0.5em"
        font-size        = "14pt"/>
      <copyright />
      <pubdate />
    </t:titlepage-content>

    <t:titlepage-content
      t:side       = "verso">
      <releaseinfo />
      <revision />
      <revhistory />
    </t:titlepage-content>

    <t:titlepage-separator>
      <fo:block
        break-after = "page" />
    </t:titlepage-separator>

    <t:titlepage-before
      t:side  = "recto">
    </t:titlepage-before>

    <t:titlepage-before
      t:side  = "verso">
    </t:titlepage-before>

  </t:titlepage>

Any pointers on what could be going wrong?

~spr

-----
~spr
-- 
View this message in context: http://www.nabble.com/Customizing-titlepage-for-chapter-tp17061492p17061492.html
Sent from the docbook apps mailing list archive at Nabble.com.
← Prev in month ← Prev in thread
Next in thread → Next in month →