Closed njbart closed 1 year ago
Definitely a bug. Crossrefs are a major target for our 1.2 release, so hopefully we'll address this in the next few weeks.
I just wanted to piggyback on this issue as I am have the same problem with table cross references using gt. Running the code above from njbart works if I render the document as html, but not as a docx. Tthe gt table is created but not given a label ("unable to resolve crossref @tbl-gt") when I render a docx. I am using the Quarto 1.3.361, Rstudio version 2002 .02.3 "Prairie Trillium" and R version 4.2.1 "Funny-Looking Kid" test.docx
This document now renders cleanly on main
:
Bug description
Citations in captions provided inside R chunks are properly resolved for figures (which is amazing, many thanks), but not for gt tables.
Example:
: My Caption [Source: @author:2015, 87]. {#tbl-letters}