docbook-apps

  • 1.  Customizing title page for PDF

    Posted 03-25-2012 19:05
    I'm trying to create a custom title page for my docbook when converting it to PDF.

    When trying to generate an xsl template from a title page, I run the command (this just uses the default titlepage spec):

    xsltproc --output mytitlepage.xsl titlepage.xsl titlepage.templates.xml

    I got the titlepage.xsl and titlepage.templates.xml file from here http://docbook.sourceforge.net/release/xsl/current/fo/

    When I run this, mytitlepage.xsl is several hundred lines, but it is all empty lines. Can someone help with what I'm doing wrong?



  • 2.  Re: [docbook-apps] Customizing title page for PDF

    Posted 03-26-2012 06:33
    Yes, I see the same result when using fo/titlepage.xsl from the
    stylesheet distribution for example.

    However, if I use template/titlepage.xsl as described in
    http://www.sagehill.net/docbookxsl/TitlePageNewElems.html then I get
    an XSL stylesheet full of content.

    Hope it helps,
    Mark

    On Sun, Mar 25, 2012 at 9:05 PM, Jeff Storey
    <jeff.storey@nextcentury.com> wrote:
    > I'm trying to create a custom title page for my docbook when converting it
    > to PDF.
    >
    > When trying to generate an xsl template from a title page, I run the command
    > (this just uses the default titlepage spec):
    >
    > xsltproc  --output mytitlepage.xsl titlepage.xsl titlepage.templates.xml
    >
    > I got the titlepage.xsl and titlepage.templates.xml file from here
    > http://docbook.sourceforge.net/release/xsl/current/fo/
    >
    > When I run this, mytitlepage.xsl is several hundred lines, but it is all
    > empty lines. Can someone help with what I'm doing wrong?