docbook-apps

Re: Customized Chapter Tile - Number not appearing

  • 1.  Re: Customized Chapter Tile - Number not appearing

    Posted 12-18-2006 17:16
    To answer my own question, I scrapped that and used the example from the
    "Chapter titles" section instead:

    http://www.sagehill.net/docbookxsl/TitleFontSizes.html

    I found I had to adapt it slightly and I'd be interested to know why. If I
    use as-is, I get the following FOP 0.25 error:

    [ERROR]
    file:/home/pmoloney/svn/pplus/docs/manuals/target/fo/paymentsplus_develo
    per_guide/paymentsplus_developer_guide.fo:31:18835 The id "d0e26" already
    exists
    in this document

    The workaround is to remove the id setting from the label; i.e, replace:

    <fo:block id="{$id}" xsl:use-attribute-sets="chap.label.properties">

    with:

    <fo:block xsl:use-attribute-sets="chap.label.properties">

    Any ideas why FOP throws an error with the example?

    Thanks,

    P.