Page 1 of 1

Editing content of links

Posted: Fri Nov 20, 2015 2:06 pm
by Victor
Hi,

Using the DITA-OT1.8.5 transformation to Pdf, a link in a topic to a figure or table results in a reference to a page number in the publication.
If a topic contains a link like this: <xref href="#Concept_1/figure-id1"/>, it will show up like this "Figure 1: image_title on page 10" in the Pdf.

I would like to skip the "on page 10" part of the link, and realized this by changing the "links.xsl" file of the OT. In this file, I skipped the call of the "insertPageNumberCitation" template.

Although the change is successful, I expect it to be hard to maintain because the file is part of the OT.
Is there a way to realize this change in a file of the "customization" folder? E.g. in the "custom.xsl" file?

Thanks in advance, Victor

Re: Editing content of links

Posted: Mon Nov 23, 2015 2:53 pm
by radu_pisoi
Hi,

DITA Open Toolkit PDF output can be customized in several ways:
  • creating a DITA Open Toolkit plugin which adds extensions to the PDF plugin. More details can be found in the DITA Open Toolkit user manual.
  • Creating a customization directory and using it from the PDF transformation scenario.
You can find more details in our user manual:
http://oxygenxml.com/doc/versions/17.1/ ... ation.html