Closed eeenilsson closed 1 year ago
Ok, i was using bookdown::word_document2:
in the yaml header. Changing it to officedown::rdocx_document:
made it work like expected.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Using rmarkdown::render to knit the following .rmd file below. The cross reference does not work in MS Word, displaying a ? at the reference and a table caption looking like this "(#stab:airquality6)airquality dataset". It works as expected when seq_id is set to "tab".
Test a table with different seq_id:
This is a reference to Table
\@ref(tab:airquality6)
.This is a reference to Table
\@ref(stab:airquality6)
.