Sorry, the attachment didn't go through the last time.
Dear Andrew,I am still unable to reproduce the error you're getting on Ubuntu 20.10 using pandoc 2.11.2.~~~$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 20.10Release: 20.10Codename: groovy$ pandoc --versionpandoc 2.11.2Compiled with pandoc-types 1.22, texmath 0.12.0.3, skylighting 0.10.0.3,citeproc 0.2, ipynb 0.1.0.1User data directory: /home/sol/.local/share/pandoc or /home/sol/.pandocCopyright (C) 2006-2020 John MacFarlane. Web: https://pandoc.orgThis is free software; see the source for copying conditions. There is nowarranty, not even for merchantability or fitness for a particular purpose.$ cat MinWrkEx.md---title: Minimum Working Exampleauthor: Andrew Mercerdate: V.1papersize: a4geometry: margin=2cmfont: 11linestretch: 1.2references:- id: auth2020type: article-journalauthor:- family: Surnamegiven: Firstname- family: Efternamngiven: Förnamnissued:- year: 2019title: Title of articlecontainer-title: Journal Namepage: 1-12volume: '1'issue: '1'abstract: 'The abstract text describing the article '- author:- family: Reesgiven: William Garethid: rees2013physicalissued: 2013publisher: Cambridge University Presstitle: Physical principles of remote sensingtype: book---# Section heading {#sec:sec1}Here is some text with a reference in the yaml @auth2020Here is a reference to a bib entry @rees2013physical.# References$ pandoc -s --toc --citeproc --csl=apa.csl MinWrkEx.md -o MinWrkEx.pdf~~~Here's the resultant PDF.On Tuesday, 1 December, 2020 at 7:31:11 pm UTC+5:30 mercer...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:Tried confirming this on Ubuntu only to discover that pandoc doesn't create a data-dir on Ubuntu. I checked the locations indicated by --version and neither contained a pandoc directory.This latest update seems to be full of holes. It would be nice if an older, functioning version were still available. Some sort of LTROn Tuesday, 1 December 2020 at 14:31:33 UTC+1 Andrew Mercer wrote:Removing pandoc-crossref doesn't help (and means figure refernces don't work).I have also tried converting the bib to json and to an external yaml but neither of these helpedOn Wednesday, 18 November 2020 at 20:53:15 UTC+1 the.so...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:Hi. I tried to reproduce this without pandoc-crossref, but failed. Perhaps that is what is causing issues? Could you check if your command works without pandoc-crossref?I used your text, and ran:```pandoc -s --toc --citeproc --csl=apa.csl --bibliography=library.json -f markdown MinWrkEx.md -o MinWrkEx.pdf```I'm running Pandoc 2.11.1.1.Also, I think cslreferences -> CSLReferences in the default LaTeX template was changed already:```$ pandoc -D latex | grep -i cslref
\newenvironment{CSLReferences}[3] % #1 hanging-ident, #2 entry spacing```I believe it was changed when citeproc was added to pandoc:On Wednesday, 18 November, 2020 at 11:15:32 pm UTC+5:30 mercer...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:The new citeproc is behaving very oddly.Firstly, the latex template is incorrect, cslreferences needs now to read CSLReferencesBut there are two problems I haven't been able to fix.The first problem is a little odd,: the first reference gets "10" prepended to the first author name .The second problem is really confusing.At first citeproc would not find references in a bib file. A single reference in the yaml was found but nothing else. I then converted the reference in the bib to yaml and added it to the yaml markdown documents yaml. This works.What is odd is that I converted the bib to yaml using pandoc without a problem. I am confused.Here is the markdown text with two references in the yaml.---title: Minimum Working Exampleauthor: Andrew Mercerdate: V.1papersize: a4geometry: margin=2cmfont: 11linestretch: 1.2references:- id: auth2020type: article-journalauthor:- family: Surnamegiven: Firstname- family: Efternamngiven: Förnamnissued:- year: 2019title: Title of articlecontainer-title: Journal Namepage: 1-12volume: '1'issue: '1'abstract: 'The abstract text describing the article '- author:- family: Reesgiven: William Garethid: rees2013physicalissued: 2013publisher: Cambridge University Presstitle: Physical principles of remote sensingtype: book---# Section heading {#sec:sec1}Here is some text with a reference in the yaml @auth2020Here is a reference to a bib entry @rees2013physical.# ReferencesThis is the command I used and the message returned:```C:\Users\anwmer\Documents\MinWrkEx>pandoc -s --toc --filter pandoc-crossref --citeproc --csl=apa7.csl --bibliography=refs.bib --resource-path=.;figures MinWrkEx.md -o MinWrkEx.pdfWARNING: pandoc-crossref was compiled with pandoc 2.11.0.4 but is being run through 2.11.1.1. This is not supported. Strange things may (and likely will) happen silently.[WARNING] Citeproc: citation rees2013physical not found```I have no control over the citeproc version as it now is embedded in pandoc