Closed mlamias closed 8 months ago
It's a missing feature in Quarto. See https://github.com/davidgohel/flextable/issues/565#issuecomment-1695118970, https://github.com/davidgohel/flextable/issues/494, https://github.com/quarto-dev/quarto-cli/issues/1556, https://davidgohel.github.io/flextable/reference/set_caption.html#using-quarto-, https://ardata-fr.github.io/flextable-book/captions-and-cross-references.html#cross-references
Captions will work in Quarto with HTML and PDF but not Word.
Thanks @davidgohel. Sorry I missed this in the documentation. I did read through several pages and through opened cases, but I totally missed these. Thanks for pointing this out. I really appreciate the assist.
This issue can be closed, captions seem to work as expected with Quarto 1.4.549
.
For future readers, TLTR, set_caption()
has not effect with Quarto that manage captions on its own.
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.
It seems that
set_caption
does not appear to be working (for me, at least) when rendering in Quarto to a Word document using the following yaml header:I have the following code in my .qmd file: