Pages: 1
Print
Author Topic: WebHelp Missing Parent Child Topic Links  (Read 2296 times)
twisted
Member

Posts: 15


« on: May 11, 2012, 06:10:54 PM »

After moving to 7.0 I just noticed that when generating WebHelp that the Parent Topic Links are no longer being generated. How do I get them to start appearing again?

Version#: 7.0.0.103
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: May 16, 2012, 01:03:43 PM »

It looks like the DITA OT project broke a parameter that used to default to 'no' in previous versions (and according to the documentation should still default to 'no'). This parameter tells the DITA OT whether or not to include parent links in outputs that support them. This is a setting on the XHTML transtype (which we expose as our "Multiple HTML files" deliverable), but many other deliverables use XHTML as part of the transformation (since at their core they use HTML files), this includes CHM, WebHelp, and the Java and Eclipse outputs.

The problem parameter is an ANT parameter named "args.hide.parent.link" and is described here:
http://dita-ot.sourceforge.net/1.5.4/readme/dita-ot_ant_properties.html

Note that despite the fact that those docs say it defaults to 'no' (meaning that these links should not be hidden, meaning that they should actually be visible) the value seems to be defaulting to 'yes'.

Forcibly setting this parameter to 'no' fixes the issue in my testing. You can do that for WebHelp as follows:

1. On the Tools menu select Configure Output.
2. Select "WebHelp" from the list then click Edit.
3. In the dialog that appears (Edit Deliverable Type) click the second tab (Advanced).
4. In the text area (Other output parameters) add the following to tell XMetaL to pass this parameter through to the DITA OT (via ANT):
ANT_PARAM_args.hide.parent.link = no
5. Click OK to dismiss all the dialogs.
6. Generate output using the "WebHelp" deliverable.

If you need to set it for any other output format you would select the corresponding deliverable in step 2.
Logged
Pages: 1
Print
Jump to: