From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id lp0QC5ylYmFpbAEAgWs5BA (envelope-from ) for ; Sun, 10 Oct 2021 10:34:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mPRGBJylYmFkQAAAbx9fmQ (envelope-from ) for ; Sun, 10 Oct 2021 08:34:36 +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 5CCF5F8CB for ; Sun, 10 Oct 2021 10:34:35 +0200 (CEST) Received: from localhost ([::1]:35328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZUHx-00063R-MO for larch@yhetil.org; Sun, 10 Oct 2021 04:34:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZUHN-00063E-7E for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 04:33:57 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:25058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mZUHJ-0007D1-Lo for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 04:33:55 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4HRwF80KB2zQkBJ for ; Sun, 10 Oct 2021 10:33:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=guelker.eu; s=MBO0001; t=1633854825; h=from:from: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; bh=HQwY7RtVhyeMBhyO4HGwYxA9wPWqnyufFVklMNTrNSM=; b=W2lliXn8IGlHUpTu7kg/XoZBEzECE03lAwlL2Zu3U5getw0QC79Tkn+VV+CNUSGFmT5Bw6 9XQOCXRc9sLWmSP/HDlI91x9sj5ZWrP3ymUTX8HazGAhXIx2yQXfVqTN3YQqLmN/DT9MSx DvBpq7v0FvyxLRnvUQXHtLahATjpUwVIe6qqjUTM0zeltYu1FcZ2eWLUEVx343lgB14gPP 0szrOrJr0r0/1mbF7t+sfPYV5nlVJLNLxqeFTtgpdDL25iKso2oC786ZJp1L6IqSMW3I1E 20NsZSRiNwjKBvwzYBf6pK5BGCpRzY8X+t61aaL95egmTr8/d4refMRn6aSuKA== From: M. =?utf-8?B?4oCYcXVpbnR1c+KAmSBHw7xsa2Vy?= To: emacs-orgmode@gnu.org Subject: Citations: non-page locators placed in front of citation Mail-Followup-To: emacs-orgmode@gnu.org Date: Sun, 10 Oct 2021 10:33:41 +0200 Message-ID: <87wnmljn2y.fsf@atlantis> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: AECBD26B Received-SPF: pass client-ip=80.241.56.171; envelope-from=post+orgmodeml@guelker.eu; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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.23 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=1633854875; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HQwY7RtVhyeMBhyO4HGwYxA9wPWqnyufFVklMNTrNSM=; b=OfLxnzar+ngluUlVmnDSkZ6tiYrEM0KB4LZPuGbRlGvrzzgkGy5TB9hgd0sIK3daALVn+f daDyo8VKIs1ZV0JGdNWSRaL+p74TJQ9/D3U/cLWBp/l/JenoC5Hg9BsChOWY9RwFiLMXWs rDkpN/SSrUR8fmi9EStulXAdRgGZ8J/U6BkmumuIqlN3BBDMVSEAzS7RWczoB/KRQX0o0Y 5qtTpVF3Jhk0DvIzhl285oT2Ekx6gh11Oawzji2PhL7fw7YQ/XO72mlFzLH4PjhHW8r0Q9 vflg+7rjc+WzPVr8OytDTdpMUG+BytGj7rU6mXh75ERNq+f4Orxm+bHlX8OCtw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633854875; a=rsa-sha256; cv=none; b=DdAFiul6qajyfHrAX4CtmDh7NwBuVvbzEfr2Pg3CzxcVK0Hx7tfvnLOEolWEm07H9fCcB9 toqdK38pCvNWEZkMvX9pPgaawBvfEFY58Wo/nihh7pFIR8q1l072c9cIZI11VZIDJX/j7q G5kSlFwA920jTWSpHlBSZ7Jc/yf4xzyrIIYO90AgXRLZllP4W86TgQhKNhdUBUKmK7JvQY ltEtGuohlGPeCYBzZ+vI4BhBWNNdTfXtMG4nr7GmMSO761IAFCLjSIPKDkylwI8/N+Nya3 zKLWfk45d95Nf2vXwjlbfhI6l09BREwT9XP4vlViPyrKyAv4FYZFhaIrMHfYVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=guelker.eu header.s=MBO0001 header.b=W2lliXn8; 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-Spam-Score: -2.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=guelker.eu header.s=MBO0001 header.b=W2lliXn8; 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: 5CCF5F8CB X-Spam-Score: -2.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: tjl75Lq0i4FR Dear all, apologies for my frequent e-mails. It=E2=80=99s just that I am evaluating t= he citations facility for me. This time it=E2=80=99s about non-page locators. Take the following document: #+TITLE: Test #+AUTHOR: testauthor #+LANGUAGE: de #+bibliography: /tmp/mwe/mwe.bib #+cite_export: csl /tmp/mwe/juristische-schulung.csl Das ist ein Test [cite:@saenger2013gsr =C2=A7=C2=A012 Rn. 488]. juristische-schulung.csl is https://github.com/citation-style-language/styles/blob/e22b8a566bad9b4c7f52= 720f60dd875057a5d210/juristische-schulung.csl. This is mwe.bib: @Book{saenger2013gsr, author =3D {Ingo Saenger}, title =3D {Gesellschaftsrecht}, year =3D {2013}, edition =3D {2}, publisher =3D {Franz Vahlen}, location =3D {M=C3=BCnchen}, langid =3D {ngerman}} Note how this work is not cited by page, but instead (which is common among German judicial literature) by section number (=C2=A7) plus margin nu= mber (Rn.). Exporting this e.g. to HTML yields in Footnote 1: =C2=A7 Saenger, Gesellschaftsrecht, 2. Aufl. (2013), 12 Rn. 488 That is rather unexpected. It has pulled the =C2=A7 sign in front of the citation. The citation should have looked like this: Saenger, Gesellschaftsrecht, 2. Aufl. (2013), =C2=A7=C2=A012 Rn. 488 If I replace the citation in the document with Das ist ein Test [cite:@saenger2013gsr p. 245]. then it produces the expected Saenger, Gesellschaftsrecht, 2. Aufl. (2013), 245 (the page locator label, "S." in German, is intentionally suppressed by the CSL style, so this is not a bug. However, the =C2=A7 locator has to appear and is not suppressed by the CSL style). If I export with the default "bare" processor, the citation comes out fine as "(Ingo Saenger, 2013 =C2=A7 12 Rn. 488)". I conclude from this that org somehow mistreats the locator if it is not a page number. I used org 9.5 from MELPA and Citeproc.el from commit 34e66583d95a8d80fb5b9f2960f3382ca0e6d3ab. Is it a bug or (again) my error? -quintus --=20 Dipl.-Jur. M. G=C3=BClker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kontakt@guelker.eu | O<