From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJaDNO0njmErlAAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 09:38:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OGsTMO0njmFpZgAAbx9fmQ (envelope-from ) for ; Fri, 12 Nov 2021 08:38:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BA242DCE6 for ; Fri, 12 Nov 2021 09:38:05 +0100 (CET) Received: from localhost ([::1]:50340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlS4R-0001TY-Nh for larch@yhetil.org; Fri, 12 Nov 2021 03:38:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlS45-0001Sy-FT for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 03:37:41 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlS42-0003pP-Hk for emacs-orgmode@gnu.org; Fri, 12 Nov 2021 03:37:41 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 28A52E000E for ; Fri, 12 Nov 2021 08:37:33 +0000 (UTC) From: Nicolas Goaziou To: emacs-orgmode@gnu.org Subject: Re: [BUG] Citations: Locator treated as prefix [9.5 (release_9.5-225-g494c20 @ /home/quintus/.emacs.d/org-mode/lisp/)] References: <87ee7nkwds.fsf@atlantis> Date: Fri, 12 Nov 2021 09:37:26 +0100 In-Reply-To: <87ee7nkwds.fsf@atlantis> ("M. =?utf-8?Q?=E2=80=98quintus?= =?utf-8?Q?=E2=80=99_G=C3=BClker=22's?= message of "Thu, 11 Nov 2021 08:02:39 +0100") Message-ID: <874k8hlqgp.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@nicolasgoaziou.fr; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636706285; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=USC1EzrY8hbBKEg7dD4+/NgjtenXW0+/OzmUIl/3Lhs=; b=gI4AJSjNpCVuBvPDJOuvS4pDPbR43XMLFLVVz8FE1H7/1vrztqf/6FIlw/lC0k+3YdIz2K k48u/Kv0WTca7kfGTuZR3zUdSTUgS+0LxO8WrzpJsZmgTQ177wWl6NYyuIx5PKQI/okWqT TF1c3ob3N7N+w8vPRpRm95vJTBm8zRJRYsltSjs51myk0npbkyxN/Q3z3Hr1O99KuF46oU H7IeD+UpsWQvo8Ck+iSTVKItOCGpJEfBAw3pdOrS1nuocQdkjqU8joavg95jhGiPi7ruu5 KCQ3SCx44piqttfLNI89UOWn2ZeW9F9IRuNZBQXZKJwgeZy033pAyzG9xKnI4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636706285; a=rsa-sha256; cv=none; b=l3taFn/bsmuHSSHnZYh/OsCT+JwAznqb0KNy6xqg/f6ZDV9SsGfF2i5YyaE8Z9V4ypLrg5 EB4dl8xY6ioYvoaZmu7xPEid0ZzQIRIBZULGZwvcHv3CU+Rt1UOOvkMI1fjQrlLhasCJXN AFiSRxacyJXoVZxz5WKeWD4tVqaxInJY1lIb50LDXh0ln7+PkOIlWB8PWNWoHOTeUHMmSc tPqi4pTc2ozVtV/y7icpnSxpNC6B0NDbBKxQNnF81udP0LURnSq/cYObVDbm1O1JG0h8RX ZsNmOds9/F1ReNYAxYqp/5Dc4NoI/GasFvWpQgbRhohxdpcUn3l1C25H2KufdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 6BA242DCE6 X-Spam-Score: -2.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: cw/NXmqM/Amh Hello, M. =E2=80=98quintus=E2=80=99 G=C3=BClker writes: > take this org file `mwe.org': > > #+TITLE: Test > #+AUTHOR: Testauthor > > #+LANGUAGE: de > #+bibliography: /tmp/mwe/mwe.bib > > #+cite_export: csl /tmp/mwe/juristische-schulung.csl > > Das ist ein Test [cite:@redeker2020itr Kap. A Rn. 72, Suffixtext hier] > > with this `mwe.bib' Biblatex file: > > @Book{redeker2020itr, > author =3D {Helmut Redeker}, > title =3D {IT-Recht}, > year =3D {2020}, > edition =3D {7}, > publisher =3D {C.H. Beck}, > location =3D {M=C3=BCnchen}, > langid =3D {ngerman}} > > `juristische-schulung.el' is https://github.com/citation-style-language/s= tyles/blob/e22b8a566bad9b4c7f52720f60dd875057a5d210/juristische-schulung.csl > > When this is exported to HTML, the locator `Kap. A Rn. 72' is split and > partly taken as the prefix. It exports to this: > > 1 Kap. A Rn. Redeker, IT-Recht, 7. Aufl. (2020), 72 Suffixtext hier > > This is incorrect; it should export to: > > 1 Redeker, IT-Recht, 7. Aufl. (2020), Kap. A Rn. 72 Suffixtext > hier This is because "Kap." is not known as a locator identifier. See =E2=80=98org-cite-csl--label-alist=E2=80=99 for the full list of such ident= ifiers. I don=E2=80=99t think it is reasonable to expect this variable to contain e= very identifier in every language. It may be a good idea to turn the variable above into a defcustom, thus. Meanwhile, you can test again after evaluating: (push '("Kap." . "chapter") org-cite-csl--label-alist) Regards, --=20 Nicolas Goaziou