Page 1 of 1

Linking to PDF docs fails to build webhelp output

Posted: Mon Oct 21, 2019 2:23 pm
by syed
Hi,

There are a couple of references to PDF docs - first from a topicref in a dtiamap and second from the link element in a dita topic. When i remove those two references, webhelp output is generated successfully. Otherwise, the build fails.

Is it not supported by webhelp to link to PDF docs?

Thanks..
Syed

Re: Linking to PDF docs fails to build webhelp output

Posted: Mon Oct 21, 2019 3:16 pm
by Costin
Hello,

In case you have topic references that refer non-DITA document types, then you should make sure that you set the correct format and scope attributes on the corresponding <topicref> elements.
You can use the Validate and Check for Completeness action from the DITA Maps Manager view to find any references to non-DITA files in your DITA Map, prior to applying the transformation scenario.
Then double check that their corresponding topicrefs have the correct attributes set.
For more information on using non-DITA references in your DITA Map, please see the "Non-DITA topic references" section from the DITA Styleguide.

As for the 2nd reference ("...and second from the link element in a dita topic"), how are you linking it into to the topic?
Are you using a <link> element in the topic's related links section, or are you using an xref somewhere inside the topic content? And if you are using an xref, does it have an href or a keyref attribute?

If you still encounter issues, you should send us a screenshot of the error you receive, as well as the entire transformation log from the console.
You could use our official technical support email (support@oxygenxml.com) for that.

Best Regards,
Costin

Re: Linking to PDF docs fails to build webhelp output

Posted: Wed Oct 23, 2019 8:59 am
by syed
Thanks Costin. This issue is no more seen without doing anything.

Syed