Hello,

I'm very new to using tools such as pandoc so it's very possible that this is a case of mis-reading TFM, but hours of searching thru Stackoverflow and other community posts have left me at a dead-end so I hope someone can help me out.

I'm trying to convert Markdown files that have BiBTeX style citations into Markdown again but expand the citation as a footnote. I've come close using the Chicago Manual of Style 17th edition CSL but am finding that the citation gets expanded twice. A minimal example below:

Original Markdown file - cite.md:
Here is one reference citing the Reactome Project. [^1]

[^1]: @deustachio_2003


BiB file - cite.bib:
@article{deustachio_2003, title={Pentose phosphate pathway}, volume={5}, DOI={10.3180/react_1859.1}, journal={Reactome - a curated knowledgebase of biological pathways}, author={Deustachio, P}, year={2003}, month={Mar}}

Pandoc command:
pandoc cite.md --filter pandoc-citeproc -t markdown_mmd -o cite-new.md --bibliography=cite.bib --csl=chicago-full.csl

Output file - cite-new.md:
Here is one reference citing the Reactome Project.[^1]

<div id="refs" class="references hanging-indent" markdown="1">

<div id="ref-deustachio_2003" markdown="1">

Deustachio, P. Pentose Phosphate Pathway.” *Reactome - a Curated
Knowledgebase of Biological Pathways* 5 (March 2003).
<https://doi.org/10.3180/react_1859.1>.

</div>

</
div>

[^1]: P Deustachio, Pentose Phosphate Pathway,” *Reactome - a Curated
   
Knowledgebase of Biological Pathways* 5 (March 2003),
   
<https://doi.org/10.3180/react_1859.1>

I have not been able to figure out how to prevent the additional citation in the <div></div> from appearing in the output Markdown file and would appreciate any help in this regard!

FWIW, this is using pandoc 2.9.2.1 on Windows.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5041cd75-7c55-41ec-a8c6-ac28580a39ef%40googlegroups.com.