Copy link to clipboard
Copied
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?
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
];
Find more inspiration, events, and resources on the new Adobe Community
Explore Now