Zettelkasten Forum


Zothero / Pandoc / Marked2 - different results

Hi everyone, I need your knowledge on citing with Pandoc.

Basic conditions: I use The Archive with Zotero and cite with APA7. For searching I use Alfred with Zothero, also with APA7.

Specifically, my problem is that citations are displayed differently, although both tools use APA7.

If I use Zothero, for example, it looks like this:
(Luhmann 1987/2022)
If I go via Pandoc or Marked2 (again, everything is set to the APA CSL file from Zotero), it looks like this:
(Luhmann 2022)

Pandoc and Marked2 omit the original date (first publication).

What is certain is that it is not an APA problem. Chicago also offers to read and display the original date. Same problem as described above. Zothero does it, the rest do not.

Does anyone know the problem and have a solution?

Thank you very much!

Comments

  • I think Marked 2 and Zotero are not using the same citation processor configuration; copying the CSL file from Zotero into Marked 2's custom processor arguments probably will work. The argument points to a file on your Mac that contains the CSL file Pandoc/Marked2 will use. This is the file you want to replace with the copy that Zotero uses. Be sure to back up your CSL file and the argument settings before making any changes.

    Will Simpson
    My peak cognition is behind me. One day soon, I will read my last book, write my last note, eat my last meal, and kiss my sweetie for the last time.
    My Internet HomeMy Now Page

  • Hi Will, thank you very much for your reply. I could have mentioned that directly. I have of course implemented your suggestion.

    In Zothero, I entered APA7 in the configuration via Alfred.
    Result:
    Citation:
    (Luhmann, 1984/2021)
    Bib:
    Luhmann, N. (2021). Social Systems: Grundriß einer allgemeinen Theorie (18th edition). Suhrkamp. (1984)

    In Marked2 I have set the following in the Custom Processor:
    Path: /usr/local/bin/pandoc
    Args: -f markdown --citeproc --csl=/Users/marcuswischer/Zotero/styles/apa.csl --bibliography=/Users/marcuswischer/Documents/Literatur/bib.bib
    Result:
    Citation:
    (Luhmann, 2021)
    Bib:
    Luhmann, N. (2021). Social Systems: Grundriß einer allgemeinen Theorie (18th edition). Suhrkamp.

    For Pandoc I use the following terminal command. The result is the same as Marked2.
    pandoc -s --citeproc --bibliography /Users/marcuswischer/Documents/Literature/bib.bib \
    --csl /Users/marcuswischer/Zotero/styles/apa.csl -f markdown-smart -t pdf \
    -o MYPROJECT.pdf in.md

    From my point of view, only Zothero does it correctly via Alfred, because only Zothero recognizes the original-date in the corresponding Zotero entry and converts the APA7 CSL correctly.

  • Solution found!
    You have to set the export in Zotero to Better BibLaTeX instead of Better BibTeX and also select biblatex-apa in the options.
    The result looks like this:
    Ein test! (Luhmann, 1984/2021)
    Luhmann, N. (2021). Soziale Systeme: Grundriß einer allgemeinen Theorie (18.
    Auflage). Suhrkamp. (Original work published 1984)

Sign In or Register to comment.