Figure Cross Reference Sometimes Display As ID
Posted: Thu Aug 25, 2022 1:40 am
This happens with webhelp responsive output (no issues in the PDF), and only for rare topics in the latest version of Editor. We can't figure out what's different about those topics or images that isn't happening to the rest.
When cross-referencing figures in webhelp, we'd like them to say "Refer to <figure title>". This is accomplished for almost every link with the args.figurelink.style parameter. The few times the xrefs won't work, they look like this: Refer to 24-30-04.html#ATA-24-30-04-001__fig_kx3_kkm_qrb. While those file names and IDs look like links, they don't go anywhere. The figures they refer to appear fine in webhelp, it's just the xrefs to them that don't work.
Here's a full tag as an example of one that displays as its href (but I don't see the difference between it and a working one):
<step>
<cmd>Find and select the <uicontrol>BMS Parameters</uicontrol>. Refer to
<xref href="#ATA-24-30-04-001/fig_i3g_1wg_q5b"/>. </cmd>
<info>
<fig id="fig_i3g_1wg_q5b">
<title>Menu Structure</title>
<image placement="break"
href="../../../images/24/MenuStructure.png" scale="50"
id="image_j3g_1wg_q5b"/>
</fig>
</info>
</step>
When cross-referencing figures in webhelp, we'd like them to say "Refer to <figure title>". This is accomplished for almost every link with the args.figurelink.style parameter. The few times the xrefs won't work, they look like this: Refer to 24-30-04.html#ATA-24-30-04-001__fig_kx3_kkm_qrb. While those file names and IDs look like links, they don't go anywhere. The figures they refer to appear fine in webhelp, it's just the xrefs to them that don't work.
Here's a full tag as an example of one that displays as its href (but I don't see the difference between it and a working one):
<step>
<cmd>Find and select the <uicontrol>BMS Parameters</uicontrol>. Refer to
<xref href="#ATA-24-30-04-001/fig_i3g_1wg_q5b"/>. </cmd>
<info>
<fig id="fig_i3g_1wg_q5b">
<title>Menu Structure</title>
<image placement="break"
href="../../../images/24/MenuStructure.png" scale="50"
id="image_j3g_1wg_q5b"/>
</fig>
</info>
</step>