Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    You need to redefine the citation style / citation command in the document preamble. For a more decisive information you can convert the document to LaTeX and not directly to pdf, i.e., pandoc ... -s -t latex -o text.tex as a standalone document and then look how the citations are done there. That would be the command you need to adjust. You can also look for natbib / cite / biblatex inclusion the the header and check their options. It would help a lot if you would be able to provide a minimal example, short documents with which we can reproduce the issue. Commented Aug 24, 2022 at 14:40
  • 1
    Ok, thanks! As you can see, in the document the citation is actually typeset as a footnote (\footnote{Georg Simmel ...}) and then the full citation is added "manually" to the reference section. This is not the typical way it should work, though. Next point: this kind of referencing is surely done by the converter you are using. It's the tufte class, that shows any footnotes as side-notes, but you are giving LaTeX footnotes. The fix is somewhere before LaTeX. Commented Aug 24, 2022 at 15:01
  • 1
    Just an idea: check if the --natbib option of pandoc is on. Commented Aug 24, 2022 at 15:13
  • Hi @OlegLobachev I'm just using the --citeproc option, if I include --natbib the citations are gone. What am I doing wrong?
    – Britto
    Commented Aug 24, 2022 at 15:23
  • 1
    Well, as citeproc docs say, "This library generates citations and bibliography formatted according to a CSL style." This means that citeproc does all the formatting of the cites itself, so it generates the bibliography and probably also the footnotes. Without it, with natbib seems the better way for now (as long as LaTeX should be considered). Please check how the processing is done (try using latexmk, for example). You can post also the version, generated with --natbib here, it would help. Or you can post the full pandoc command and the orig. md file. Commented Aug 24, 2022 at 16:11