Skip to content
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

pandoc-crossref cannot recognize fig id of mermaid #124

Open
BrentHuang opened this issue Mar 12, 2024 · 1 comment
Open

pandoc-crossref cannot recognize fig id of mermaid #124

BrentHuang opened this issue Mar 12, 2024 · 1 comment

Comments

@BrentHuang
Copy link

BrentHuang commented Mar 12, 2024

pandoc.exe 3.1.12.2

pandoc-crossref v0.3.17.0 git commit 99c6e0512a5afea6f8a27c2ad46ac38b5d472aa7 (HEAD) built with Pandoc v3.1.12.2, pandoc-types v1.23.1 and GHC 9.6.4

windows 10.

my markdown code:
image

flowchart
A -.->B
B -.->C
C -.->D
D -.->A

如[@fig:example_mm]所示
@fig:example_mm 所示

command:
pandoc --filter mermaid-filter.cmd --filter pandoc-crossref --citeproc --number-sections --csl chinese-gb7714-2005-numeric.csl --bibliography myref.bib -M reference-section-title="参考文献" -M link-citations=true --toc -M chapters -M figureTitle="图" -M figPrefix="图" -M tableTitle="表" -M tblPrefix="表" demo-figref.md -o demo-figref.docx

err msg:
Undefined cross-reference: fig:example_mm
Undefined cross-reference: fig:example_mm

@BrentHuang BrentHuang changed the title Cross reference cannot recognize picture id pandoc-crossref cannot recognize fig id of mermaid Mar 12, 2024
@BrentHuang
Copy link
Author

ZhongYic00:fix-figure-caption

fix this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant