At the moment, there is only one kind of ToC update: Recreating the entire ToC, getting rid of any manual changes which may have been made to it. But - it's possible the user wants to make manual changes, on the one hand, but not let the ToC become irrelevant due to typing some more content or removing some content elsewhere in the document - changes which only affect the page number, and are generally applicable without "messing up" the manual changes the user made to the ToC. I suggest we also support this partial kind of update. IIANM, Microsoft Word supports updating page numbers without recreating the entire ToC.
Created attachment 203880 [details] Table of Contents for testing.
Created attachment 203881 [details] Screenshot of ToC right-click.
Screenshot provided. Enhancement not yet implemented on 25.8.2.2. Request remains valid and would help preserve manual ToC modifications.
UX: encouraging manual manipulation of ToC doesn't make sense to me. What do you think?
(In reply to Buovjaga from comment #4) > encouraging manual manipulation of ToC doesn't make sense to me. That's a fair point, but - we do explicitly support this. The reasons seem to be some combination of history, imitation of MS Word's behavior, and the fact that it's often the case that the automatic layout of the ToC has some kind of issue with the results of tabulation, spacing, overflow etc., and the author may want to tweak it. Perhaps even use alter the item text slightly to improve the layout. Of course, it's good that others chime in about this as well, so thanks for setting the flag.
(In reply to Eyal Rozenberg from comment #5) > ... the automatic layout of the ToC has some kind of issue This does not justify a crooked function. -1