-
Notifications
You must be signed in to change notification settings - Fork 25
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
No caption numbers in docx output #106
Comments
I have the same problem. I noticed it when trying to work out why I was getting "Bad reference" errors. Finally noticed that none of the figures were numbered, which is why the reference was bad. This wasn't happening a couple of weeks ago. We're preparing a report and have been running the same command many times over the last few weeks. In case it's relevant, around the same time I got this error when running the command:
This can be fixed by manually changing core.py as @nandokawka writes here. It seems more than a coincidence that the figures stop appearing around the same time as this error. |
I have changed core.py, but the error still exist. |
Same issue with
If you refer to the figure you get |
Maybe this could help in finding a bugfix. I'm running into similar issues when trying to generate LaTeX or HTML output. From some very rough debugging attempts I'm getting the feeling, that these "free standing" images are not properly processed by the fignos filter.
you can get rid of the After having a quick look at pandoc-fignos/pandoc_fignos.py Line 294 in 6ab8ac6
'Para' and 'Div' but should also somehow handle 'Image ' . Maybe this has to do with a change to Pandoc 3.x?
|
Hi
I,m triying to generate a very simple docx with an image an it's corresponding caption.
However, my output doesn't looks like the ones in the examples.
This is the source file (markdown)
and this is the command used:
pandoc -f markdown -t docx test.md --filter pandoc-fignos -o test.docx
This is the output I get in MS Word (no number, not even "Figure" caption)
My enviroment:
Probably it's something really simple, but I can't find it.
Regards,
Carlos
The text was updated successfully, but these errors were encountered: