From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29927 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Siphalor Newsgroups: gmane.text.pandoc Subject: Issues with citation locators in German Date: Sat, 8 Jan 2022 07:30:18 -0800 (PST) Message-ID: <1dd44886-7b79-4e5f-97ec-57b91113df36n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2352_1034405860.1641655818659" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36349"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDKZHBHFVQLBBDG442HAMGQEGPWE5GY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jan 08 16:30:22 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f63.google.com ([209.85.210.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n6Dfi-0009JY-PK for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 08 Jan 2022 16:30:22 +0100 Original-Received: by mail-ot1-f63.google.com with SMTP id w8-20020a9d3608000000b0058f5caabe0dsf1764605otb.21 for ; Sat, 08 Jan 2022 07:30:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=CXVZkEOVX7GuiZUNn34744ZXQu5QxFnxpqIZSBMm0qI=; b=auj8Jy/eNNwhw0rreo56gEBFI77hbyqYmca7hoeCBd/xDWD2aQd6l9kJF17Fu/A8G2 S8lPbxogHx9MQn9qzHesXtPcrbaOZal2rbRo+Yq5Or5CBDShIfd3yhNfEDw8jg8VmSIl WtmZhvkApmBUpLSUGhVyxit5gFCs45pRaEo3CZIplIYmS08kfsuaXnyfUBDoLd944XBl X+sgL1uYlMNE3BaYfLUI/jrRbOKrCWV44Oz9TjHHzWp2Dh19ynv84aCQA7QZ6hgX5hDG yRNlEctE1Y/3bpBt2mczh6MPRrWw4NC3LTUW7pa67BKEl+aBXSe4A6my89AawXKyWf2w ETdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=CXVZkEOVX7GuiZUNn34744ZXQu5QxFnxpqIZSBMm0qI=; b=JRmuKE5Bqw3IQEH9ymxGc6WiwPZLRo2ubES/EjxM2SYAUaBzQpVv2zk5yF9ufnwk7N Vzg31eRanBs413GETtVl38wlkewCU/O5NXYzZeTy4n/SIlUgHzutcaToZX6PsqO5YxXI wm0H4Tsa7mXQuaYIePh1cuRfPTh7OP9/ZPc7B4KO0/XtNfcPchZeDJ1IRFsmIQSNZscr tmpMG01Ka+XTaw/Yr7HE/wt74QU7fHM0uKuhBAWfFIMZ4/l+qU4J5dqQsXobfhXjLl8K BJlfw+6g4AB+DV6cO3Qfy9GJnd+FuBZQ5lgzdgpgWYNuVyZpAFWO/dyMBbaA1hUDaQZE wCzg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530l3liUSNPgM8UbzqBKwRugwL62/ZThTpw8E+auw/paKlGveuCf zER+ZPkF5f17smPlAFQT7Z4= X-Google-Smtp-Source: ABdhPJzq3y75gKw6yASBWp7TnlXKWqgZhx2uGnLJZV9SPN1dRf8LQOqeLemHL3LthfVy+tpZWika3w== X-Received: by 2002:a05:6830:244c:: with SMTP id x12mr44136535otr.197.1641655821391; Sat, 08 Jan 2022 07:30:21 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a54:4195:: with SMTP id 21ls1981650oiy.1.gmail; Sat, 08 Jan 2022 07:30:19 -0800 (PST) X-Received: by 2002:a05:6808:300b:: with SMTP id ay11mr13008322oib.120.1641655819250; Sat, 08 Jan 2022 07:30:19 -0800 (PST) X-Original-Sender: info-K+7KtI1Sxfcb1SvskN2V4Q@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:29927 Archived-At: ------=_Part_2352_1034405860.1641655818659 Content-Type: multipart/alternative; boundary="----=_Part_2353_1925341879.1641655818659" ------=_Part_2353_1925341879.1641655818659 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'm trying to use citations in German and running into some issues with the= =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 in= =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:[1(p. 12)].

Citation with English page:[1(p. 12)].

Citation with English chapter:[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:[1(S. 12)].

Citation with English page:[1, p. 12].

Citation with German page:[1, S. 12].

Citation with German chapter:[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=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 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/1dd44886-7b79-4e5f-97ec-57b91113df36n%40googlegroups.com. ------=_Part_2353_1925341879.1641655818659 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to use citations in German and running into s= ome issues with the locators here.

A minimal-ish example:

bibliography.bib:
= @Article{Mueller= 2015,
        author =3D {Frank M=C3=BCller},
&nb= sp;       title  =3D {This is annyoing},
  &nbs= p;     year   =3D {2015},
}

<= br>
Let's start with English, where everything works as expect= ed (locators in parenthesis):
---
lang: en-US
filters:
  - type= : citeproc
bibliography:
  - bibliography.bib
---

Cita= tion with nothing: [@Mueller2015, 12].

Citation with English page: [= @Mueller2015, p. 12].

Citation with English chapter: [@Mueller2015, = chap. 12].


becomes:
<= ;p>Citation with nothing:<span class=3D"citation" data-cites=3D"Muell= er2015"><sup>[1(p. 12)]</sup></span>.</p>
<= ;p>Citation with English page:<span class=3D"citation" data-cites=3D"= Mueller2015"><sup>[1(p. 12)]</sup></span>.</p><p>Citation with English chapter:<span class=3D"citation" data-c= ites=3D"Mueller2015"><sup>[1(Chapter 12)]</sup></span>= .</p>

Now let's set the lan= guage to German and use German locators as in locales-de-= DE.xml.

---
lang: de-DE
filters:
  - type: c= iteproc
bibliography:
  - bibliography.bib
---

Citatio= n with nothing: [@Mueller2015, 12].

Citation with English page: [@Mu= eller2015, p. 12].

Citation with German page: [@Mueller2015, S. 12].=

Citation with German chapter: [@Mueller2015, Kap. 2].
=

becomes:
=

<p>Citation with nothing:<span class=3D"citation" data-cites= =3D"Mueller2015"><sup>[1(S. 12)]</sup></span>.</p&g= t;
<p>Citation with English page:<span class=3D"citation" data-= cites=3D"Mueller2015"><sup>[1, p. 12]</sup></span>= ;.</p>
<p>Citation with German page:<span class=3D"citati= on" data-cites=3D"Mueller2015"><sup>[1, S. 12]</sup></spa= n>.</p>
<p>Citation with German chapter:<span class=3D= "citation" data-cites=3D"Mueller2015"><sup>[1, Kap. 2]</sup>= </span>.</p>


As you = can see the German locators are not recognized with a German locale.
<= div>
For this example I'm using the APA numeric style, 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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
------=_Part_2353_1925341879.1641655818659-- ------=_Part_2352_1034405860.1641655818659--