OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Converting Docbook epub to Kindle shows warnings


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 <dl> for
> the TOC, so kindlegen does not report those <dl> errors.  However, kindlegen
> still Forcefully closes the valid <nav epub:type="loi"> and <nav:epub:lot>
> elements in the TOC file.
>
> Bob Stayton
> Sagehill Enterprises
> bobs@sagehill.net
>
>
>
> ----- Original Message -----
> From: Lars Vogel
> To: DocBook Apps
> Sent: Tuesday, July 10, 2012 1:53 AM
> Subject: [docbook-apps] Converting Docbook epub to Kindle shows warnings
>
> 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: <dl>
>       in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html     line: 0000004
> Warning(inputpreprocessor):W29004: Forcefully closed opened Tag: <dd>
>       in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html     line: 0000004
> Warning(inputpreprocessor):W29010: Tag rejected due to being used in
> unauthorized scope: <dt>
>       in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html     line: 0000004
> Warning(inputpreprocessor):W29010: Tag rejected due to being used in
> unauthorized scope: <dd>
>       in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html     line: 0000004
> Warning(inputpreprocessor):W29010: Tag rejected due to being used in
> unauthorized scope: <dt>
>       in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html     line: 0000005
> Warning(inputpreprocessor):W29010: Tag rejected due to being used in
> unauthorized scope: <dd>
>       in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html     line: 0000005
> Warning(inputpreprocessor):W29004: Forcefully closed opened Tag: <dl>
>       in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html     line: 0000005
> Warning(inputpreprocessor):W29004: Forcefully closed opened Tag: <dd>
>       in file: /tmp/mobi-v0Xfht/OEBPS/bk01-toc.html     line: 0000005
>
> ________________________________
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]