I was asked in this question to open a new question with a MWE for a CSL file, which is not handled correctly by Pandoc Citeproc or Pandoc.

First of all the call to Pandoc I use:

pandoc \
--read=markdown \
--filter pandoc-citeproc \
--bibliography=bibliography.bib \
--csl=din-1505-2-alphanumeric.csl \
--output citation-example.pdf \

I use the following Pandoc version:

pandoc 1.18
Compiled with pandoc-types, texmath, highlighting-kate 0.6.3
Default user data directory: /home/user/.pandoc
Copyright (C) 2006-2016 John MacFarlane 
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness for a particular purpose.

I use the following pandoc-citeproc version:


And the .bib file referenced contains:

    title={Interactivity and interactive functions in web-based learning systems: a technical framework for designers},
    author={Chou, Chien},
    journal={British Journal of Educational Technology},
    publisher={Wiley Online Library}

And the referenced CSL file I got from here.

And the referenced Pandoc Markdown source code:

# Lorem Ipsum

"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet [@chou_interactivity_2003 p. 10], consectetur, adipisci velit..."

# References

And a screenshot of the produced PDF:

enter image description here

And a screenshot of the preview on Zotero website:

enter image description here

As you can see the only thing rendered in the in-text citation is what is not the citation key, but what else I wrote there.

How can this be solved?

  • Why are you posting this here? It has nothing to do with TeX. The place for this question is pandoc-discuss on Google Groups. Nov 23, 2016 at 23:47
  • @JohnMacFarlane Yeah could've posted it there too - probably would've soon and will soon, if there is no good solution here. I tend to like the stackexchange websites more, because the editor actually works well and one can create better looking questions. Overall more comfort. I also posted here, because I initially found the linked question here. I also mentioned the issue in here: groups.google.com/forum/#!topic/pandoc-discuss/wO_rJPBZoBo but I admit, MWE did not exist then. Sometimes one can find pandoc things here, because people here also sometimes use pandoc. Nov 24, 2016 at 0:02
  • Sounds like pandoc people are going to take over. But, for future reference, a key piece of information for this site is the resulting .tex file. (Although the solutions you get here are likely to focus on how to use BibTeX or Biber/biblatex to generate the bibliography rather than a CSL file, so maybe this doesn't matter as much.)
    – jon
    Nov 24, 2016 at 1:43

1 Answer 1


I can only confirm what you found and the problem lies in the csl file. It is not compatible with pandoc-citeproc (I haven't tested with tex though). The solution is either edit it manually or change to other version of the same style.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .