docbook-apps

  • 1.  SOLVED - Re: [docbook-apps] blank lines when trying to generate custom titlepage with xsltproc

    Posted 12-10-2010 21:55
    Hi Bob,
    DOH! I was doing this:

    xsltproc --output /tmp/blah.xsl
    /usr/share/xml/docbook/stylesheet/docbook-xsl/html/titlepage.xsl
    titlepage.templates.xml

    instead of:

    xsltproc --output /tmp/blah.xsl
    /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl
    titlepage.templates.xml

    html/titlepage.xsl vs template/titlepage.xsl.

    I thought 'template' meant which template; html or fo, rather than
    actual 'template'.

    thanks!
    Matt

    On Fri, Dec 10, 2010 at 10:23 AM, Bob Stayton <bobs@sagehill.net> wrote:
    > Hi,
    > I can't see what is going wrong from the information you provided.  When I
    > cd to docbook-xsl-1.76.1 and execute this command:
    >
    >  xsltproc -o myfile.xsl  template/titlepage.xsl  fo/titlepage.templates.xml
    >
    > I get a "myfile.xsl" that is identical to fo/titlepage.templates.xsl.  Does
    > it work when you process the original spec file?  Can you provide more
    > details of what you tried?
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >


  • 2.  Re: [docbook-apps] SOLVED - Re: [docbook-apps] blank lines when trying to generate custom titlepage with xsltproc

    Posted 12-11-2010 06:32
    On Fri, 10 Dec 2010 14:55:11 -0700
    Matt Dew <matt@osource.org> wrote:

    > Hi Bob,
    > DOH! I was doing this:
    >
    > xsltproc --output /tmp/blah.xsl
    > /usr/share/xml/docbook/stylesheet/docbook-xsl/html/titlepage.xsl
    > titlepage.templates.xml
    >
    > instead of:
    >
    > xsltproc --output /tmp/blah.xsl
    > /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl
    > titlepage.templates.xml
    >
    > html/titlepage.xsl vs template/titlepage.xsl.
    >
    > I thought 'template' meant which template; html or fo, rather than
    > actual 'template'.


    I doubt if you are the only one to be caught out like that.
    Not sure what to suggest as an alternative name, but I
    find it confusing.






    --

    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk



  • 3.  RE: [docbook-apps] SOLVED - Re: [docbook-apps] blank lines when trying to generate custom titlepage with xsltproc

    Posted 12-11-2010 17:39
    generate-custom-titlepage.xsl or something?

    > I doubt if you are the only one to be caught out like that.
    > Not sure what to suggest as an alternative name, but I
    > find it confusing.