Hmm, perhaps another option is to use an 'Index' field, but I'm not sure which switch to use and what parameters to use after the switch to attach it to the numbered list.
Scrap that, looks like Index is something else entirely.
gmayor, I think I'll just name my chapters manually, create a new style just for them and use your code to generate the numbers. Seems to be working now, many thanks.
Now I'm working on getting my section numbering working. Looks like you can't restart section numbering willy nilly, so unfortunately, that brings me back to trying to link to a number in a numbering scheme. hmm
Unless it's possible to extract the number from the Style of the sub heading? e.g. 1. Introduction, is it possible to get the number 1 from it somehow?
Last edited by NIDALAP; 06-16-2019 at 07:23 PM.
|