docbook-apps

  • 1.  Converting Docbook epub to Kindle shows warnings

    Posted 07-10-2012 08:53
      |   view attached
    Hello,

    I'm using Apache Ant to create an epub with the XSL stylesheets. This
    works fine.

    During the conversion to .mobi via the Amazon command line tool
    kindlegen I get several warnings which may indicate that the generated
    epub has some issues. See below for the error messages. I attached the
    file in question. I noted that in the Kindle version several TOC
    entries are in the same line: I think this might be the reason for
    this.

    Has anyone seen such issues and know how to solve them?

    Best regards, Lars

    Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html line: 0000004
    Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html line: 0000004
    Warning(inputpreprocessor):W29010: Tag rejected due to being used in
    unauthorized scope:

    in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html line: 0000004
    Warning(inputpreprocessor):W29010: Tag rejected due to being used in
    unauthorized scope:

    in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html line: 0000004
    Warning(inputpreprocessor):W29010: Tag rejected due to being used in
    unauthorized scope:

    in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html line: 0000005
    Warning(inputpreprocessor):W29010: Tag rejected due to being used in
    unauthorized scope:

    in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html line: 0000005
    Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html line: 0000005
    Warning(inputpreprocessor):W29004: Forcefully closed opened Tag:

    in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html line: 0000005

    Attachment(s)

    html
    bk01-toc.html   44 KB 1 version


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

    Posted 07-10-2012 09:20
    Lars Vogel wrote:

    > During the conversion to .mobi via the Amazon command line tool
    > kindlegen I get several warnings which may indicate that the generated
    > epub has some issues. See below for the error messages. I attached the
    ...

    I'd suggest to check the generated EPUB using "EpubCheck"
    http://code.google.com/p/epubcheck/ (or use the online validator at
    http://validator.idpf.org/ ).
    If the file validates you know at which end of thour toolchain you have
    to look for the bug ;)

    Michael



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

    Posted 07-10-2012 09:30
    Hi Michael,

    I use epub validator and it shows no error.

    But still I would be interested if someone from this group had a
    similar issue and maybe a solution.

    Best regards, Lars

    2012/7/10 Michael Wiedmann <mw@miwie.in-berlin.de>:
    > Lars Vogel wrote:
    >
    >> During the conversion to .mobi via the Amazon command line tool
    >> kindlegen I get several warnings which may indicate that the generated
    >> epub has some issues. See below for the error messages. I attached the
    > ...
    >
    > I'd suggest to check the generated EPUB using "EpubCheck"
    > http://code.google.com/p/epubcheck/ (or use the online validator at
    > http://validator.idpf.org/ ).
    > If the file validates you know at which end of thour toolchain you have
    > to look for the bug ;)
    >
    > Michael
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >