Skip to main content
frameexpert
Community Expert
Community Expert
May 8, 2024
Answered

Cross-references with InDesign Tagged Text

  • May 8, 2024
  • 1 reply
  • 327 views

I am trying to add cross-references via InDesign Tagged Text. I have the code working for adding the Hyperlink Destinations, but can't get the syntax right for the cross-references. Does anyone have a successful example?

This topic has been closed for replies.
Correct answer frameexpert

I can usually reverse-engineer things like this, but it's a little strange with cross-references. When I export, the destination is not present in the tagged text file. The Hyperlink is there, but it appears to create an "index" of where the link should go. It looks like it is based on character count, which is not practical to use when building the tagged text file.

 

My solution will be to output some in-line "codes" for both sides of the links, and then use scripting to build the cross-references. Thank you for the reply Peter.

1 reply

Peter Kahrel
Community Expert
Community Expert
May 9, 2024

You can reverse-engineer it: create a small document with a cross-reference and export it to tagged text. That should show the correct syntax.

frameexpert
Community Expert
frameexpertCommunity ExpertAuthorCorrect answer
Community Expert
May 9, 2024

I can usually reverse-engineer things like this, but it's a little strange with cross-references. When I export, the destination is not present in the tagged text file. The Hyperlink is there, but it appears to create an "index" of where the link should go. It looks like it is based on character count, which is not practical to use when building the tagged text file.

 

My solution will be to output some in-line "codes" for both sides of the links, and then use scripting to build the cross-references. Thank you for the reply Peter.

www.frameexpert.com