docbook-apps

  • 1.  ePub 3 weird results when converting to mobi

    Posted 03-07-2013 22:15
    Good afternoon:

    I was able to validate the book I'm working on. Now when I use Kindlegen to
    convert to Mobi I get multiple errors like the ones below

    [exec] Warning(inputpreprocessor):W29007: Rejected unknown tag: class="acronym">
    [exec] in file:
    /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ch04.xhtml
    line: 0000038
    [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened
    Tag:

    [exec] in file:
    /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    line: 0000002
    [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened
    Tag:

    [exec] in file:
    /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    line: 0000002
    [exec] Warning(inputpreprocessor):W29010: Tag rejected due to being
    used in unauthorized scope:

    [exec] in file:
    /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    line: 0000002

    I remember that late last year this also came up but was not able to find a
    resolution.

    I am using the kindle.extensions parameter and can copy my customization
    layer if needed.

    Any idea of what I'm doing wrong to generate the extraneous code?

    Carlos



  • 2.  Re: [docbook-apps] ePub 3 weird results when converting to mobi

    Posted 03-07-2013 22:39
    Hi Carlos,

    I'm not sure what can be done to fix these warnings. My guess is that they are places where kindlegen is unhappy with HTML5 constructs, but that's just a guess.

    I have seen similar warnings with ePub files generated by the epub3 stylesheets. However, I've had no problems with the .mobi files generated, even with these warning messages. In fact, they have looked clean on kindles and the kindle emulators, and they have been successfully uploaded to Amazon, which does some of its own checking.

    So, I haven't let them stop me, though I'd be much happier if I didn't get them:-).

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



    On Mar 7, 2013, at 2:15 PM, Carlos Araya wrote:

    > Good afternoon:
    >
    > I was able to validate the book I'm working on. Now when I use Kindlegen to convert to Mobi I get multiple errors like the ones below
    >
    > [exec] Warning(inputpreprocessor):W29007: Rejected unknown tag:
    > [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ch04.xhtml line: 0000038
    > [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    > [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002
    > [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    > [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002
    > [exec] Warning(inputpreprocessor):W29010: Tag rejected due to being used in unauthorized scope:

    > [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002
    >
    > I remember that late last year this also came up but was not able to find a resolution.
    >
    > I am using the kindle.extensions parameter and can copy my customization layer if needed.
    >
    > Any idea of what I'm doing wrong to generate the extraneous code?
    >
    > Carlos




  • 3.  Re: [docbook-apps] ePub 3 weird results when converting to mobi

    Posted 03-08-2013 00:21
    I have seen the same errors with kindlegen, but never found anything wrong in my HTML. The element is valid in HTML4, XHTML, and HTML5, so I think that's a bug in kindlegen. With
    lists, it seems to lose track of element nesting, even with validly nested elements.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    From: Carlos Araya
    Sent: Thursday, March 07, 2013 2:15 PM
    To: docbook-apps@lists.oasis-open.org
    Subject: [docbook-apps] ePub 3 weird results when converting to mobi


    Good afternoon:

    I was able to validate the book I'm working on. Now when I use Kindlegen to convert to Mobi I get multiple errors like the ones below

    [exec] Warning(inputpreprocessor):W29007: Rejected unknown tag:
    [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ch04.xhtml line: 0000038
    [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002
    [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002
    [exec] Warning(inputpreprocessor):W29010: Tag rejected due to being used in unauthorized scope:

    [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002

    I remember that late last year this also came up but was not able to find a resolution.

    I am using the kindle.extensions parameter and can copy my customization layer if needed.

    Any idea of what I'm doing wrong to generate the extraneous code?

    Carlos



  • 4.  Re: [docbook-apps] ePub 3 weird results when converting to mobi

    Posted 03-08-2013 15:51
    When going to Kindle Direct Publishing's Supported HTML Tags page (
    https://kdp.amazon.com/self-publishing/help?topicId=A1JPUWCSD6F59O)
    is not there. I guess that's why Kindlegen is throwing a fit.

    This may be a good place to review when we hit that kind of problems.

    Carlos

    On Thu, Mar 7, 2013 at 4:20 PM, Bob Stayton <bobs@sagehill.net> wrote:

    > **
    > I have seen the same errors with kindlegen, but never found anything wrong
    > in my HTML. The element is valid in HTML4, XHTML, and HTML5, so I
    > think that's a bug in kindlegen. With
    lists, it seems to lose track
    > of element nesting, even with validly nested elements.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    > *From:* Carlos Araya <carlos.araya@gmail.com>
    > *Sent:* Thursday, March 07, 2013 2:15 PM
    > *To:* docbook-apps@lists.oasis-open.org
    > *Subject:* [docbook-apps] ePub 3 weird results when converting to mobi
    >
    > Good afternoon:
    >
    > I was able to validate the book I'm working on. Now when I use Kindlegen
    > to convert to Mobi I get multiple errors like the ones below
    >
    > [exec] Warning(inputpreprocessor):W29007: Rejected unknown tag: > class="acronym">
    > [exec] in file:
    > /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ch04.xhtml
    > line: 0000038
    > [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened
    > Tag:

    > [exec] in file:
    > /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    > line: 0000002
    > [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened
    > Tag:

    > [exec] in file:
    > /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    > line: 0000002
    > [exec] Warning(inputpreprocessor):W29010: Tag rejected due to being
    > used in unauthorized scope:

    > [exec] in file:
    > /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    > line: 0000002
    >
    > I remember that late last year this also came up but was not able to find
    > a resolution.
    >
    > I am using the kindle.extensions parameter and can copy my customization
    > layer if needed.
    >
    > Any idea of what I'm doing wrong to generate the extraneous code?
    >
    > Carlos
    >



  • 5.  Re: [docbook-apps] ePub 3 weird results when converting to mobi

    Posted 03-08-2013 18:20
    Carlos,

    Thanks for the pointer. That looks like a useful resource, though it's curious that
    only appears in the description of
    .

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



    On Mar 8, 2013, at 7:50 AM, Carlos Araya wrote:

    > When going to Kindle Direct Publishing's Supported HTML Tags page (https://kdp.amazon.com/self-publishing/help?topicId=A1JPUWCSD6F59O) is not there. I guess that's why Kindlegen is throwing a fit.
    >
    > This may be a good place to review when we hit that kind of problems.
    >
    > Carlos
    >
    > On Thu, Mar 7, 2013 at 4:20 PM, Bob Stayton <bobs@sagehill.net> wrote:
    > I have seen the same errors with kindlegen, but never found anything wrong in my HTML. The element is valid in HTML4, XHTML, and HTML5, so I think that's a bug in kindlegen. With
    lists, it seems to lose track of element nesting, even with validly nested elements.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    > From: Carlos Araya
    > Sent: Thursday, March 07, 2013 2:15 PM
    > To: docbook-apps@lists.oasis-open.org
    > Subject: [docbook-apps] ePub 3 weird results when converting to mobi
    >
    > Good afternoon:
    >
    > I was able to validate the book I'm working on. Now when I use Kindlegen to convert to Mobi I get multiple errors like the ones below
    >
    > [exec] Warning(inputpreprocessor):W29007: Rejected unknown tag:
    > [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ch04.xhtml line: 0000038
    > [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    > [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002
    > [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    > [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002
    > [exec] Warning(inputpreprocessor):W29010: Tag rejected due to being used in unauthorized scope:

    > [exec] in file: /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml line: 0000002
    >
    > I remember that late last year this also came up but was not able to find a resolution.
    >
    > I am using the kindle.extensions parameter and can copy my customization layer if needed.
    >
    > Any idea of what I'm doing wrong to generate the extraneous code?
    >
    > Carlos
    >




  • 6.  Re: [docbook-apps] ePub 3 weird results when converting to mobi

    Posted 03-08-2013 19:06
    Dick

    There is another page for KF8 supported tags. It's at
    http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000729901

    I believe it's a superset of the first link I sent.

    Carlos

    On Fri, Mar 8, 2013 at 10:19 AM, Richard Hamilton <hamilton@xmlpress.net>wrote:

    > Carlos,
    >
    > Thanks for the pointer. That looks like a useful resource, though it's
    > curious that
    only appears in the description of
    .
    >
    > Best Regards,
    > Dick
    > -------
    > XML Press
    > XML for Technical Communicators
    > http://xmlpress.net
    > hamilton@xmlpress.net
    >
    >
    >
    > On Mar 8, 2013, at 7:50 AM, Carlos Araya wrote:
    >
    > > When going to Kindle Direct Publishing's Supported HTML Tags page (
    > https://kdp.amazon.com/self-publishing/help?topicId=A1JPUWCSD6F59O)
    > is not there. I guess that's why Kindlegen is throwing a fit.
    > >
    > > This may be a good place to review when we hit that kind of problems.
    > >
    > > Carlos
    > >
    > > On Thu, Mar 7, 2013 at 4:20 PM, Bob Stayton <bobs@sagehill.net> wrote:
    > > I have seen the same errors with kindlegen, but never found anything
    > wrong in my HTML. The element is valid in HTML4, XHTML, and HTML5,
    > so I think that's a bug in kindlegen. With
    lists, it seems to lose
    > track of element nesting, even with validly nested elements.
    > >
    > > Bob Stayton
    > > Sagehill Enterprises
    > > bobs@sagehill.net
    > >
    > > From: Carlos Araya
    > > Sent: Thursday, March 07, 2013 2:15 PM
    > > To: docbook-apps@lists.oasis-open.org
    > > Subject: [docbook-apps] ePub 3 weird results when converting to mobi
    > >
    > > Good afternoon:
    > >
    > > I was able to validate the book I'm working on. Now when I use Kindlegen
    > to convert to Mobi I get multiple errors like the ones below
    > >
    > > [exec] Warning(inputpreprocessor):W29007: Rejected unknown tag:
    >
    > > [exec] in file:
    > /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ch04.xhtml
    > line: 0000038
    > > [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened
    > Tag:

    > > [exec] in file:
    > /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    > line: 0000002
    > > [exec] Warning(inputpreprocessor):W29004: Forcefully closed opened
    > Tag:

    > > [exec] in file:
    > /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    > line: 0000002
    > > [exec] Warning(inputpreprocessor):W29010: Tag rejected due to being
    > used in unauthorized scope:

    > > [exec] in file:
    > /var/folders/jz/_pr7872j2jx765_7lyh3z__07x_v0x/T/mobi-ZpXrJk/OEBPS/ix01.xhtml
    > line: 0000002
    > >
    > > I remember that late last year this also came up but was not able to
    > find a resolution.
    > >
    > > I am using the kindle.extensions parameter and can copy my customization
    > layer if needed.
    > >
    > > Any idea of what I'm doing wrong to generate the extraneous code?
    > >
    > > Carlos
    > >
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >