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…...This ensures that they are recognized by the TOC. Spacing Between...spaces between the number and the text in ‘toc’, what should I do....