From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29932 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Issues with citation locators in German Date: Sat, 08 Jan 2022 17:00:01 -0800 Message-ID: References: <1dd44886-7b79-4e5f-97ec-57b91113df36n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13878"; mail-complaints-to="usenet@ciao.gmane.io" To: Siphalor , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBH7H5CHAMGQEV7Y75AQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jan 09 02:00:19 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f191.google.com ([209.85.214.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n6MZG-0003QQ-Vz for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 09 Jan 2022 02:00:19 +0100 Original-Received: by mail-pl1-f191.google.com with SMTP id q14-20020a170902dace00b00148e2c4fe06sf1456412plx.15 for ; Sat, 08 Jan 2022 17:00:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641690017; cv=pass; d=google.com; s=arc-20160816; b=vlI2Sq2rW7U+L2RNFcRo4FFZu6w0QTjmxR0Q1EzA/UlH7hyXR0f97utqz/xIMfy5pJ zXpYUuIEv5YjwL/uRhiPOkcgPgwJrsjJpogS1yIAycZl+wWpkbVpdmaEcy0SMszOIkzb /wuFGdI+1lQmPMpfDdyCOEIt9MQyXk836WpOZWIBmu2LFj/+t6ZTABySYMfOhgNtz8Q+ NOZE3M2HnLMbPV9DpFXGlAMqPudwmUi/QNxc8uyPxpcXdHCS733nyveoUGxB131qtxo0 1+7QYIAo6Ujg1L+FakiEqjYpbLk+11hlDQxbq0gy3XcwjcVfNLHI9o0s8gnUsS5r/iRj y7Ew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=C5+V9N6wLAvOy5hrbb/iwY//Um8uo2yNceWOU2+laKc=; b=Op0HmsxUyU5tV9n6S2OHwGJpSue4GNPQUkBpFgKLaUIe961N8+aYN//rTSofGhVMr4 jBdGB11lpXh+NqpZhva9N0xmeQZjuS96cdPcxa4lyM/N2GsLhlyMN3k1qRgvsFDOOp1k BbWOPwKJ4a0Vy1RrUA9Qmj15tni0gY2rY8nmkZpqcisRt+kEfvUWXNkog0Ndzvh2Qswc HP7PDpLx6qAkzUKj7ILz3KNGYh2OANxSSw3gmQDQX3cuZZvnjoK0PNaQdsqXJ6U0FfX7 vFn4omqAFKXqIcRgj7zqGyuGa1NS+q/cMmTFztfSso+0R4mvMUoaCg+YRw6bhtXr9C0m z0TQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=rBaCcIvR; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1034 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=C5+V9N6wLAvOy5hrbb/iwY//Um8uo2yNceWOU2+laKc=; b=PeaBikC59JoWHGWtFxNacOoXJPHscQcLL8/BMSl9jgD2gMaBICFyAcsoDLx17ZOPb/ R7cPDiQ/qK52HvaS4aSZcdWgLuMDcOKFgq7dRhR8ToCRrJnitZ2u02Vue7lh54VtnJmm 0uuHG7O3G7DeyH32nVVyZSXgA+qnUtQ/klMa6b/1pZB9sFVVnVT1CVvBwzboYiyU17HX vsQY1HdeppROqGb1Hpx52QQG0FGvuS1AdRIuYEuZMDa8SR9JmUwl97ouyh/6wrYYsOan mCJGflql9osc9siS9CF5Y6RcexDZasVAhiKsd0mMpMoe36tw3SeKxu9Zs7YRak/ucot6 qgVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=C5+V9N6wLAvOy5hrbb/iwY//Um8uo2yNceWOU2+laKc=; b=xz/bl2vEiWjAZg+RJCUZrk/S7Vy40PJwYQ5OI1laCRNP6IpPaG3fRLowcuM6enSDNE zMC21CRn1r9Uob/cHUMuww6hpoaaqLRMkS6YwUBBzWWoyMVvTYV5Q8VSdjNQnMHJon6C a/gkRX+C1Kukp8LkJHlDMX7S5eE3Ahl8HJGTtcm66l7DFZyddOxRZN0+kfVlnblJcojZ cGlNzxYADyN+YFo9Voi0QzGC+lpAxFYSoqb6DtDVl1OyjVQBkzdTUUYYxo0/gRTM7F0q 5l+67lE+L0qssNSQPtMmEJyCL4dnDWHuTLt6dC6vYlQObrDbJ1fxuPRGlN42iGdluDoG Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5312x1T1aFKrQJeX2CvfIDReDzm9SJf+tKBSso0BpIjjcf55J+6b s09BmD9zK1pasR7QUife7ik= X-Google-Smtp-Source: ABdhPJwdanfvPLSK+UWi4UF57A96qn9Nzz1mq02xl0KipkwgKz6WiaTFun51lvZzu5BYQjbGUNa+4A== X-Received: by 2002:a17:90b:3e87:: with SMTP id rj7mr23026007pjb.88.1641690017012; Sat, 08 Jan 2022 17:00:17 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90b:4d85:: with SMTP id oj5ls8485920pjb.0.canary-gmail; Sat, 08 Jan 2022 17:00:15 -0800 (PST) X-Received: by 2002:a17:90a:39c2:: with SMTP id k2mr13726095pjf.201.1641690014966; Sat, 08 Jan 2022 17:00:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641690014; cv=none; d=google.com; s=arc-20160816; b=d6Y8Rivrw6emyLx+InvxZphJUQX87cRr+FcR0kc1xh1b+8i9E7fdpcwoFh1ynr1lVh 2ozkG/tPSwVQYPiFDFE6JvX52sN6ovk0g8oEdCw+7egVd7PZqVX6lZZDAkDBtNPIVo+4 UQiOTa20PUJaM643Q/dEfcHym0joOe9y150WhzroIUDiAmvoF6WFH+lHtKUAKtPLrYXI p2X27BdCJ5enLRlN512vn/QBGiHD9jQTnaQBDQ4QlCqui5+LyPLtwN+QpOXG679naxTM Kg6TA+b3sjfL7O3+0SAIlbxa0Ew9zjQAtRNnv+Vv/1AwTC6KFLh+47c55hWBB2lSk+sn GnjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=YzBNL9X7jRTNp8Ke3jd5MRnhreE0hLu0THubQS1o2s4=; b=W7a+O7JfkyzllbhxZrKEf5eo4Sji1HxJzB2m0u46alBiYTa0BixGRLrwzZAQShPPBD XHkKGufdbDAGZjLq6GFhY8xJjyR84vQ4DeJXpuifboRGjpkfY6Bl2qBmS2LFt0HiKmvY WEUzDUQpa0jkW4KIbcIzoE6M4naz5x/1i7QxQfY4fImsurn477zNml4TMu96meEGnMrO r0e0hDps9X95xlyru54DJnhriA3qS87u/b+jFkYDEo9XsCtS0U6Vjin7W7DsbYuSsMNC KBDADSZx9ZN90ZLhYlqdguI+4GohWxC/eFn+4tgmqVH8VYMILfvEuDKaQDsxFwg/fFvd Zo1w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=rBaCcIvR; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1034 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com. [2607:f8b0:4864:20::1034]) by gmr-mx.google.com with ESMTPS id s11si127462pjf.3.2022.01.08.17.00.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 17:00:14 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1034 as permitted sender) client-ip=2607:f8b0:4864:20::1034; Original-Received: by mail-pj1-x1034.google.com with SMTP id n30-20020a17090a5aa100b001b2b6509685so11985918pji.3 for ; Sat, 08 Jan 2022 17:00:14 -0800 (PST) X-Received: by 2002:a17:90a:404a:: with SMTP id k10mr23007316pjg.86.1641690013262; Sat, 08 Jan 2022 17:00:13 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id o42sm2827567pjo.28.2022.01.08.17.00.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jan 2022 17:00:12 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 36A02A29D; Sat, 8 Jan 2022 20:00:01 -0500 (EST) In-Reply-To: <1dd44886-7b79-4e5f-97ec-57b91113df36n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=rBaCcIvR; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1034 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29932 Archived-At: 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 t= he=20 > locators here. > > A minimal-ish example: > > *bibliography.bib:* > @Article{Mueller2015, > author =3D {Frank M=C3=BCller}, > title =3D {This is annyoing}, > year =3D {2015}, > } > > *Let's start with English, where everything works as expected (locators i= n=20 > 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=3D"Mueller2015">[1(p. 12)].

>

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

>

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

> > *Now let's set the language to German and use German locators as in=20 > locales-de-DE.xml=20 > .* > > --- > 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=3D"Mueller2015">[1(S. 12)].

>

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

>

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

>

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

> > As you can see the German locators are not recognized with a German local= e. > > For this example I'm using the APA numeric style=20 > ,=20 > but I could reproduce the issue with any CSL style that I tried (and that= =20 > 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=20 > assumed that the issue was on my side :) > > Thanks in advance. > Siphalor > > --=20 > 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/msgi= d/pandoc-discuss/1dd44886-7b79-4e5f-97ec-57b91113df36n%40googlegroups.com. --=20 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 e= mail 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/m2lezpd8q6.fsf%40MacBook-Pro-2.hsd1.ca.comcast.net.