Skip to content

Citations Not Numbered in Pandoc Generated PDF When Using Endnote Note Style #35

Open
@SmartLayer

Description

@SmartLayer

Repository Branch:
The issue is isolated in the citations branch, not in the main.
View Branch

Steps to Reproduce:

  1. Execute the following command:
    $ pandoc --resource-path=src/papers --citeproc --bibliography src/papers/smart-layer-technical-paper.bib -o src/papers/smart-layer-technical-paper.pdf src/papers/smart-layer-technical-paper.md
    
  2. Check the generated PDF. The citations at the document's end are not numbered.

Temporary Workaround:
Instructions have been added to the README to use chicago-note-bibliography.csl, which places citations as footnotes. In this mode, citations are numbered correctly. However, it's worth noting that the preferred style in the blockchain domain is endnotes, not footnotes.

Environment:

Pandoc Version: 3.1.8
Features: +server +lua
Scripting Engine: Lua 5.4
User Data Directory: /home/weiwu/.local/share/pandoc

Official Pandoc Website About Citations

What Methods Didn't Fix This:

  • Using the --csl=filename parameter with a CSL file (e.g., apa.csl) changes the style but doesn't number the citations. See the screenshot for reference:
    image

Desired Outcome:
Citations should appear as an ordered list in the endnote style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions