Giter Site home page Giter Site logo

Comments (6)

Hasimir avatar Hasimir commented on August 25, 2024

My current method of fixing this is to just edit the content.opf file manually while updating other parts of the metadata.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on August 25, 2024

Need to provide either a failing test case or details of how to reproduce the failure.

from org.dita4publishers.epub.

Hasimir avatar Hasimir commented on August 25, 2024

I'm sure I can whip up something small and nearly pointless to test with a bit later. The "placeholder" images might be a bit silly, though.

from org.dita4publishers.epub.

Hasimir avatar Hasimir commented on August 25, 2024

Okay, I have a test project which reproduces this error here. It also demonstrates the incorrect date error since it includes a completed transformation to EPUB 3 and I added a detached GPG signature in the output folder with the epub so it can demonstrably proven to have been generated before the date and time in UTC it says it was created (and so is this comment, actually).

Also, chapter 2 in the test book includes all the configuration for the transformation scenario used to create the file, including screen captures from oXygen. That said, in its current form it will not pass an epubcheck, but can still be opened in most epub reader apps, including Readium.

from org.dita4publishers.epub.

drmacro avatar drmacro commented on August 25, 2024

The bug results from the new image-list processing, which produces an OPF entry for every image listed there, as well as an entry for the referenced cover image, however it was referenced (epub-cover-graphic or runtime cover graphic image parameter).

I'll have to figure out how to eliminate the duplicate and ensure that there is a "cover-graphic" property on the one OPF item.

from org.dita4publishers.epub.

Hasimir avatar Hasimir commented on August 25, 2024

From my tests it looks like the only essential part is the addition of properties "cover-image"> to the element, not the id="coverimage" so if there were a check for a cover image when building the image list and appending the properties when found would probably do it.

Oh, I've also confirmed that #70 is indeed fixed.

from org.dita4publishers.epub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.