« Return to Thread: Customizing titlepage for chapter

Customizing titlepage for chapter

by spr :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: Customizing titlepage for chapter