Giter Site home page Giter Site logo

Comments (5)

drmacro avatar drmacro commented on July 19, 2024

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.

blefort-uo avatar blefort-uo commented on July 19, 2024

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.

drmacro avatar drmacro commented on July 19, 2024

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.

blefort-uo avatar blefort-uo commented on July 19, 2024

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.

drmacro avatar drmacro commented on July 19, 2024

There be an SourceForge issue for that. Definitely needs to be fixed if true.

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.