How to suppress related links in PDF output only

Here should go questions about transforming XML with XSLT and FOP.
DitaNewbie
Posts: 6
Joined: Thu Nov 26, 2015 12:51 pm

How to suppress related links in PDF output only

Post by DitaNewbie »

Hi,

How to suppress "related links" (Parent Child, Next, Previous) in PDF2 output while keeping Maps @collection-type="sequence". The reason I haveto keep this attribute in map is to have "related links" in Xhtml but not in PDF output.

I tried following ant values but does not work, it still appear in PDF.

args.rellinks="none"
args.fo.include.rellinks="none"

DITA-OT 1.8


Any idea?
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: How to suppress related links in PDF output only

Post by radu_pisoi »

Hi,

Did you refer to the links that appear at the start of each chapter? They can be hidden by specifying the args.chapter.layout=BASIC parameter.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
DitaNewbie
Posts: 6
Joined: Thu Nov 26, 2015 12:51 pm

Re: How to suppress related links in PDF output only

Post by DitaNewbie »

No, I mean if you set collection-type=sequence as attribute of map, you will see end of each topic there will be links to 'Previous Topic' and 'Next Topic' printed in PDF.
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: How to suppress related links in PDF output only

Post by radu_pisoi »

Hi,

This seems to be an issue in the DITA-OT PDF plugin. The links to the next and previous topics are generated regardless of the 'args.rellinks' parameter's value.

An workaround for this problem is to remove the collection-type attribute from the map element, but you have to set it to all child topics for the HTML output.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply