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

Convert Endnotes to Static Text While Preserving Roman Numeral Superscripts

Community Beginner ,
Oct 14, 2025 Oct 14, 2025

I've been using this script:
https://creativepro.com/files/kahrel/indesign/footnote_endnote_conversion_cc2018.html

It works well to convert endnotes to static text, but it resets my superscript Roman numeral references back to default numbering (1, 2, 3). I’d like to keep both the superscript formatting and the Roman numeral style in the converted static endnotes.

Is there a way to convert endnotes to static text without losing the Roman numeral superscripts?

TOPICS
How to , Scripting
124
Translate
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 , Oct 14, 2025 Oct 14, 2025

I updated the script so that it now handles lower-case Roman numbers (in addition to Arabic numbers).

 

As for formatting of the references, the script respects that when you use a character style for the endnote references: create a character style, apply superscript, and apply that character style in the Endnote Options window.

Translate
Community Expert ,
Oct 14, 2025 Oct 14, 2025

I updated the script so that it now handles lower-case Roman numbers (in addition to Arabic numbers).

 

As for formatting of the references, the script respects that when you use a character style for the endnote references: create a character style, apply superscript, and apply that character style in the Endnote Options window.

Translate
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 Beginner ,
Oct 14, 2025 Oct 14, 2025
LATEST

Amazing! Thank you so much for you're speedy response! It was racking my brain for ages (as I don't script myself) and ChatGPT didn't help at all, haha. The script works wonders! However I needed it to work for Upper Roman numerals, but that was an easy fix when reading the script. thanks again, you're amazing!

For anyone that needs it in Upper Roman, you can edit the script easily to read:

	var roman = app.documents[0].endnoteOptions.endnoteNumberingStyle === NumberingStyle.UPPER_ROMAN;

	var romanDecimals = [
		['', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX'],       // ones
    ['', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC'],       // tens
    ['', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM'],       // hundreds
    ['', 'M', 'MM', 'MMM','4M','5M','6M','7M','8M','9M'],                 // thousands 
	];

 

Translate
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