Closed OliBravo closed 1 year ago
Hello
The script that update the page number is there: https://github.com/ardata-fr/doconv/blob/main/inst/scripts/powershell/docxupdate.ps1
Maybe you will find an issue related to your case.
On my machine, it works as expected, TBH I already had this issue many times. This is Word that has sometimes a problem... Often, refreshing again fixes the issue
Hi, I use
doconv
for updating the table of contents as well as lists of tables and figures. I noticed that the number of pages updates incorrectly. To instert the number of pages I useofficer::run_word_field
function in my Rmd script. Here's a minimal reproducible example:1) rmarkdown (save it as 'index.Rmd')
library(rmarkdown) library(doconv)
render( input = "index.Rmd" )
docx_update("index.docx")