Closed me89 closed 3 years ago
The list of figures uses the page number as it appears on a PDF export, which is the only way to achieve page numbering in Google Docs Script. Unfortunately, there is no official way to access page numbers in the document itself so this behaviour can't be changed.
Page numbers are in the List of Figures based on the page number of the document and not of the section (which is also used for the Table of Content).