docbook-apps

  • 1.  Re: [docbook-apps] XHTML titlepage customization

    Posted 11-08-2007 16:53
    Hi,
    It seems the xhtml directory should get a copy of the
    titlepage.templates.xml file to be complete, but it would just be a copy,
    so you can use the one from html.

    I'm not able to duplicate the problem you are seeing. Do you get those
    errors if you make no changes to the titlepage.templates.xml file before
    processing it? If not, then some of your edits must be triggering them, so
    we would need to see what the changes were.

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net


    ----- Original Message -----
    From: "Mads Ipsen" <mpi@atomistix.com>
    To: <docbook-apps@lists.oasis-open.org>
    Sent: Tuesday, November 06, 2007 1:30 AM
    Subject: [docbook-apps] XHTML titlepage customization


    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > Hi,
    >
    > Trying to set up a titlepage configuration for XHTML generated output.
    > The XSL package, however, does contain any titlepage.templates.xml file
    > in the xhtml directory. Is there an explanation for this?
    >
    > Anyway, decided to use the titlepage.templates.xml provided in the html
    > directory instead, and then use the setup/approach as described in
    >
    > http://www.sagehill.net/docbookxsl/HTMLTitlePage.html
    >
    > This apparently works, at least in the sense that things are positioned
    > and used as expected from the elements added within
    >
    > <book>
    > <info>
    > stuff
    > </info>
    > </book>
    >
    > However, when I process my files, I get the warning
    >
    > No template for "/book/info" (or any of its leaves) exists
    > in the context named "title" in the "en" localization.
    >
    > Changing <info> to <bookinfo> just changes the above error to
    >
    > No template for "/book/bookinfo" (or any of its leaves) exists
    > in the context named "title" in the "en" localization.
    >
    > Still, the generated XHTML looks OK, but still - I don't like errors nor
    > warnings things they typically imply that something is wrong.
    >
    > BTW. Did a similar setup for FO, but there everything works just fine
    > for the same set of DocBook input.
    >
    > Best regards,
    >
    > Mads
    >
    >
    >
    >
    >
    > - --
    > +---------------------------------+-------------------------+
    > | Mads Ipsen | |
    > | Product Support Specialist | phone: +45-35320630 |
    > | Atomistix A/S | fax: +45-35320635 |
    > | Juliane Maries Vej 30 | |
    > | DK-2100 Copenhagen | mpi@atomistix.com |
    > +---------------------------------+-------------------------+
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.4.6 (GNU/Linux)
    > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
    >
    > iD8DBQFHMDQiUiXEzEUa8LARAgRJAKCMtBzlOg7fD5lRJxjmCTV/fMiQLgCcCwAM
    > 4zdj1Ed0BwK+6saO7fhW2Zk=
    > =KEJ5
    > -----END PGP SIGNATURE-----
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >





  • 2.  Re: [docbook-apps] XHTML titlepage customization

    Posted 11-12-2007 09:27
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Bob Stayton wrote:
    > Hi,
    > It seems the xhtml directory should get a copy of the
    > titlepage.templates.xml file to be complete, but it would just be a
    > copy, so you can use the one from html.

    OK, at least I managed to point out something useful.

    >
    > I'm not able to duplicate the problem you are seeing. Do you get those
    > errors if you make no changes to the titlepage.templates.xml file before
    > processing it? If not, then some of your edits must be triggering them,
    > so we would need to see what the changes were.

    In fact, it turned out that the root of the problem was located
    elsewhere (some silly template in the cust. layer - so my own bad).
    Sorry about this.

    >
    > Bob Stayton
    > Sagehill Enterprises
    > DocBook Consulting
    > bobs@sagehill.net
    >
    >
    > ----- Original Message ----- From: "Mads Ipsen" <mpi@atomistix.com>
    > To: <docbook-apps@lists.oasis-open.org>
    > Sent: Tuesday, November 06, 2007 1:30 AM
    > Subject: [docbook-apps] XHTML titlepage customization
    >
    >
    > Hi,
    >
    > Trying to set up a titlepage configuration for XHTML generated output.
    > The XSL package, however, does contain any titlepage.templates.xml file
    > in the xhtml directory. Is there an explanation for this?
    >
    > Anyway, decided to use the titlepage.templates.xml provided in the html
    > directory instead, and then use the setup/approach as described in
    >
    > http://www.sagehill.net/docbookxsl/HTMLTitlePage.html
    >
    > This apparently works, at least in the sense that things are positioned
    > and used as expected from the elements added within
    >
    > <book>
    > <info>
    > stuff
    > </info>
    > </book>
    >
    > However, when I process my files, I get the warning
    >
    > No template for "/book/info" (or any of its leaves) exists
    > in the context named "title" in the "en" localization.
    >
    > Changing <info> to <bookinfo> just changes the above error to
    >
    > No template for "/book/bookinfo" (or any of its leaves) exists
    > in the context named "title" in the "en" localization.
    >
    > Still, the generated XHTML looks OK, but still - I don't like errors nor
    > warnings things they typically imply that something is wrong.
    >
    > BTW. Did a similar setup for FO, but there everything works just fine
    > for the same set of DocBook input.
    >
    > Best regards,
    >
    > Mads
    >
    >
    >
    >
    >
    >>
    - ---------------------------------------------------------------------
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >>
    >>
    >>

    - --
    +---------------------------------+-------------------------+
    | Mads Ipsen | |
    | Product Support Specialist | phone: +45-35320630 |
    | Atomistix A/S | fax: +45-35320635 |
    | Juliane Maries Vej 30 | |
    | DK-2100 Copenhagen | mpi@atomistix.com |
    +---------------------------------+-------------------------+
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFHOBxOUiXEzEUa8LARAkyLAJ9EhRpq8Q4buEeBGFl+9JaaGNWYqgCfYze0
    1a/vLG8g3pavT3qlk5MVO9M=
    =1I+2
    -----END PGP SIGNATURE-----