• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
8

Cross-references with InDesign Tagged Text

Community Expert ,
May 08, 2024 May 08, 2024

Copy link to clipboard

Copied

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?

TOPICS
How to , Scripting

Views

61

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 09, 2024 May 09, 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-refere

...

Votes

Translate

Translate
Community Expert ,
May 09, 2024 May 09, 2024

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 09, 2024 May 09, 2024

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines