I’m trying to do something similar to what has been asked here.
I’m following this article and I got stuck at the section about Figures and Section referencing using Pandoc-crossref.
- I’m using windows.
- I’ve installed pandoc, added it to the PATH and placed the pandoc-crossref.exe in the same folder as pandoc.
- I’ve installed the obsidian plugin- Enhancing Export
- I’ve added –filter pandoc-crossref in the extra arguments field in the export to word setting of that plugin. Everything else is set to default (no bibliography or anything else).
- For testing, I’m using the example markdown file provided here
Now, all you need is to write {#fig:your_fig_name} next to your figures as such:
{#fig:your_fig_name}
And in-text, reference the figure with: @fig:your_fig_name
When I try to export as word, I get the following error- Undefined cross reference
The word file is created but the reference and tag are in plain text just as they were in markdown.
Anyone have any ideas what I could try?