docbook-apps

  • 1.  Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings

    Posted 07-10-2012 15:54
    I have also seen those messages and don't understand what they mean. When I check the XHTML file in Oxygen, it reports that it is well-formed and valid, so there are no missing tags that need to be "Forcefully closed".

    Your output appears to be from the epub stylesheet. You might try the epub3 stylesheet in version 1.77.1 of the stylesheets. It does not use
    for the TOC, so kindlegen does not report those
    errors. However, kindlegen still Forcefully closes the valid


  • 2.  RE: [docbook-apps] Converting Docbook epub to Kindle shows warnings

    Posted 07-10-2012 16:09
    This sounds like a bizarre problem I had a few months ago. I tracked it down to my toc.ncx not matching up with toc.html, or something like that. Your issue may be different, but it's an idea.

    From: Bob Stayton [mailto:bobs@sagehill.net]
    Sent: Tuesday, July 10, 2012 10:54 AM
    To: Lars Vogel; DocBook Apps
    Subject: Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings

    I have also seen those messages and don't understand what they mean. When I check the XHTML file in Oxygen, it reports that it is well-formed and valid, so there are no missing tags that need to be "Forcefully closed".

    Your output appears to be from the epub stylesheet. You might try the epub3 stylesheet in version 1.77.1 of the stylesheets. It does not use
    for the TOC, so kindlegen does not report those
    errors. However, kindlegen still Forcefully closes the valid


  • 3.  Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings

    Posted 07-12-2012 08:00
    Hi Jason,

    thanks for the pointer, I try to dig into the problem.

    Best regards, Lars

    2012/7/10 Jason Zech <zech@loyolapress.com>:
    > This sounds like a bizarre problem I had a few months ago. I tracked it down
    > to my toc.ncx not matching up with toc.html, or something like that. Your
    > issue may be different, but it’s an idea.
    >
    >
    >
    > From: Bob Stayton [mailto:bobs@sagehill.net]
    > Sent: Tuesday, July 10, 2012 10:54 AM
    > To: Lars Vogel; DocBook Apps
    > Subject: Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings
    >
    >
    >
    > I have also seen those messages and don't understand what they mean. When I
    > check the XHTML file in Oxygen, it reports that it is well-formed and valid,
    > so there are no missing tags that need to be "Forcefully closed".
    >
    >
    >
    > Your output appears to be from the epub stylesheet. You might try the epub3
    > stylesheet in version 1.77.1 of the stylesheets. It does not use
    for
    > the TOC, so kindlegen does not report those
    errors. However, kindlegen
    > still Forcefully closes the valid


  • 4.  Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings

    Posted 03-20-2020 01:43
    Hi Lars,

    I know this is from a long time ago, but I just ran into the same problem with a file that nests variable lists using the list-presentation=“blocks” processing instruction.

    In that case, the XHTML5 (this is with 1.79.2, building an epub3) is valid, but kindlegen doesn’t like the nesting. It closes off the highest level
    and
    elements and flags some
    elements as being invalid.

    The result doesn’t lose any content, but it removes the nesting and flattens everything to one level.

    As with your case, the epub is valid and when displayed, the nesting is fine.

    At this point, I’m convinced that the problem is in kindlegen. I just used the Kindle previewer, which wasn’t available in 2012, and it created a .mobi file that preserves the nesting (at least on the devices I tried in the previewer).

    Anyway, this is probably way to late to help, but I figured I’d add it to the thread in case someone runs into it in the future, since it is still a problem using kindlegen.

    Best regards,
    Dick Hamilton
    -------
    XML Press
    XML for Technical Communicators
    http://xmlpress.net
    hamilton@xmlpress.net



    > On Jul 12, 2012, at 01:00, Lars Vogel <lars.vogel@gmail.com> wrote:
    >
    > Hi Jason,
    >
    > thanks for the pointer, I try to dig into the problem.
    >
    > Best regards, Lars
    >
    > 2012/7/10 Jason Zech <zech@loyolapress.com>:
    >> This sounds like a bizarre problem I had a few months ago. I tracked it down
    >> to my toc.ncx not matching up with toc.html, or something like that. Your
    >> issue may be different, but it’s an idea.
    >>
    >>
    >>
    >> From: Bob Stayton [mailto:bobs@sagehill.net]
    >> Sent: Tuesday, July 10, 2012 10:54 AM
    >> To: Lars Vogel; DocBook Apps
    >> Subject: Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings
    >>
    >>
    >>
    >> I have also seen those messages and don't understand what they mean. When I
    >> check the XHTML file in Oxygen, it reports that it is well-formed and valid,
    >> so there are no missing tags that need to be "Forcefully closed".
    >>
    >>
    >>
    >> Your output appears to be from the epub stylesheet. You might try the epub3
    >> stylesheet in version 1.77.1 of the stylesheets. It does not use
    for
    >> the TOC, so kindlegen does not report those
    errors. However, kindlegen
    >> still Forcefully closes the valid


  • 5.  Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings

    Posted 07-12-2012 08:00
    Hello Bob,

    Thanks a lot for the pointer, I give 1.77.1 and the epub3 stylesheets a try.

    Best regards, Lars

    2012/7/10 Bob Stayton <bobs@sagehill.net>:
    > I have also seen those messages and don't understand what they mean. When I
    > check the XHTML file in Oxygen, it reports that it is well-formed and valid,
    > so there are no missing tags that need to be "Forcefully closed".
    >
    > Your output appears to be from the epub stylesheet. You might try the epub3
    > stylesheet in version 1.77.1 of the stylesheets. It does not use
    for
    > the TOC, so kindlegen does not report those
    errors. However, kindlegen
    > still Forcefully closes the valid