PDFs for several documents in the WebHelp Responsive output

Kristine
Posts: 2
Joined: Thu Oct 14, 2021 12:13 pm

PDFs for several documents in the WebHelp Responsive output

Post by Kristine » Thu Oct 14, 2021 12:30 pm

Hello,

We are trying out a transformation scenario for three documents in one project, but right now we cannot find an easy way to add a PDF for each document, not the entire project. The 'webhelp.pdf.link.url' attribute seems to allow only one PDF.

Do you have any suggestions on how to add three, respective PDFs for each document?

Thank you!

Costin
Posts: 747
Joined: Mon Dec 05, 2011 6:04 pm

Re: PDFs for several documents in the WebHelp Responsive output

Post by Costin » Fri Oct 15, 2021 12:20 pm

Hello,

Indeed, in the current implementation of WebHelp, the "webhelp.pdf.link.url" allows a single value, so it is not possible to refer multiple PDF documents.
However, even if there is no predefined support for this, we already have a customization example to add a custom component and which could be used to associate a specific resource to a topic (you can find the customization and more details on the use-case https://github.com/oxygenxml/oxygen-pub ... -component).
In that specific example, the resource associated to the topic is a video file, but extrapolating this, maybe you could use the same procedure and adapt it to associate PDF files to your topics.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

Post Reply