Hi
I reprocessed a book in md with diagram-generator figures after upgrading pandoc and pandoc-crossref to the latest through homebrew and of all the crossrefs, the one corresponding to the diagrams are the only one broken. I tried to create an MRE, I hope I didn't introduce some other errors, but the problem persists.
---
title: "The"
---
@fig:cyclomatic.
```{.graphviz #fig:cyclomatic caption="Graphs corresponding to `if` and `while` statements resp."}
graph {
if -- then; if--else; then -- "end if" ; else -- "end if" ;
}
All of this worked with pandoc 2.18, I am not quite sure what pandoc-crossref was running then, unfortunately. Maybe 0.3.13 or 12, guessing from the dates.
Any suggestions? I may file also with the diagram-generator folks in case there is some strange interaction and will crossref (pun intended). Thanks
Hi I reprocessed a book in md with diagram-generator figures after upgrading pandoc and pandoc-crossref to the latest through homebrew and of all the crossrefs, the one corresponding to the diagrams are the only one broken. I tried to create an MRE, I hope I didn't introduce some other errors, but the problem persists.
cmd line:
pandoc --embed-resources --standalone --lua-filter=filters/diagram-generator.lua --filter pandoc-crossref diagram-test.md -o diagram-test.html
output:
Undefined cross-reference: fig:cyclomatic
All of this worked with pandoc 2.18, I am not quite sure what pandoc-crossref was running then, unfortunately. Maybe 0.3.13 or 12, guessing from the dates.
Any suggestions? I may file also with the diagram-generator folks in case there is some strange interaction and will crossref (pun intended). Thanks