-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken captions for tables on Word documents #556
Comments
Hi Thomas, I just merged the branch. Could you try installing from the |
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 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. |
I am having the same problem with an html document. My code in a chunk called ALS: The caption is printed as: (#tab:ALS) Descriptives for ALSlower I've tried doing some things that people report have interfered with reference labels, but the problem persists. Thanks! |
Hi there, can you try using the document format |
bookdown::html_document2 did the trick. Thank you!
…________________________________
From: Frederik Aust ***@***.***>
Sent: Friday, December 13, 2024 3:31 AM
To: crsh/papaja ***@***.***>
Cc: scsphd ***@***.***>; Comment ***@***.***>
Subject: Re: [crsh/papaja] Broken captions for tables on Word documents (Issue #556)
Hi there, can you try using the document format bookdown::html_document2 to see if this fixes the issue? If it does not, can you share a minimal reproducible example? Also, could you try using different labels for each table?
—
Reply to this email directly, view it on GitHub<#556 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKFYPZW7PZPUORE7I23QJML2FLAQZAVCNFSM6AAAAABTQR77IWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBRGI2DINBTGQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
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: