Highlighted

Endnotes within footnotes

New Here ,
Jul 08, 2020

Copy link to clipboard

Copied

I need to insert an endnote within a footnote. It seems that it's not possible to do it automatically... Is there any way to do it?

 

Thank you very much.

Adobe Community Professional
Correct answer by Laubender | Adobe Community Professional

Ah. Read your question again. You need to insert an endnote in a footnote text, right?

Sorry. This is a different code:

app.selection[0].createEndnote();

Same as before. Select the insertion point before you run the ExtendScript script.
And yes, this is working. By scripting, only.

 

Regards,
Uwe Laubender

( ACP )

TOPICS
How to

Views

47

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

Endnotes within footnotes

New Here ,
Jul 08, 2020

Copy link to clipboard

Copied

I need to insert an endnote within a footnote. It seems that it's not possible to do it automatically... Is there any way to do it?

 

Thank you very much.

Adobe Community Professional
Correct answer by Laubender | Adobe Community Professional

Ah. Read your question again. You need to insert an endnote in a footnote text, right?

Sorry. This is a different code:

app.selection[0].createEndnote();

Same as before. Select the insertion point before you run the ExtendScript script.
And yes, this is working. By scripting, only.

 

Regards,
Uwe Laubender

( ACP )

TOPICS
How to

Views

48

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
Jul 08, 2020 0
Adobe Community Professional ,
Jul 08, 2020

Copy link to clipboard

Copied

Hi mvallri,

not with InDesign's footnote feature as presented with a menu in the user interface.

To my surprise it was possible using a script.

 

Try the following.

Select the insertion point where you want to insert the footnote and run the following ExtendScript (JavaScript) code:

app.selection[0].footnotes.add();

 

How to save ExtendScript code to a script file, how to install and run the script file see:

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

 

Because this is a thing one cannot do in the user interface test the document very well.

Export to PDF: Is the footnote visible?

Export to EPUB: Is the footnote visible?

Publish Online: Is the footnote visible?

Also export to IDML, open the IDML file as document and see if the footnote in the endnote is still intact.

 

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
Reply
Loading...
Jul 08, 2020 1
Adobe Community Professional ,
Jul 08, 2020

Copy link to clipboard

Copied

Ah. Read your question again. You need to insert an endnote in a footnote text, right?

Sorry. This is a different code:

app.selection[0].createEndnote();

Same as before. Select the insertion point before you run the ExtendScript script.
And yes, this is working. By scripting, only.

 

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
Reply
Loading...
Jul 08, 2020 1
Adobe Community Professional ,
Jul 08, 2020

Copy link to clipboard

Copied

Same cautions needed as with a footnote in an endnote text:

Because this is a thing one cannot do in the user interface test the document very well.

Export to PDF: Is the endnote visible?

Export to EPUB: Is the endnote visible?

Publish Online: Is the endnote visible?

Also export to IDML, open the IDML file as document and see if the endnote in the footnote text is still intact.

 

Regards,
Uwe Laubender

( ACP )

 

// EDITED

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
Reply
Loading...
Jul 08, 2020 1
New Here ,
Jul 09, 2020

Copy link to clipboard

Copied

Hi Uwe,

 

I've tried this and it works perfectly! Thank you very much!

 

Regards,
Marta

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
Reply
Loading...
Jul 09, 2020 0
Adobe Community Professional ,
Jul 10, 2020

Copy link to clipboard

Copied

Hi Marta,

well, yes.

But be cautious.

An endnote in a footnote text is uncharted territory.

 

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
Reply
Loading...
Jul 10, 2020 0