-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Captions that behave like captions #676
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
Comments
+1 |
The method described in #359 works for adding captions with updating numbers as you'd expect. Only catch is that the user has to |
But why is it that way? After CMD+A F9 and saving the docx with MS Word the numbering is still there when reopen with Word. The CMD+A F9 should be able via python3-docx, too. |
I found a code snippet about how to auto-update a TOC.
Can this be used somehow to update the numbering fields in table/figure captions? My current code to add captions to tables (and later figures) is this
But I don't know how and where to add this auto-update element in there? |
Say that I appended to document an inline picture contained in a file called figure_file_name as follows:
add_picture(figure_file_name)
Then, say that I am subsequently creating a caption as follows:
How do I then make this paragraph, which has the Caption style indeed, actually behave like a caption, i.e., move with the figure (and possibly refer to it with a Fig. 1 marking), as if it had been created in the MS Word GUI?
If I am not missing anything, the API currently does not allow for it. It would be a nice feature to have however. Thank you.
The text was updated successfully, but these errors were encountered: