You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In docx file output from quarto, tables created with apa_table are prefixed with
(#tab:unnamed-chunk-8)
**
-- where "8" is whatever the chunk number is.
Adding a caption field gets rid of the ** but the erroneous table cross-reference code is still there.
I see there is a pull request from the word-fixes branch that looks like it could fix the issue, but it is not in the released version. Right now the released version is unusable for professional document output without editing the document after generation.
The text was updated successfully, but these errors were encountered:
This fixes a problem, but does not solve it completely for me. The fixes you merged in make the table work properly when using RMarkdown + Bookdown. However, it doesn't work for Quarto documents.
It looks like the problem is that Bookdown wants Table: (\#tab:table-name) Caption, but Quarto wants : Caption {#tbl-table-name} (or a table label and caption metadata in the block).
I've tried to find out how to detect if the block is being parsed with RMarkdown or Quarto but I'm not sure if there is an easy way. My suggestion would be to have a configuration flag somewhere in papaja to tell the library if you want Bookdown style output or Quarto style output.
In docx file output from quarto, tables created with
apa_table
are prefixed with-- where "8" is whatever the chunk number is.
Adding a caption field gets rid of the
**
but the erroneous table cross-reference code is still there.I see there is a pull request from the
word-fixes
branch that looks like it could fix the issue, but it is not in the released version. Right now the released version is unusable for professional document output without editing the document after generation.The text was updated successfully, but these errors were encountered: