Skip to main content
Eshu153
Inspiring
December 27, 2019
Answered

End notes creation after each section

  • December 27, 2019
  • 3 replies
  • 1238 views

Hi,

 

I am working on a document with 4 sections which has 1500 End notes. I have a requirement to make the end notes come at the end of their respective section. 

 

I have tried creating sample 4 section document with End notes, and set the end of story option. But, this doesn't change anything. Endnotes seems to come at the end only.

 

Is it possible to create end notes for each section instead at the end?

This topic has been closed for replies.
Correct answer Laubender

Hi Eshu153,

if you have one version of your project with one single stream of text flowing from page to page in one single document, stay with this document! It would not better the situation with endnotes if you try to split the document in several ones and organize them with an InDesign book file.

 

So now to the question how to split one flow of text through several text frames to two stories:

Use a script for that. E.g. this ExtendScript (JavaScript): StorySplitter.jsx

https://github.com/jalberts/StorySplitter/blob/master/StorySplitter.jsx

 

Screenshots from my German InDesign below.

1. I selected a text frame that should mark the end of a story.

2. Executed the script from InDesign's Scripts Panel.

3. Selected option "Split After Selected Frame"

 

 

After pressing OK for running the script the single story is now split into two:

 

 

 

Just tested the code with InDesign 2020 on Windows 10. It should also run on Mac OS X.

How to work with posted code, save it to a script *.jsx file and install the script file, see here:

http://www.indiscripts.com/pages/help#hd0sb2

 

FWIW: Just make sure that you work on a duplicate of your InDesign document in case something goes wrong and you need to revert to the initial state of the document.

 

Regards,
Uwe Laubender

( ACP )

3 replies

LaubenderCommunity ExpertCorrect answer
Community Expert
December 30, 2019

Hi Eshu153,

if you have one version of your project with one single stream of text flowing from page to page in one single document, stay with this document! It would not better the situation with endnotes if you try to split the document in several ones and organize them with an InDesign book file.

 

So now to the question how to split one flow of text through several text frames to two stories:

Use a script for that. E.g. this ExtendScript (JavaScript): StorySplitter.jsx

https://github.com/jalberts/StorySplitter/blob/master/StorySplitter.jsx

 

Screenshots from my German InDesign below.

1. I selected a text frame that should mark the end of a story.

2. Executed the script from InDesign's Scripts Panel.

3. Selected option "Split After Selected Frame"

 

 

After pressing OK for running the script the single story is now split into two:

 

 

 

Just tested the code with InDesign 2020 on Windows 10. It should also run on Mac OS X.

How to work with posted code, save it to a script *.jsx file and install the script file, see here:

http://www.indiscripts.com/pages/help#hd0sb2

 

FWIW: Just make sure that you work on a duplicate of your InDesign document in case something goes wrong and you need to revert to the initial state of the document.

 

Regards,
Uwe Laubender

( ACP )

Eshu153
Eshu153Author
Inspiring
December 30, 2019

Hi Uwe,

 

I have used a similar script to split the story frames. But, as i have 400 end notes for each section, adding pages and reflowing the remaining text, all kind of little problem oriented and in bookm it sounds easier to update each book and export. I will try again your method and check if it is more faster that what I expected.

 

Thank you for such neat explanation.

Community Expert
December 30, 2019

Hi Eshu153,

hm, just a warning:

I did not try the script with a document that has endnotes ( or footnotes )

So inspect the result thoroughly.

 

Regards,
Uwe Laubender

( ACP )

Barb Binder
Community Expert
Community Expert
December 28, 2019

Hi Eshu:

 

Is it possible to create end notes for each section instead at the end?

Yes. Each of the four sections should be a separate set of threaded frames (each concluding with an empty out port), and the Document Endnote Options should be set to Scope: Story.

 

~Barb

 

~Barb at Rocky Mountain Training
Eshu153
Eshu153Author
Inspiring
December 28, 2019

I tried unlinking in a test document with two sections already like shown in your video. And set to story. Somehow, it didn't work for me. Will try again. Not sure if i am doing something wrong. 

Eshu153
Eshu153Author
Inspiring
December 28, 2019

Right click on the output port would unlink the flow in the current document?

Thus keeping end notes after each section? Or do I need to create individual sections as separate chapters and combine them?

 

Currently, i did seperate all 6 sections into 6 documents and combined in form of a book. But, I would like to implement in the same document. So, it's easier for client future modifications.

 

Community Expert
December 27, 2019

Hi Eshu153,

you have to understand that you have to provide one story that is running through several text frames for each section in your document. Page sections do not count as sections in regard to endnotes ( or footnotes ). EDITED: Was wrong on the footnotes part.

 

Regards,
Uwe Laubender

( ACP )

Eshu153
Eshu153Author
Inspiring
December 28, 2019

Ok. So, creating several documents with separate sections with end notes at the end is the only option? I am afraid, if client can handle multiple documents in a book for his further changes. Is there any way, i can workout this in the single document?