The minimal working example Markdown file is
---
title: MWE
---
Foo @rezende_cric_2021 foo
Bar [@rezende_cric_2021].
when I run pandoc --from markdown --citeproc --bibliography=references.bib --csl=ieee.csl mwe.md --to native
, I get
[ Para
[ Str "Foo"
, Space
, Cite
[ Citation
{ citationId = "rezende_cric_2021"
, citationPrefix = []
, citationSuffix = []
, citationMode = AuthorInText
, citationNoteNum = 1
, citationHash = 0
}
]
[ Str "[1]" ]
, Space
, Str "foo"
]
, Para
[ Str "Bar"
, Space
, Cite
[ Citation
{ citationId = "rezende_cric_2021"
, citationPrefix = []
, citationSuffix = []
, citationMode = NormalCitation
, citationNoteNum = 2
, citationHash = 0
}
]
[ Str "[1]" ]
, Str "."
]
The citationMode
is correct. @rezende_cric_2021
is AuthorInText
and [@rezende_cric_2021]
is NormalCitation
.
When I run pandoc --from markdown --citeproc --bibliography=references.bib --csl=ieee.csl mwe.md --to html
, I get something like
Foo [1] foo
Bar [1].
instead of
Foo T. Rezende et al. (2021) foo
Bar [1].
Can I have some help fixing the CSL?