-
Notifications
You must be signed in to change notification settings - Fork 132
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
[bug report] Bug of rendering docx with pandoc-crossref by docx_fixed.lua #582
Comments
Hi, thanks for reporting this and suggesting a fix! Would you happen to have a reproducible example, so I can verify and test this before I make the modification in the package? Cheers! |
Thank you for your prompt response! csl: "`r system.file('rmd', 'apa7.csl', package = 'papaja')`"
documentclass: "apa7"
classoptions: doc
output:
papaja::apa6_docx:
pandoc_args: [
"-F",
"pandoc-crossref"
] To ensure this works, please make sure that the latest version of pandoc-crossref.exe is placed in the same directory as your RMD file. |
When I tried to render rmd as docx using the latest version of pandoc and pandoc-crossref, I encountered the following bugs:
I tried to fix this bug by modifying lua, mainly to recognize that the Table function is skipped when adding pandoc-crossref causes the tbl.caption.long to be empty.
After testing, this method is feasible.
The text was updated successfully, but these errors were encountered: