How to embed a PDF file into a topics

<oXygen/> general issues.
gopinathselvamin
Posts: 5
Joined: Mon Nov 19, 2018 11:58 am

How to embed a PDF file into a topics

Post by gopinathselvamin » Mon Nov 19, 2018 3:25 pm

Hi,

We have a use case to import a pdf file as graphics into TPS and embed that pdf with a link into DITA Topics.
When we see the preview of this topic, it should display the link and upon clicking the link, the pdf file should open up.
any help to have this use case working is appreciated.

Thanks,
Gopinath selvam

Radu
Posts: 6326
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to embed a PDF file into a topics

Post by Radu » Mon Nov 19, 2018 4:43 pm

Hi Gopinath,

If you have the DITA topic opened in Oxygen in the Author visual editing mode, in the main "DITA" menu there should be a "Link" submenu allowing you to add a file reference, so you could add for example a link to that second PDF file.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

gopinathselvamin
Posts: 5
Joined: Mon Nov 19, 2018 11:58 am

Re: How to embed a PDF file into a topics

Post by gopinathselvamin » Tue Nov 27, 2018 1:18 pm

Hi Radu,

I am using Oxygen XML author version-17.1 integrated with Tech Pub Studio - 2.7 and I don't see any sub menu as link under DITA menu.
I am seeing a related link tag in DITA Topics and if I href a PDF using link tag underneath it, I don't get to open the embedded PDF.
Any help is appreciated.

Thanks
Gopinath Selvam

Radu
Posts: 6326
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to embed a PDF file into a topics

Post by Radu » Wed Nov 28, 2018 9:34 am

Hi Gopinath,

As you are using Oxygen embedded in a larger solution (which modifies its default behavior) maybe you could ask the makers of the "Tech Pub Studio" how such a link should be added.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

priyankaarya
Posts: 2
Joined: Thu Mar 14, 2019 1:05 pm

Re: How to embed a PDF file into a topics

Post by priyankaarya » Thu Mar 14, 2019 2:15 pm

You can create in-line links in the content of a DITA topic using the xref element. The destination of the link can be expressed directly by using the href attribute and the target can be another topic or a specific element within the other topic, another location within the same topic, a file, or a web link. You can also create direct related links to topics, files, or websites in a DITA topic using the related-links element.

Post Reply