-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Table caption not displaying in Word, if list of objects given to kable #368
Comments
Word is not supported and will not be supported in this case. Sorry. |
I understand and respect the wish to keep things simple. However, wouldn't it (perhaps) be a simple hack with great benefit to treat lists of tables for Word such that the chunk is executed for the first element as if it were a single element and for the list of remaining elements exactly as it is now? That would fix the Caption and numbering / reference problem and leave the arrangement of tables to the user. Best, Ulrike |
I'll reconsider it. Thanks! |
Fixed in the dev version of knitr. Thanks! |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
Thanks for fixing things really fast!
I have one further possible bug: My Word version only shows (and counts) table captions for tables of a single object, not for lists of objects (not even for a list of a single object).
For example, the code below produces tables without a caption in Word (using bookdown::word_document2), while the caption works fine in pdf and html.
Best, Ulrike
The text was updated successfully, but these errors were encountered: