[Help] Correct syntax for `se renumber-endnotes`

19 views
Skip to first unread message

David

unread,
Jun 22, 2026, 11:33:48 AM (2 days ago) Jun 22
to Standard Ebooks
I think I managed this once before, but I feel like I could use a little more guidance than the `se renumber-endnotes -h` command gives, or than I can divine from looking at the code.

So ... say I have a production with 1351 endnotes. I discover that after n.1206, I need to introduce a new note (so "new 1207"), and thus bump the current nn.1207-1351 to nn.1208-1352.

I assume I do the "bump" first, then introduce the new note. But I cannot work out the syntax for the `se` command. Can anyone help? Thanks!

David / Fife, UK

Alex Cabal

unread,
Jun 22, 2026, 11:35:16 AM (2 days ago) Jun 22
to standar...@googlegroups.com
se shift-endnotes --increment 1 1206

On 6/22/26 10:33 AM, David wrote:
> I think I managed this once before, but I feel like I could use a little
> more guidance than the `se renumber-endnotes -h` command gives, or than
> I can divine from looking at the code <https://github.com/
> standardebooks/tools/blob/master/se/commands/renumber_endnotes.py>.
>
> So ... say I have a production with 1351 endnotes. I discover that after
> n.1206, I need to introduce a new note (so "new 1207"), and thus bump
> the current nn.1207-1351 to nn.1208-1352.
>
> I assume I do the "bump" first, then introduce the new note. But I
> cannot work out the syntax for the `se` command. Can anyone help? Thanks!
>
> David / Fife, UK
>
> --
> You received this message because you are subscribed to the Google
> Groups "Standard Ebooks" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to standardebook...@googlegroups.com
> <mailto:standardebook...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> standardebooks/836ca876-3729-45b3-bc70-628a9ed1581an%40googlegroups.com
> <https://groups.google.com/d/msgid/standardebooks/836ca876-3729-45b3-
> bc70-628a9ed1581an%40googlegroups.com?utm_medium=email&utm_source=footer>.

David

unread,
Jun 22, 2026, 1:24:03 PM (2 days ago) Jun 22
to Standard Ebooks
It's so simple when you put it that way. :)

It also helps to be looking at the correct command! Thanks for the help.
Reply all
Reply to author
Forward
0 new messages