From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WKGWBty9YmEXBwAAgWs5BA (envelope-from ) for ; Sun, 10 Oct 2021 12:18:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eFlQAdy9YmFzOgAAB5/wlQ (envelope-from ) for ; Sun, 10 Oct 2021 10:18:04 +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 0A9CA29871 for ; Sun, 10 Oct 2021 12:18:03 +0200 (CEST) Received: from localhost ([::1]:59476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZVu6-0001ro-5l for larch@yhetil.org; Sun, 10 Oct 2021 06:18:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZVtZ-0001rP-PG for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 06:17:29 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:45261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZVtX-0003qu-E1 for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 06:17:29 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 1A7621C0003 for ; Sun, 10 Oct 2021 10:17:23 +0000 (UTC) From: Nicolas Goaziou To: emacs-orgmode@gnu.org Subject: Re: Citations: non-page locators placed in front of citation In-Reply-To: <87wnmljn2y.fsf@atlantis> ("M. =?utf-8?Q?=E2=80=98quintus?= =?utf-8?Q?=E2=80=99_G=C3=BClker=22's?= message of "Sun, 10 Oct 2021 10:33:41 +0200") References: <87wnmljn2y.fsf@atlantis> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Date: Sun, 10 Oct 2021 12:17:23 +0200 Message-ID: <8735p99ob0.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.197; envelope-from=mail@nicolasgoaziou.fr; helo=relay5-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_H2=-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.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=1633861083; 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=5W+Rls/0F1PtmUptrguyZTZ+P/8jTVo4yv8gf1LgvtE=; b=WXwTJN44IgbrVb/dY1Np5fUp8FES3HUxsd7K6ZHMKCy7Cvy6pmkEBAi/bkE2ormuPQ+fEl H2GEY75KMGAoh1yzqTvq3dI8NwzgYfyFimFCe7NGbHzujVDxertbpbkvjvNOxueM/U7GQT tLdhyIyoigGCHXVrX8GXq3YjkgKt01q3tB3GV7maWe1T8qawJbH3T7AEDpaXPBxoPDHsf1 VU3Lct9TggMrtOcAbjPBrJkTL0ou8lRF+jAXgMzSrW8kXyMDL7TyAh8yEw7vwttXU5yd7o xMclc1jQ/B/ENzROCJG0T1dFFtriUo2M7pTwAes4NauLrE7O3kWFvopyfsZXWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633861083; a=rsa-sha256; cv=none; b=b2rvPEBlWB5c0EJjByTSDQ6VMSHKe/0NdLbep2bLqdKULyrjJvF9iynCGXHa0t0A86joRn /AvZDXDEKoXd1/adqbw4z22wLwZrmUXBOqsxZSr/r0+ZJ50Q7+c/sXUqTZNYWJfjf0LVWP 5vJqeD8z7tWFaxvuwb4qO/xQA9P/bp3Q2f4jX/v6orxeE8Trkdoxd9OBDYaC2Qi+vqP7dO qp3XYdvA0L8Kv8cBlAFwY2Tme26CpZt3M2QaqGoCW73R6Qevsy2IrMImALjlyegHW1k5aQ u42qWIzN8oiOUrVqt+NGj/vrl4q70RBlgH3CLlglF4QNw0gmDGryIBnJM6lAYw== ARC-Authentication-Results: i=1; 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-Spam-Score: -2.41 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: 0A9CA29871 X-Spam-Score: -2.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: uPYVnlvTDMvZ Hello, M. =E2=80=98quintus=E2=80=99 G=C3=BClker writes: > apologies for my frequent e-mails. It=E2=80=99s just that I am evaluating= the > citations facility for me. On the contrary, feedback on citations is very much welcome. This is a new features, and as such, has some rough edges. > This time it=E2=80=99s about non-page locators. Take the following docume= nt: > > #+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/e22b8a566bad9b4c7f= 52720f60dd875057a5d210/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 = number > (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 [...] > Is it a bug or (again) my error? It is a bug. You use a non-breaking space between the locator and the number. I hadn't anticipated this (duh!). I fixed it. Could you confirm it? Thank you. Regards, --=20 Nicolas Goaziou