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

Script to reverse Cross-Reference direction

Engaged ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

I'm looking for a simple script that reverses direction of all cross-references in the document. Each tip will be helpful.

TOPICS
Scripting

Views

354

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 ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

Why do yuo think that that would be simple?

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 ,
Jul 11, 2017 Jul 11, 2017

Copy link to clipboard

Copied

What does this mean, "reverse direction"?

E.g., do you have a cross-reference in your text that says "see Liang (1981)" that points to a line in a bibliography section, and now you want to change it so the bibliographic entry points to that text? What if there is more than one cross-reference to the same entry?

You may want to explain what purpose this has.

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
Engaged ,
Jul 11, 2017 Jul 11, 2017

Copy link to clipboard

Copied

LATEST

Hi, Peter, Jongware

Sometimes I have to set up such end notes like this one below.

I always do it using the script written by Kasyan Servetsky «Create Text Anchors» which doing the half ot the job.
The next half I have to do manually   Your script «Manage Text Anchors» is very helpful in this boring job.  Thank you Peter!

I thought that the simplest way would be first Convert Footnotes to Dynamic Endnotes (using of course your excellent and script, Peter) and the convert directions of the anchors. (corss-ref destination to text and corss-ref to endnotes) Maybe it is not so simple. A am sorry for that suggestion.


I know that such kind of endnotes it is not usual in English or American typography. However sometimes authors or publishers want such kind of  endnotes in biographies, diaries, letters, etc.  because they do not distract the reader.


Incipits (these fragments of text set in italic) I made manually in endnotes so, but sometimes I use for it Kasyan's script too. It is very helpful. I use these fragments as the Anchor Names. It's risky because sometimes names of anchors can be repeated. But I don't know any better idea to automatically copy the fragment of the paragraph to cross reference.

Plik 05.07.2017, 11 01 27.jpeg

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