docbook-apps

Expand all | Collapse all

Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

  • 1.  Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 11:37
    Hi,

    currently, I'm trying to understand some design decisions around the
    EPUB2 stylesheets:

    1. base.dir

    HTML files are generated relative to "base.dir", but the OEBPS and
    META-INF directories are _not_ created relative to "base.dir" but
    rather relative to the current working directory (if using the
    default). The paths have to explicitly be specified with
    "epub.oebps.dir" and "epub.metainf.dir". This behaviour is
    unexpected and does not make sense.

    Solution:
    Paths specified with "epub.oebps.dir" and "epub.metainf.dir" should
    be treated as being relative to "base.dir":

    Wrong (current behavior):
    base.dir /tmp/my_epub
    epub.oebps.dir /tmp/my_epub/OEBPS
    epub.metainf.dir /tmp/my_epub/META-INF

    Correct (expected behavior):
    base.dir /tmp/my_epub
    epub.oebps.dir OEBPS (=> /tmp/my_epub/OEBPS)
    epub.metainf.dir META-INF (=> /tmp/my_epub/META-INF)

    Furthermore, if you set "epub.oebps.dir" to an absolute path, this
    path will be used as a value for <rootfile full-path="PATH"> element
    in META-INF/container.xml, creating an invalid EPUB archive.


    2. No admonition graphics

    see
    https://sourceforge.net/tracker/?func=detail&aid=2849681&group_id=21935&atid=373747


    3. Complicated zip file generation (manifest wanted)

    The easiest way to create the EPUB zip-file would be to write a
    zip-readable manifest file. The stylesheets already "know" the
    complete filelist - it is written to OEBPS/content.opf anyway.
    Writing a manifest file (when "generate.manifest" is set to 1) to
    use with zip is much more effective than parsing content.opf or
    trying to determine which files to put into the archive by other
    means.

    Such a manifest would also help to solve a problem with the
    callout-graphics. Callout-graphics are _only_ listed in
    OEBPS/content.opf if they are referenced in the HTML (that is, of
    the profiled XML contains <co> or <calloutlist> elements and
    callout.graphics is set to 1). If the XML sources do not contain
    <co>/<calloutlist> they are not referenced in OEBPS/content.opf.
    The EPUB zip file must only contain files that are referenced in
    OEBPS/content.opf, otherwise it will not validate.
    As a consequence, a check for callouts need to be performed before
    creating the zip archive. In addition to this,
    callout.graphics.number.limit and callout.graphics.extension need to
    be checked as well in order to get a list with the needed callout
    graphics. (The ruby script to generate the EPUBs does all this).

    The same would apply to admonition graphics if they would be
    supported by the EPUB stylesheets.

    This creates a massive overhead for the EPUB post processing step
    (aka copying the files and creating the archive) which could totally
    be avoided by creating a manifest.


    4. Modularisation
    Probably a minor issue, but a stylesheet with more than 1700 lines
    should be split into separate files. :)


    5. xsl:element vs. literal

    Maybe this is a matter of taste, but the EPUB2 stylesheet
    contains sometimes a lot of verbose structures, for example:
    <xsl:element namespace="http://www.idpf.org/2007/opf"
    name="package">
    This could be expressed more compact as:
    <package xmlns="http://www.idpf.org/2007/opf">
    Is there a reason why to use xsl:element instead of the literal
    element?


    What do you think?



    --
    Gruß/Regards,
    Thomas Schraitle



  • 2.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 12:11
    Thomas,

    Is there any reason why not to use the epub3 stylesheets?

    As far as I can tell epub2 stylesheets are not being actively maintained. Bob has done an awesome job with epub3 and thy should be readable by older devices out of the box.

    Carlos

    Sent from my iPad

    On Apr 9, 2013, at 4:37 AM, Thomas Schraitle <tom_schr@web.de> wrote:

    > Hi,
    >
    > currently, I'm trying to understand some design decisions around the
    > EPUB2 stylesheets:
    >
    > 1. base.dir
    >
    > HTML files are generated relative to "base.dir", but the OEBPS and
    > META-INF directories are _not_ created relative to "base.dir" but
    > rather relative to the current working directory (if using the
    > default). The paths have to explicitly be specified with
    > "epub.oebps.dir" and "epub.metainf.dir". This behaviour is
    > unexpected and does not make sense.
    >
    > Solution:
    > Paths specified with "epub.oebps.dir" and "epub.metainf.dir" should
    > be treated as being relative to "base.dir":
    >
    > Wrong (current behavior):
    > base.dir /tmp/my_epub
    > epub.oebps.dir /tmp/my_epub/OEBPS
    > epub.metainf.dir /tmp/my_epub/META-INF
    >
    > Correct (expected behavior):
    > base.dir /tmp/my_epub
    > epub.oebps.dir OEBPS (=> /tmp/my_epub/OEBPS)
    > epub.metainf.dir META-INF (=> /tmp/my_epub/META-INF)
    >
    > Furthermore, if you set "epub.oebps.dir" to an absolute path, this
    > path will be used as a value for <rootfile full-path="PATH"> element
    > in META-INF/container.xml, creating an invalid EPUB archive.
    >
    >
    > 2. No admonition graphics
    >
    > see
    > https://sourceforge.net/tracker/?func=detail&aid=2849681&group_id=21935&atid=373747
    >
    >
    > 3. Complicated zip file generation (manifest wanted)
    >
    > The easiest way to create the EPUB zip-file would be to write a
    > zip-readable manifest file. The stylesheets already "know" the
    > complete filelist - it is written to OEBPS/content.opf anyway.
    > Writing a manifest file (when "generate.manifest" is set to 1) to
    > use with zip is much more effective than parsing content.opf or
    > trying to determine which files to put into the archive by other
    > means.
    >
    > Such a manifest would also help to solve a problem with the
    > callout-graphics. Callout-graphics are _only_ listed in
    > OEBPS/content.opf if they are referenced in the HTML (that is, of
    > the profiled XML contains <co> or <calloutlist> elements and
    > callout.graphics is set to 1). If the XML sources do not contain
    > <co>/<calloutlist> they are not referenced in OEBPS/content.opf.
    > The EPUB zip file must only contain files that are referenced in
    > OEBPS/content.opf, otherwise it will not validate.
    > As a consequence, a check for callouts need to be performed before
    > creating the zip archive. In addition to this,
    > callout.graphics.number.limit and callout.graphics.extension need to
    > be checked as well in order to get a list with the needed callout
    > graphics. (The ruby script to generate the EPUBs does all this).
    >
    > The same would apply to admonition graphics if they would be
    > supported by the EPUB stylesheets.
    >
    > This creates a massive overhead for the EPUB post processing step
    > (aka copying the files and creating the archive) which could totally
    > be avoided by creating a manifest.
    >
    >
    > 4. Modularisation
    > Probably a minor issue, but a stylesheet with more than 1700 lines
    > should be split into separate files. :)
    >
    >
    > 5. xsl:element vs. literal
    >
    > Maybe this is a matter of taste, but the EPUB2 stylesheet
    > contains sometimes a lot of verbose structures, for example:
    > <xsl:element namespace="http://www.idpf.org/2007/opf"
    > name="package">
    > This could be expressed more compact as:
    > <package xmlns="http://www.idpf.org/2007/opf">
    > Is there a reason why to use xsl:element instead of the literal
    > element?
    >
    >
    > What do you think?
    >
    >
    >
    > --
    > Gruß/Regards,
    > Thomas Schraitle
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >



  • 3.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 12:24
    Hi Carlos,

    On Tue, 9 Apr 2013 05:10:52 -0700
    Carlos Araya <carlos.araya@gmail.com> wrote:

    > Is there any reason why not to use the epub3 stylesheets?

    Thanks for your answer Carlos.

    Well, I'm not sure if EPUB3 is that widespread than EPUB2. Older
    EPUB readers does probably not support EPUB3, so I was a bit concerned
    about compatibility.


    > As far as I can tell epub2 stylesheets are not being actively
    > maintained. Bob has done an awesome job with epub3 and thy should be
    > readable by older devices out of the box.

    Probably I should move to EPUB3 anyway. :)

    Thanks!

    --
    Gruß/Regards,
    Thomas Schraitle



  • 4.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 12:31
    EPUB3 is not read fully by any player on the market.

    Better use EPUB2 for then moment.

    cb

    Le 9 avr. 2013 à 14:23, Thomas Schraitle a écrit :

    > Hi Carlos,
    >
    > On Tue, 9 Apr 2013 05:10:52 -0700
    > Carlos Araya <carlos.araya@gmail.com> wrote:
    >
    >> Is there any reason why not to use the epub3 stylesheets?
    >
    > Thanks for your answer Carlos.
    >
    > Well, I'm not sure if EPUB3 is that widespread than EPUB2. Older
    > EPUB readers does probably not support EPUB3, so I was a bit concerned
    > about compatibility.
    >
    >
    >> As far as I can tell epub2 stylesheets are not being actively
    >> maintained. Bob has done an awesome job with epub3 and thy should be
    >> readable by older devices out of the box.
    >
    > Probably I should move to EPUB3 anyway. :)
    >
    > Thanks!
    >
    > --
    > Gruß/Regards,
    > Thomas Schraitle
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >




  • 5.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 13:01
    Christian

    How do you define read fully?

    How do you ensure forward compatibility so that the readers that support epub3 will get a similar reading experience?

    Sent from my iPad

    On Apr 9, 2013, at 5:30 AM, Christian Brugeron <christian.brugeron@gmail.com> wrote:

    > EPUB3 is not read fully by any player on the market.
    >
    > Better use EPUB2 for then moment.
    >
    > cb
    >
    > Le 9 avr. 2013 à 14:23, Thomas Schraitle a écrit :
    >
    >> Hi Carlos,
    >>
    >> On Tue, 9 Apr 2013 05:10:52 -0700
    >> Carlos Araya <carlos.araya@gmail.com> wrote:
    >>
    >>> Is there any reason why not to use the epub3 stylesheets?
    >>
    >> Thanks for your answer Carlos.
    >>
    >> Well, I'm not sure if EPUB3 is that widespread than EPUB2. Older
    >> EPUB readers does probably not support EPUB3, so I was a bit concerned
    >> about compatibility.
    >>
    >>
    >>> As far as I can tell epub2 stylesheets are not being actively
    >>> maintained. Bob has done an awesome job with epub3 and thy should be
    >>> readable by older devices out of the box.
    >>
    >> Probably I should move to EPUB3 anyway. :)
    >>
    >> Thanks!
    >>
    >> --
    >> Gruß/Regards,
    >> Thomas Schraitle
    >>
    >> ---------------------------------------------------------------------
    >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >



  • 6.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 13:58
    In my experience with Hachette books, the kobo readers do not display the EPUB3 files (mybe not docbook's, but generaly speaking)

    So we got back to epub2

    I have the IDPF test files that I run from time to time on the IPAD, the closest EPUB3 compatible mobile reader, and a lot files are rejected ("unknown format.....").

    My 2 cents

    If you want you can send me some files, I will test them on IPAD and MOBO.


    cb

    Le 9 avr. 2013 à 15:00, Carlos Araya a écrit :

    > Christian
    >
    > How do you define read fully?
    >
    > How do you ensure forward compatibility so that the readers that support epub3 will get a similar reading experience?
    >
    > Sent from my iPad
    >
    > On Apr 9, 2013, at 5:30 AM, Christian Brugeron <christian.brugeron@gmail.com> wrote:
    >
    >> EPUB3 is not read fully by any player on the market.
    >>
    >> Better use EPUB2 for then moment.
    >>
    >> cb
    >>
    >> Le 9 avr. 2013 à 14:23, Thomas Schraitle a écrit :
    >>
    >>> Hi Carlos,
    >>>
    >>> On Tue, 9 Apr 2013 05:10:52 -0700
    >>> Carlos Araya <carlos.araya@gmail.com> wrote:
    >>>
    >>>> Is there any reason why not to use the epub3 stylesheets?
    >>>
    >>> Thanks for your answer Carlos.
    >>>
    >>> Well, I'm not sure if EPUB3 is that widespread than EPUB2. Older
    >>> EPUB readers does probably not support EPUB3, so I was a bit concerned
    >>> about compatibility.
    >>>
    >>>
    >>>> As far as I can tell epub2 stylesheets are not being actively
    >>>> maintained. Bob has done an awesome job with epub3 and thy should be
    >>>> readable by older devices out of the box.
    >>>
    >>> Probably I should move to EPUB3 anyway. :)
    >>>
    >>> Thanks!
    >>>
    >>> --
    >>> Gruß/Regards,
    >>> Thomas Schraitle
    >>>
    >>> ---------------------------------------------------------------------
    >>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    >>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >>




  • 7.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 15:58
    Christian:

    I run docbook-generated epub3 with multimedia added and hand-built epub3
    content in my iPad without a problem.

    For books generataed by others that work in my iPad use the following links:

    http://www.elizabethcastro.com/epub/examples/epub3jp/jp24bis6.epub(vertical
    Japanese text, right to left reading)
    http://www.elizabethcastro.com/epub/examples/epub3jp/jp24bis6.epub* *(manga,
    right to left reading)
    http://files.infogridpacific.com/epub/a-christmas-carol2-3.epub (designed
    to be read in both epub2 and epub3 readers)
    http://files.infogridpacific.com/epub/siddhartha2-3.epub (designed to be
    read in both epub2 and epub3 readers)
    http://epub-samples.googlecode.com/files/kusamakura-japanese-vertical-writing-20120720.epub
    (vertical
    text, Japanese language)

    All the examples but Kusamakura (the last one) opened in both iBooks and
    the Kobo app in my iPad. Kusamakura only opened and read in the iPad.

    I would like to see the files you're getting errors with. Where they
    validated with epubcheck?

    Carlos



    On Tue, Apr 9, 2013 at 6:58 AM, Christian Brugeron <
    christian.brugeron@gmail.com> wrote:

    > In my experience with Hachette books, the kobo readers do not display the
    > EPUB3 files (mybe not docbook's, but generaly speaking)
    >
    > So we got back to epub2
    >
    > I have the IDPF test files that I run from time to time on the IPAD, the
    > closest EPUB3 compatible mobile reader, and a lot files are rejected
    > ("unknown format.....").
    >
    > My 2 cents
    >
    > If you want you can send me some files, I will test them on IPAD and MOBO.
    >
    >
    > cb
    >
    > Le 9 avr. 2013 à 15:00, Carlos Araya a écrit :
    >
    > > Christian
    > >
    > > How do you define read fully?
    > >
    > > How do you ensure forward compatibility so that the readers that support
    > epub3 will get a similar reading experience?
    > >
    > > Sent from my iPad
    > >
    > > On Apr 9, 2013, at 5:30 AM, Christian Brugeron <
    > christian.brugeron@gmail.com> wrote:
    > >
    > >> EPUB3 is not read fully by any player on the market.
    > >>
    > >> Better use EPUB2 for then moment.
    > >>
    > >> cb
    > >>
    > >> Le 9 avr. 2013 à 14:23, Thomas Schraitle a écrit :
    > >>
    > >>> Hi Carlos,
    > >>>
    > >>> On Tue, 9 Apr 2013 05:10:52 -0700
    > >>> Carlos Araya <carlos.araya@gmail.com> wrote:
    > >>>
    > >>>> Is there any reason why not to use the epub3 stylesheets?
    > >>>
    > >>> Thanks for your answer Carlos.
    > >>>
    > >>> Well, I'm not sure if EPUB3 is that widespread than EPUB2. Older
    > >>> EPUB readers does probably not support EPUB3, so I was a bit concerned
    > >>> about compatibility.
    > >>>
    > >>>
    > >>>> As far as I can tell epub2 stylesheets are not being actively
    > >>>> maintained. Bob has done an awesome job with epub3 and thy should be
    > >>>> readable by older devices out of the box.
    > >>>
    > >>> Probably I should move to EPUB3 anyway. :)
    > >>>
    > >>> Thanks!
    > >>>
    > >>> --
    > >>> Gruß/Regards,
    > >>> Thomas Schraitle
    > >>>
    > >>> ---------------------------------------------------------------------
    > >>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > >>> For additional commands, e-mail:
    > docbook-apps-help@lists.oasis-open.org
    > >>
    >
    >



  • 8.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 16:44
    some of those files won't read.

    http://code.google.com/p/epub-samples/wiki/SamplesListing
    I remember of "sous le vent", "sample media handler", "trees (bad rectangles)" , some mangas...

    HTH


    Le 9 avr. 2013 à 17:57, Carlos Araya a écrit :

    > Christian:
    >
    > I run docbook-generated epub3 with multimedia added and hand-built epub3 content in my iPad without a problem.
    >
    > For books generataed by others that work in my iPad use the following links:
    >
    > http://www.elizabethcastro.com/epub/examples/epub3jp/jp24bis6.epub (vertical Japanese text, right to left reading)
    > http://www.elizabethcastro.com/epub/examples/epub3jp/jp24bis6.epub (manga, right to left reading)
    > http://files.infogridpacific.com/epub/a-christmas-carol2-3.epub (designed to be read in both epub2 and epub3 readers)
    > http://files.infogridpacific.com/epub/siddhartha2-3.epub (designed to be read in both epub2 and epub3 readers)
    > http://epub-samples.googlecode.com/files/kusamakura-japanese-vertical-writing-20120720.epub (vertical text, Japanese language)
    >
    > All the examples but Kusamakura (the last one) opened in both iBooks and the Kobo app in my iPad. Kusamakura only opened and read in the iPad.
    >
    > I would like to see the files you're getting errors with. Where they validated with epubcheck?
    >
    > Carlos
    >
    >
    >
    > On Tue, Apr 9, 2013 at 6:58 AM, Christian Brugeron <christian.brugeron@gmail.com> wrote:
    > In my experience with Hachette books, the kobo readers do not display the EPUB3 files (mybe not docbook's, but generaly speaking)
    >
    > So we got back to epub2
    >
    > I have the IDPF test files that I run from time to time on the IPAD, the closest EPUB3 compatible mobile reader, and a lot files are rejected ("unknown format.....").
    >
    > My 2 cents
    >
    > If you want you can send me some files, I will test them on IPAD and MOBO.
    >
    >
    > cb
    >
    > Le 9 avr. 2013 à 15:00, Carlos Araya a écrit :
    >
    > > Christian
    > >
    > > How do you define read fully?
    > >
    > > How do you ensure forward compatibility so that the readers that support epub3 will get a similar reading experience?
    > >
    > > Sent from my iPad
    > >
    > > On Apr 9, 2013, at 5:30 AM, Christian Brugeron <christian.brugeron@gmail.com> wrote:
    > >
    > >> EPUB3 is not read fully by any player on the market.
    > >>
    > >> Better use EPUB2 for then moment.
    > >>
    > >> cb
    > >>
    > >> Le 9 avr. 2013 à 14:23, Thomas Schraitle a écrit :
    > >>
    > >>> Hi Carlos,
    > >>>
    > >>> On Tue, 9 Apr 2013 05:10:52 -0700
    > >>> Carlos Araya <carlos.araya@gmail.com> wrote:
    > >>>
    > >>>> Is there any reason why not to use the epub3 stylesheets?
    > >>>
    > >>> Thanks for your answer Carlos.
    > >>>
    > >>> Well, I'm not sure if EPUB3 is that widespread than EPUB2. Older
    > >>> EPUB readers does probably not support EPUB3, so I was a bit concerned
    > >>> about compatibility.
    > >>>
    > >>>
    > >>>> As far as I can tell epub2 stylesheets are not being actively
    > >>>> maintained. Bob has done an awesome job with epub3 and thy should be
    > >>>> readable by older devices out of the box.
    > >>>
    > >>> Probably I should move to EPUB3 anyway. :)
    > >>>
    > >>> Thanks!
    > >>>
    > >>> --
    > >>> Gruß/Regards,
    > >>> Thomas Schraitle
    > >>>
    > >>> ---------------------------------------------------------------------
    > >>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > >>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    > >>
    >
    >




  • 9.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 16:46
    Hi,
    I was concerned about epub2 readers when writing the epub3 stylesheets. The
    EPUB3 standard includes provisions for backwards compatibility with epub2
    readers, such as including the .ncx file and various metadata items. The
    DocBook epub3 stylesheet tries to use all those features, so most epub2
    readers can open and browse most output from DocBook's epub3 stylesheet.

    However, if you use videoobject or audioobject in your DocBook source, those
    generate epub3-specific output, and would not be understood by epub2
    readers. I've found that most such readers just ignore that output and
    still display the rest.

    BTW, according to this article, Kobo has announced full support for Epub3 by
    third quarter 2013:

    http://www.digitalbookworld.com/2012/kobo-to-fully-support-epub-3-by-third-quarter-2013/

    The article also says that "Hachette announced that by March 2013 all of its
    new books would be in EPUB 3 format."

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net

    --------------------------------------------------
    From: "Christian Brugeron" <christian.brugeron@gmail.com>
    Sent: Tuesday, April 09, 2013 6:58 AM
    To: <docbook-apps@lists.oasis-open.org>
    Cc: "Thomas Schraitle" <tom_schr@web.de>; "Carlos Araya"
    <carlos.araya@gmail.com>
    Subject: Re: [docbook-apps] Conceptual Questions and Customizations
    Regarding EPUB2 Stylesheets

    > In my experience with Hachette books, the kobo readers do not display the
    > EPUB3 files (mybe not docbook's, but generaly speaking)
    >
    > So we got back to epub2
    >
    > I have the IDPF test files that I run from time to time on the IPAD, the
    > closest EPUB3 compatible mobile reader, and a lot files are rejected
    > ("unknown format.....").
    >
    > My 2 cents
    >
    > If you want you can send me some files, I will test them on IPAD and MOBO.
    >
    >
    > cb
    >
    > Le 9 avr. 2013 à 15:00, Carlos Araya a écrit :
    >
    >> Christian
    >>
    >> How do you define read fully?
    >>
    >> How do you ensure forward compatibility so that the readers that support
    >> epub3 will get a similar reading experience?
    >>
    >> Sent from my iPad
    >>
    >> On Apr 9, 2013, at 5:30 AM, Christian Brugeron
    >> <christian.brugeron@gmail.com> wrote:
    >>
    >>> EPUB3 is not read fully by any player on the market.
    >>>
    >>> Better use EPUB2 for then moment.
    >>>
    >>> cb
    >>>
    >>> Le 9 avr. 2013 à 14:23, Thomas Schraitle a écrit :
    >>>
    >>>> Hi Carlos,
    >>>>
    >>>> On Tue, 9 Apr 2013 05:10:52 -0700
    >>>> Carlos Araya <carlos.araya@gmail.com> wrote:
    >>>>
    >>>>> Is there any reason why not to use the epub3 stylesheets?
    >>>>
    >>>> Thanks for your answer Carlos.
    >>>>
    >>>> Well, I'm not sure if EPUB3 is that widespread than EPUB2. Older
    >>>> EPUB readers does probably not support EPUB3, so I was a bit concerned
    >>>> about compatibility.
    >>>>
    >>>>
    >>>>> As far as I can tell epub2 stylesheets are not being actively
    >>>>> maintained. Bob has done an awesome job with epub3 and thy should be
    >>>>> readable by older devices out of the box.
    >>>>
    >>>> Probably I should move to EPUB3 anyway. :)
    >>>>
    >>>> Thanks!
    >>>>
    >>>> --
    >>>> Gruß/Regards,
    >>>> Thomas Schraitle
    >>>>
    >>>> ---------------------------------------------------------------------
    >>>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    >>>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >>>
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >



  • 10.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 16:52

    Le 9 avr. 2013 à 18:45, Bob Stayton a écrit :

    > The article also says that "Hachette announced that by March 2013 all of its new books would be in EPUB 3 format."


    yes, but not!

    do not believe the press ;-))
    cb


  • 11.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 13:16
    On 9.4.2013 14:30, Christian Brugeron wrote:
    > EPUB3 is not read fully by any player on the market.
    >
    > Better use EPUB2 for then moment.

    I think that EPUB3 stylesheets emits a lot of code which guarantees good
    functionality in older readers. I have no problems with EPUB3 output
    generated from DocBook in my very old Nook. And it uses same software as
    other readers (Adobe crappyware) so I bet other readers will behave
    similarly.

    If you have faced some compatibility problems then it would be good if
    you can report them -- it's very likely that there is workaround for this.

    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 rep.
    ------------------------------------------------------------------
    Bringing you XML Prague conference http://xmlprague.cz
    ------------------------------------------------------------------




  • 12.  Re: [docbook-apps] Conceptual Questions and Customizations Regarding EPUB2 Stylesheets

    Posted 04-09-2013 12:42
    Hi,

    On Tue, 9 Apr 2013 13:37:23 +0200
    Thomas Schraitle <tom_schr@web.de> wrote:

    > currently, I'm trying to understand some design decisions around the
    > EPUB2 stylesheets:
    > [...]

    By the way, I've started to improve/fix some of the issues that annoys
    me. :) It's not finished yet, but you can find the code here:

    https://svn.code.sf.net/p/daps/svn/branches/hackweek9/epub

    Feel free to try it out.


    --
    Gruß/Regards,
    Thomas Schraitle