doc.updateFields(), you have to manually update the entire directory after opening word. Moreover, the table Of contents is inconsistent with the first-level heading, and there should be two spaces between the serial n…...Discourse March 25, 2025, 4:05pm 2 @Crane It seems you are experiencing...styles (e.g., Heading 1, Heading 2) when inserting your headings...