Using a Conref in a Topic Title
Posted: Mon Jun 13, 2022 6:57 pm
Hello,
I am storing product names in a topic file for conrefs, e.g.:
conref_file.dita
I would like to use the product name in the title of a topic in a bookmap, e.g.:
topic_file.dita
While this does not appear to give any errors, it does not work as expected in the DITA Maps Manager. In the case above, for example, it would show something like "title with a conref: " instead of the expected "title with a conref: PRODUCT". I have not tested publishing the topic, so I am not sure if it publishes correctly.
Is this a bug, or is it bad form to use a conref in a title? Or am I simply using the conref incorrectly?
Thank you very much.
I am storing product names in a topic file for conrefs, e.g.:
conref_file.dita
Code: Select all
<topic>
<title>Conrefs: Product names</title>
<body>
<dl>
<dlentry>
<dt>General term for the product</dt>
<dd><ph id="cool_product_id">PRODUCT</ph></dd>
</dlentry>
</dl>
</body>
</topic>
topic_file.dita
Code: Select all
<task>
<title>title with a conref: <ph conref ="path/conref_file.dita/cool_product_id"/></title>
<taskbody>
</taskbody>
</task>
Is this a bug, or is it bad form to use a conref in a title? Or am I simply using the conref incorrectly?
Thank you very much.