Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Footnotes convert to endnote and place before every chapter in book document

Community Beginner ,
Aug 27, 2021 Aug 27, 2021

Copy link to clipboard

Copied

HI,

 

I hvae a single indesign file which is followed footnotes i wnat to change below stpes.

  1. Convert footnotes to endnote.
  2. Converted footnotes will be placed end of the every chapter in a single document.
TOPICS
Scripting

Views

41

Likes

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 2 Correct answers

Adobe Community Professional , Aug 30, 2021 Aug 30, 2021
Hi sriscript, let's see into DOM documentation. There is no direct way to convert a footnote to endnote by scripting. So what to do? Add a new endnote at the position of every footnote. Duplicate the footnote's texts to the first insertion point of the endnote texts and remove the footnote. The placement of the endnotes can be controlled with property scopeValue of the document's endnoteOptions. See DOM documentation compiled by Gregor Fellenz: https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Footnote.html...

Likes

Translate

Translate
Adobe Community Professional , Aug 30, 2021 Aug 30, 2021
Ah! You want to place the text frames of the endnote stories before the chapter? Then add pages before the story and move the text frames of the endnote stories. The scripting DOM has method add() and method move() : https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Pages.html#d1e205483__d1e205532 https://www.indesignjs.de/extendscriptAPI/indesign-latest/#TextFrame.html#d1e526121__d1e529961 Regards, Uwe Laubender ( ACP )

Likes

Translate

Translate
Adobe Employee ,
Aug 29, 2021 Aug 29, 2021

Copy link to clipboard

Copied

Hi there,

 

Thanks for reaching out. Please check out the suggestions on this helpful community thread & the script shared here. Let us know if it helps.

 

Regards,

Ashutosh

Likes

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
Adobe Community Professional ,
Aug 30, 2021 Aug 30, 2021

Copy link to clipboard

Copied

Hi sriscript,

let's see into DOM documentation. There is no direct way to convert a footnote to endnote by scripting.

So what to do? Add a new endnote at the position of every footnote. Duplicate the footnote's texts to the first insertion point of the endnote texts and remove the footnote.

 

The placement of the endnotes can be controlled with property scopeValue of the document's endnoteOptions.

 

See DOM documentation compiled by Gregor Fellenz:

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Footnote.html

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Endnote.html

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#EndnoteOption.html

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#InsertionPoint.html#d1e517669__d1e524454

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#StoryTypes.html

 

Regards,
Uwe Laubender

( ACP )

Likes

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
Adobe Community Professional ,
Aug 30, 2021 Aug 30, 2021

Copy link to clipboard

Copied

LATEST

Ah! You want to place the text frames of the endnote stories before the chapter?

Then add pages before the story and move the text frames of the endnote stories.

The scripting DOM has method add() and method move() :

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Pages.html#d1e205483__d1e205532

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#TextFrame.html#d1e526121__d1e529961

 

Regards,
Uwe Laubender

( ACP )

Likes

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