Pages: 1
Print
Author Topic: Cross reference page number dita  (Read 2883 times)
Roopesh79
Member

Posts: 4


« on: February 11, 2014, 08:32:10 AM »

HI,

I have a problem in Dita PDF cross citation. Whenever i create a cross ref for figure iam getting 'on page 0' on xref link . actual page number is 10. In case of table 'on page' value is correct.

what i need to correct in link.xsl

Thanks
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: February 11, 2014, 04:38:56 PM »

I've attached a sample that demonstrates what I think you are doing in the simplest possible way.
The demo includes a map that references two topics. The second topic references an image using a figure element. The first topic cross references the figure. I've included lots of paragraphs before the figure in the second topic in order to push the image out by quite a few pages in any output.

I've tested with XMetaL Author Enterprise 8.0.1.051 and generated PDF output using both the "XMetaL Enhanced PDF via RenderX XEP" deliverable and the "Book via RenderX" deliverable. In the former the link text says the figure is on page 23 (and it is) and in the latter the link text says the figure is on page 22 (and it is).

Check it against what you have created to see if there's something strange in your markup.

If you need further help I'd recommend submitting a case via XMetaL Support as your issue is likely to be very specific to your setup. It might be in your markup, the version of the DITA Open Toolkit you are using, the deliverable you are using (there are several different deliverables that will generate a PDF), or perhaps custom changes you've made to the DITA OT. If the issue is due to custom changes you would generally be expected to resolve those yourself or to have the person that has made those changes resolve the issue.

* test_files_and_2x_pdf_outputs.zip (87.62 KB - downloaded 240 times.)
Logged
Pages: 1
Print
Jump to:  

email us