Copy link to clipboard
Copied
Does anyone know if there is a way to create a numbered list that uses only odd numbers? In other words, it would look like:
1.
3.
5.
7.
etc...
Hi @Serene_observer5E99 , You could try this script—select all of the numbered paragraphs before running:
var sp = app.activeDocument.selection[0].paragraphs.everyItem().getElements();
var c = 1;
for (var i = 0; i < sp.length; i++){
sp[i].numberingContinue = false
sp[i].numberingApplyRestartPolicy = true
sp[i].numberingStartAt = c
c = c + 2;
};
Before:
After:
Copy link to clipboard
Copied
Not automatically, but scripting can extend the InDesign feature set. It's not my area of expertise so I'll add the scripting tag to your question.
~Barb
Copy link to clipboard
Copied
There isn't anything inbuilt to help with this as @Barb Binder mentioned. Scripting also does not provide anything that can help as far as I can see. The only thing that could help is creating a plugin but I don't see anything of that sort created. Check out the following discussion which has some solution using a custom typeface
Copy link to clipboard
Copied
Hi @Serene_observer5E99 , You could try this script—select all of the numbered paragraphs before running:
var sp = app.activeDocument.selection[0].paragraphs.everyItem().getElements();
var c = 1;
for (var i = 0; i < sp.length; i++){
sp[i].numberingContinue = false
sp[i].numberingApplyRestartPolicy = true
sp[i].numberingStartAt = c
c = c + 2;
};
Before:
After:
Copy link to clipboard
Copied
If this is a one-and-done need, or for a few relatively short lists, I'd just do the numbering manually. IMHO, it's only worth searching out and implementing more complex methods if lists with this numbering are frequently created or edited.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now