Skip to content

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

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

Open
SmartLayer opened this issue Sep 22, 2023 · 0 comments

Comments

@SmartLayer
Copy link
Contributor

SmartLayer commented Sep 22, 2023

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.

@SmartLayer SmartLayer changed the title citation work citation work on src/papers/smart-layer-technical-paper.md Sep 22, 2023
@SmartLayer SmartLayer changed the title citation work on src/papers/smart-layer-technical-paper.md citation not numbered in the pdf output Sep 25, 2023
@SmartLayer SmartLayer changed the title citation not numbered in the pdf output citations not numbered in the pdf output unless using undesirable footnote style Sep 25, 2023
@SmartLayer SmartLayer changed the title citations not numbered in the pdf output unless using undesirable footnote style Citations Not Numbered in Pandoc Generated PDF When Using Endnote Note Style Sep 25, 2023
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