docbook-apps

Re: [docbook-apps] Problems customizing an article titlepage

  • 1.  Re: [docbook-apps] Problems customizing an article titlepage

    Posted 05-23-2012 18:04
    Hi David,
    An article differs from a book in that an article does not have a separate
    page-sequence for titlepage. For an article, the title appears on the same page as
    the body text, and so the titlepage information is included in the single
    page-sequence that uses the 'body' page-master. That's why your attempts to use
    titlepage-related features for book elements did not work.

    Since you cannot change the column count in the middle of a page-sequence, the
    titlepage information for an article needs to be wrapped in a fo:block element with
    span="all", which means to span all columns on the page. My book has a general
    discussion about spans:

    http://www.sagehill.net/docbookxsl/MultiColumns.html#PageColSpans

    You might also look at Dick Hamilton's customization for IEEE article format.

    In the case of headers and footers, you will need to customize the header.content,
    footer.content, head.sep.rule, and foot.sep.rule templates for the template parameter
    values of pageclass="body" and sequence="first" to turn those off.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net