Giter Site home page Giter Site logo

Comments (4)

robander avatar robander commented on June 12, 2024

In all dita-ot processing, scope="peer" is treated as a reference to a file that is not available to the toolkit for build purposes. For example, if you use scope="peer" on a topicref in a map, the referenced topics will no longer build (even if they really are present). Unless I'm missing something, I think this is consistent with all other processing for scope="peer".

from dita-ot.

raducoravu avatar raducoravu commented on June 12, 2024

As @robander said, if you want the code to actually appear you should not add scope=peer to it.
About this remark:

 but unfortunately it's seems to be required when building individual plugins with Oxygen XML WebHelp

Can you give us more details? Probably the cause is the link is outside of the main DITA Map folder.
If you are building the output from inside Oxygen, we have a transformation parameter named "fix.external.refs.com.oxygenxml" which might help if enabled:

https://www.oxygenxml.com/doc/versions/26.0/ug-editor/topics/dita-ot-external-refs.html

Recent versions of the DITA OT have a "preprocess2" processing option which no longer has problems with references outside of the published DITA Map folder but the default WebHelp output obtained with Oxygen is obtained with an older "preprocess" stage which has this problem.

from dita-ot.

amyhiggins avatar amyhiggins commented on June 12, 2024

Ah okay, setting the scope="peer" issue aside, you seem to have pinpointed my problem ("...the default WebHelp output obtained with Oxygen is obtained with an older "preprocess" stage which has this problem"). Thanks for the help!

from dita-ot.

raducoravu avatar raducoravu commented on June 12, 2024

@amyhiggins if you are publishing using an Oxygen transformation scenario, if you open the DITA Map in the Oxygen DITA Maps Manager view and use the "Configure Transformation Scenarios" toolbar button, press "New->DITA OT transformation" and you will be able to choose "WebHelp Responsive using preprocess2 DITA-OT step" as a transformation type if you want to try how WebHelp Responsive with "preprocess2" would work. But we do not officially support it or run all our automatic tests with it.

from dita-ot.

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.