Citation at start of footnote generates a secondary footnote: intended behaviour? #9885
Replies: 3 comments 2 replies
-
What pandoc version? |
Beta Was this translation helpful? Give feedback.
-
Apologies for my very slow response. I have attached a minimal file to demonstrate the problem. Note that it refers to a CSL file which I have also included (from the citation-styles repository; I had to add a
is also attached. From messing around with having pandoc-footnote-issue.md |
Beta Was this translation helpful? Give feedback.
-
OK, I see the issue. Your footnote is:
The contents of a footnote are parsed like other block-level content. But if you just had
It would be parsed as an example list. So that is what is happening. You can defeat this by escaping the period
or turning off the I'm wondering whether there's something we could do to avoid this, as this seems likely to come up frequently. There's an ambiguity that must be resolved between example lists and citations, and you might think pandoc could do that by just recognizing that |
Beta Was this translation helpful? Give feedback.
-
Hi,
If I have a footnote that is like this:
Pandoc generates a secondary footnote, which looks like this in Word:
It is missing both the citation for
@Eruera1997
and creates the non-intended footnote '1' inside the intended footnote '14'. A similar effect happens inLaTeX
, so I don't think it's an artefact of the Word writer. If I add text prior to@Eruera1997
I get an inline citation, which is what I was expecting, so it seems to be specific to the first element of a footnote being a citation.Is this intended behaviour, and if so is there anything I can do to force an inline citation?
Beta Was this translation helpful? Give feedback.
All reactions