Oof. German capitalization struck again ^^ Thanks for the insanely quick reply and fix. I just built Pandoc from source, and it's working fine now. On Sunday, 9 January 2022 at 02:00:18 UTC+1 John MacFarlane wrote: > > Thanks for the report. I believe I've fixed this with > 2b51f54e19373381df7f71f3094f97cc79dd82d2 > > I had tested with non-US locators, but not with German. > German is distinctive in that the short-form locators > have capital letters (e.g. S.). We were case-folding > the potential locators before looking them up in the > table, but the keys in the table weren't case-folded, > so German locators failed to match! > > > Siphalor writes: > > > Hi, > > I'm trying to use citations in German and running into some issues with > the > > locators here. > > > > A minimal-ish example: > > > > *bibliography.bib:* > > @Article{Mueller2015, > > author = {Frank Müller}, > > title = {This is annyoing}, > > year = {2015}, > > } > > > > *Let's start with English, where everything works as expected (locators > in > > parenthesis):* > > --- > > lang: en-US > > filters: > > - type: citeproc > > bibliography: > > - bibliography.bib > > --- > > > > Citation with nothing: [@Mueller2015, 12]. > > > > Citation with English page: [@Mueller2015, p. 12]. > > > > Citation with English chapter: [@Mueller2015, chap. 12]. > > > > becomes: > > > >

Citation with nothing: > data-cites="Mueller2015">[1(p. 12)].

> >

Citation with English page: > data-cites="Mueller2015">[1(p. 12)].

> >

Citation with English chapter: > data-cites="Mueller2015">[1(Chapter 12)].

> > > > *Now let's set the language to German and use German locators as in > > locales-de-DE.xml > > < > https://github.com/citation-style-language/locales/blob/master/locales-de-DE.xml > >.* > > > > --- > > lang: de-DE > > filters: > > - type: citeproc > > bibliography: > > - bibliography.bib > > --- > > > > Citation with nothing: [@Mueller2015, 12]. > > > > Citation with English page: [@Mueller2015, p. 12]. > > > > Citation with German page: [@Mueller2015, S. 12]. > > > > Citation with German chapter: [@Mueller2015, Kap. 2]. > > > > *becomes:* > > > >

Citation with nothing: > data-cites="Mueller2015">[1(S. 12)].

> >

Citation with English page: > data-cites="Mueller2015">[1, p. 12].

> >

Citation with German page: > data-cites="Mueller2015">[1, S. 12].

> >

Citation with German chapter: > data-cites="Mueller2015">[1, Kap. 2].

> > > > As you can see the German locators are not recognized with a German > locale. > > > > For this example I'm using the APA numeric style > > < > https://github.com/citation-style-language/styles/blob/master/apa-numeric-superscript-brackets.csl>, > > > but I could reproduce the issue with any CSL style that I tried (and > that > > differentiates between suffix and locator). > > > > I hope that I provided enough information, I'll provide more if > requested. > > Also let me know if I should create an GitHub issue for this - I just > > assumed that the issue was on my side :) > > > > Thanks in advance. > > Siphalor > > > > -- > > You received this message because you are subscribed to the Google > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/1dd44886-7b79-4e5f-97ec-57b91113df36n%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/db76ee77-1f8d-440a-ac4a-9d7ec8f2c61dn%40googlegroups.com.