Comments (6)
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.
Need to provide either a failing test case or details of how to reproduce the failure.
from org.dita4publishers.epub.
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.
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.
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.
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)
- Provide runtime options for generating fixed-layout pages
- When html2.generate.index index generated but not reflect in nav or toc
- Generate CSS @font-face declarations from the font manifest HOT 1
- topic/publisher not handled properly for OPF output HOT 1
- [BUG] incorrect timestamps applied to metadata in content.opf HOT 4
- graphics not copied (OT 2.3.1) HOT 3
- Provide runtime option for specifying a single JavaScript file HOT 1
- Generalize font manifest facility to handle files of any time, JavaScript
- HTML files for for topicheads have .html extension, should have .xhtml HOT 1
- Invalid attribute values in EPUB HOT 2
- No need to include generated TOC file
- Doctypes in generated files.
- Figure description results in invalid HTML5 markup
- Unwanted @xml:base attribute in MathML elements in generated XHTML HOT 1
- SVG documents must not have DOCTYPE declarations HOT 1
- Font embedding with iBooks
- Errors reported with latest Epub Checker HOT 1
- Update for OT 3.6+ HOT 2
- Errors publishing a DITA Map to EPUB with latest 1.0.0RC28 release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org.dita4publishers.epub.