Related links to non-DITA resources in PDF output

U-Joe
Posts: 5
Joined: Mon Feb 18, 2019 3:03 pm

Related links to non-DITA resources in PDF output

Post by U-Joe » Wed May 15, 2019 3:17 pm

Hi,

I've added related links section to the topic, here it is:

Code: Select all

<related-links>
    <link href="topicname.dita"></link>
    <link href="http://www.oxygenxml.com" format="html" scope="external">
      <linktext>Example</linktext>
    </link>
  </related-links>
It looks fine both in Webhelp responsive and Word outputs. PDF output displays the first local link without any problem, but the second external link doesn't appear in the output, Oxygen shows the next info message:
[DOTX073I]: Removing broken link to "http://www.oxygenxml.com".
I tried both args.rellinks=default and args.rellinks=all, but the result is the same. Is this limitation of the engine, or do I do something wrong?

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

Re: Related links to non-DITA resources in PDF output

Post by Radu » Thu May 16, 2019 10:41 am

Hi,

This looks like a publishing bug but I cannot reproduce it with Oxygen 21 and its bundled DITA OT 3.x engine.
I'm trying on my side to publish a small DITA Map having a reference to a topic which looks something like:

Code: Select all

<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="introduction">
    <title>Introduction</title>
    <shortdesc>A</shortdesc>
    <body>
        <p>B</p>
    </body> 
	<related-links>
		<link href="t2.dita"></link>
		<link href="http://www.oxygenxml.com" format="html" scope="external">
			<linktext>Example</linktext>
		</link>
	</related-links>
</topic>
but it works for me, I tested with both the XSL-FO based PDF and the CSS-based PDF.
So what version of Oxygen are you using for publishing? Also are you using Oxygen's bundled DITA OT engine or a custom DITA OT version?

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

Post Reply