From: Siphalor <info-K+7KtI1Sxfcb1SvskN2V4Q@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Issues with citation locators in German
Date: Sat, 8 Jan 2022 07:30:18 -0800 (PST) [thread overview]
Message-ID: <1dd44886-7b79-4e5f-97ec-57b91113df36n@googlegroups.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2930 bytes --]
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:
<p>Citation with nothing:<span class="citation"
data-cites="Mueller2015"><sup>[1(p. 12)]</sup></span>.</p>
<p>Citation with English page:<span class="citation"
data-cites="Mueller2015"><sup>[1(p. 12)]</sup></span>.</p>
<p>Citation with English chapter:<span class="citation"
data-cites="Mueller2015"><sup>[1(Chapter 12)]</sup></span>.</p>
*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:*
<p>Citation with nothing:<span class="citation"
data-cites="Mueller2015"><sup>[1(S. 12)]</sup></span>.</p>
<p>Citation with English page:<span class="citation"
data-cites="Mueller2015"><sup>[1, p. 12]</sup></span>.</p>
<p>Citation with German page:<span class="citation"
data-cites="Mueller2015"><sup>[1, S. 12]</sup></span>.</p>
<p>Citation with German chapter:<span class="citation"
data-cites="Mueller2015"><sup>[1, Kap. 2]</sup></span>.</p>
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-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.
[-- Attachment #1.2: Type: text/html, Size: 4518 bytes --]
next reply other threads:[~2022-01-08 15:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-08 15:30 Siphalor [this message]
[not found] ` <1dd44886-7b79-4e5f-97ec-57b91113df36n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-01-09 1:00 ` John MacFarlane
[not found] ` <m2lezpd8q6.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2022-01-11 0:11 ` Siphalor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1dd44886-7b79-4e5f-97ec-57b91113df36n@googlegroups.com \
--to=info-k+7kti1sxfcb1svskn2v4q@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).