writer2latex: page numbering and Contents errors

I’m testing out writer2latex embedded in Writer with a 580-page document in Writer, which displays correctly in Writer, with a Contents list and an Index. On converting to Latex I find the pdf file, as displayed in TexStudio, exhibits the following problems:

  1. the page numbering keeps returning to 1 in the footers, showing typically: ‘238 of 580’ in the top bar, but ‘Page 101 of 91’ in the page footer. It’s always ‘91’!

  2. The Contents listing of chapter titles appears correctly, except that it is preceded by a complete listing of all the subtitles throughout the book.

Using Version: Build ID: 1:6.0.7-0ubuntu0.18.04.10 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: en-GB (en_GB.UTF-8); Calc: group

Writer2Latex isn’t delivered by LibreOffice / TDF - please turn to the developer of the extension at http://writer2latex.sourceforge.net/