Renumbering superscript notes?

C

Carrie Downes

I'm wondering if it's possible to create a macro that will renumber all the
occurrances of superscipt consecutively--even if they're not using the
endnote or footnote function?

The reason for the last part is that I currently use a macro that unembeds
the notes and changes the note numbers to superscript. This way I can move or
renumber a note manually without deleting the corresponding text of the note.
However, it would be a great help if I could set up a macro that would, after
I'm finishing editing, go through the document and renumber all the notes
consecutively in case there's one that was missing, out-of-sequence, etc. Is
this even feasible?

Thanks in advance!
~Carrie
 
K

Klaus Linke

Hi Carrie,

It'd be easier to replace the typed footnote references with a numbering field,
using a wildcard replacement.

Create a field { SEQ myFoot } and format it as superscripted.
Cut it to the clipboard.

Then, Edit > Replace, check "Match wildcards",
Find what: [0-9]{1,} ((+ Format > Font > Raised))
Replace with: ^c

You might have to update fields (Ctrl+A, F9) and toggle the display of field
codes (Alt+F9).

Regards,
Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top