How to suppress related links in PDF output only

Here should go questions about transforming XML with XSLT and FOP.
DitaNewbie
Posts: 6

How to suppress related links in PDF output only

Fri Dec 18, 2015 2:48 pm

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: 327
Location: Craiova

Re: How to suppress related links in PDF output only

Fri Dec 18, 2015 5:59 pm

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

Re: How to suppress related links in PDF output only

Sat Dec 19, 2015 1:56 am

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: 327
Location: Craiova

Re: How to suppress related links in PDF output only

Mon Dec 21, 2015 3:52 pm

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

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest