Comments (5)
It depends on what you're doing with the topicref.
processing-role of "resource-only" means "this resource is a dependency but is not directly processed", so in most cases you would want to ignore that topicref.
Likewise, a scope of "peer" or "external" should be ignored in most cases (in a pre-processed map "peer" would normally only appear on maprefs to peer maps, something that is not defined as meaningful in DITA 1.2 but is in DITA 1.3).
from org.dita4publishers.epub.
So would it be better to have this in a customization plugin rather than the epub transform ?
I really like the result, by the way. Our team was impressed too by your work !
I used them in the HTML5 plugin to render content in the background, but not linked them to the content. I render them contextually by javascript .
from org.dita4publishers.epub.
Not sure which part of the code you're concerned with, but the base EPUB code (and all the map-driven transforms) should be consistent in how they handle topicrefs.
I may not have scrubbed the EPUB code sufficiently in my recent updates for peer and external topicref support.
from org.dita4publishers.epub.
So I think, there is one inconsistency, because all topics with @processing-role = 'resource-only' are rendered in the epub.
I can send you an example if you wish.
from org.dita4publishers.epub.
There be an SourceForge issue for that. Definitely needs to be fixed if true.
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] coverimage for Apple iBooks compliance duplicated in manifest HOT 6
- [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.