Copy link to clipboard
Copied
HI,
I hvae a single indesign file which is followed footnotes i wnat to change below stpes.
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
...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 )
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
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 )
Copy link to clipboard
Copied
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 )