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

Endnotes within footnotes

New Here ,
Jul 08, 2020 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.

TOPICS
How to

Views

268

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 1 Correct answer

Community Expert , Jul 08, 2020 Jul 08, 2020

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 )

Votes

Translate

Translate
Community Expert ,
Jul 08, 2020 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 )

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
New Here ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

LATEST

Huge thanks to you! The script worked, much appreciated. I used Text Edit to create a JS file and saved it to the scripts folder using your indiscripts link.

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 08, 2020 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 )

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 08, 2020 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

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
New Here ,
Jul 09, 2020 Jul 09, 2020

Copy link to clipboard

Copied

Hi Uwe,

 

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

 

Regards,
Marta

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 10, 2020 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 )

 

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