toggle quoted messageShow quoted text
The situation might look similar with this one:https://github.com/dita-ot/dita-ot/issues/3259
But I'm not sure, a complete sample small project would have helped.
- Use conkeyref, I would not expect this to work with conref.
- Have a topic reference to the "doc_titles.dita" in both key scope contexts.
- Use DITA OT 3.4
<oXygen/> XML Editorhttp://www.oxygenxml.com
On 2/7/2020 5:03 PM, Ozana Dragomir wrote:
Sorry if this has been asked before.
We have some "reusable content" DITA files where in some places we use keys - for example for product name, etc.
When publishing topics referenced from inside a defined keyscope, the keys in the conref-ed text are not resolved. It seems to be a problem with DITA-OT, as in oXygen Author the keys are resolved properly.
Is there any combination of command line parameters or anything else that can give me the expected output? I need the keyscopes for publishing to WebHelp - multiple instances of the same document for different variants.
I'm using DITA-OT 3.3.4.
<chapter href="topics/topic_a.dita" format="dita" type="concept" keyscope="A">
<topicref href="topics/topic_b.dita" />
<p>For <keyword keyref="var_variant_number"/>, see <ph conref="../conrefs/doc_titles.dita#doc_titles/id_ph_TRM_title"/> for details.</p>
*Note:* using conkeyref here doesn't change anything, the output is the same.
<ph id="id_ph_TRM_title"><keyword keyref="var_variant_number"/> Technical Reference Manual</ph>
*The output will be:*
For AXxxx, see Technical Reference Manual for details.
For AXxxx, see AXxxxTechnical Reference Manual for details.