docbook-apps

  • 1.  DocBook epub3 beta 3 stylesheets available

    Posted 09-30-2011 11:34
    Hi,
    I have updated a beta 3 version of the epub3 stylesheets for DocBook XSL to
    SourceForge. It is in this directory:

    https://sourceforge.net/projects/docbook/files/epub3/

    and the README there describes the changes to this version.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] DocBook epub3 beta 3 stylesheets available

    Posted 10-04-2011 13:16
    On 30.9.2011 13:34, Bob Stayton wrote:
    > Hi,
    > I have updated a beta 3 version of the epub3 stylesheets for DocBook
    > XSL to SourceForge. It is in this directory:
    >
    > https://sourceforge.net/projects/docbook/files/epub3/

    Hi Bob,

    have you tried to convert resulting EPUB into MOBI format for use on Kindle?

    When I convert with calibre all headings (chapter, section, table, ...)
    are lost.

    Conversion with KindleGen is completely impossible. KindleGen chokes on
    dc:language in package.opf if there is id="pub-language" attribute
    attached. After removing this attribute, KindleGen goes further but
    stops with "TOC section scope is not included in the parent
    chapter:Request Submission".

    Yep, it's crappy Amazon who is not supporting EPUB directly and who
    produces this crappy KindleGen software. But it would be nice to produce
    EPUB files which can be smoothly converted into format supported by most
    widespread reader today.

    I will try to investigate more but any help is welcomed.

    Jirka

    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------




  • 3.  Re: [docbook-apps] DocBook epub3 beta 3 stylesheets available

    Posted 10-04-2011 13:59
    On 4.10.2011 15:16, Jirka Kosek wrote:

    > When I convert with calibre all headings (chapter, section, table, ...)
    > are lost.

    OK, problem were in titlepage.templates.xsl file. This file was missing
    xmlns="http://www.w3.org/1999/xhtml" and thus generated
    xmlns=""...> in the middle of XHTML5 output which confused software.

    This is known problem for customization of XHTML titlepages as well. Do
    we already have some solution for this? In past I have used brutal text
    replace on resulting .xsl file to add default namespace declaration.
    Might be existing template/titlepage.xsl should be customized to handle
    this automatically.

    Jirka

    --
    ------------------------------------------------------------------
    Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
    ------------------------------------------------------------------
    Professional XML consulting and training services
    DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
    OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------




  • 4.  RE: [docbook-apps] DocBook epub3 beta 3 stylesheets available

    Posted 10-04-2011 18:29
    > Yep, it's crappy Amazon who is not supporting EPUB directly and who
    > produces this crappy KindleGen software. But it would be nice to produce
    > EPUB files which can be smoothly converted into format supported by
    > most widespread reader today.

    Recently there were some rumors...
    http://goodereader.com/blog/tablet-slates/amazon-to-allow-epub-ebooks-on-the-kindle-e-reader/

    Any update on this?