From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KJQ8IHoJdGEBhAAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 15:09:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AHzqG3oJdGGuawAAB5/wlQ (envelope-from ) for ; Sat, 23 Oct 2021 13:09:14 +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 DB0D47DA1 for ; Sat, 23 Oct 2021 15:09:13 +0200 (CEST) Received: from localhost ([::1]:54532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meGls-00080e-86 for larch@yhetil.org; Sat, 23 Oct 2021 09:09:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meGlF-0007yW-Uu for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 09:08:34 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:35454) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1meGlD-0004AB-Nn for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 09:08:33 -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-101.mailbox.org (Postfix) with ESMTPS id 4Hc1jt1nHfzQkJ9 for ; Sat, 23 Oct 2021 15:08:18 +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=1634994495; 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=zePhvm/G4GGkWd0npiiKUS4lr55tCmwmvl/SgVG8c+w=; b=ACVE82RsCaHyQH6yGcSExelwgryiI3W7gX9QPMMq1PS3mkLd36nWXvuPDLsDvlLMNebxIK Mvviw2T5OGs6G4JLq4dPRb9ftD9SC65EWkOSmjUaBqB36YmdzmxAHaogASc0xJkZEjuhC1 JmVn28j+kvThEl7zCLP4LSh1of7BXOlI2QfbAXZkaOxUuejjDbPxEnQ6554suORK4vqxKE ZDB1iVcQaMyrqvA78cPJn//KixU54EWFfv8Kf2cC5vuYHeVQTWZ0GmSyWM3upIgi8yHHRJ HpmimTfKsaOixU0inl0qI43cHZlvOSZ3wlIcxIs/WuLClF8fGME9dZR7M4D+2w== From: M. =?utf-8?B?4oCYcXVpbnR1c+KAmSBHw7xsa2Vy?= To: emacs-orgmode@gnu.org Subject: Citations: position="first" match not properly evaluated Mail-Followup-To: emacs-orgmode@gnu.org Message-ID: <87fssr99e0.fsf@atlantis> Date: Sat, 23 Oct 2021 15:08:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 43602130F Received-SPF: pass client-ip=80.241.56.151; envelope-from=post+orgmodeml@guelker.eu; helo=mout-p-101.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, 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=1634994554; 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=zePhvm/G4GGkWd0npiiKUS4lr55tCmwmvl/SgVG8c+w=; b=fNnPpVzAs1q93Ylku5D7KIoD/36CRI2qA+0napdOJVgee+2u7ZCJ1ltpJCnw8Vhuvmtq1h GOEl3/sOx6w2UDLH4hX4KdxqwklRrKgOuiRq71Js5EGEfpPh0P/wdmJU178SRx+mW75CZJ Mn2H4OMMbsVfya1HRvUVBOe+MzQLX+CQ7EO1Nhjuu0y3gPEjykTidVUUq/KFfI1ImSZaYv tsOUp2uj9T41KruG0fj0gMGp8V7teEmTuxbdpY8OmSmoqGH2e1PRcEeg8jEARqAJtYQbwO BIdoOQb1/WdYu87OR0Y9tnJ4JUkdyi5Tq68AL1zmbl+LkMLMq7EjO9Sp0ZwnoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634994554; a=rsa-sha256; cv=none; b=scl/dbQHvamKKLnrVRF6vhQ87LghfQsEOJIKzeklPZbACBrbasL4gM0zgDL3RFi+fEEFgB ELHvk//i66OTRD9Xzv4eCDfQOFsDC/uiOTNepKfn30EzwHZF9Cr5yWMOtFgtYl4gMjcwJi Xpob4n1uPPeJQyw7Hc54xS/gcOER4KnXZkjmCmZW59OfIAN6GgLMzl0vmMWaO7f/z5kwL7 +CzPmGeNsBLyvB2jZbzViq5eO2wtcqvrcnUGw3h3rmCHgUjJgJs6gdaUjsPc7geXfPSGz3 8g9ndbXwt6bfRMvJXdFO0eJNXdhZ4qORN5HrKC40r/CGN3LEY9CMrL/0xSPQRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=guelker.eu header.s=MBO0001 header.b=ACVE82Rs; 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: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=guelker.eu header.s=MBO0001 header.b=ACVE82Rs; 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: DB0D47DA1 X-Spam-Score: -1.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: u3kMzPeYoNBG Dear all, the CSL style I use has footnotes. When a book is cited, it is once cited with the full bibliographic information, and later footnotes then reference the footnote in which this information first appeared, shortening the later footnotes to the format "Author, (o. Fn. ), ...". (the spurious comma I will look into later, it's probably an error in the CSL file). Now take this org file: #+TITLE: Test #+AUTHOR: testauthor #+LANGUAGE: de #+cite_export: csl /tmp/mwe/juristische-schulung.csl #+bibliography: /tmp/mwe/mwe.bib Das ist ein Test mit dem ersten Zitat [cite:@knuth1997tacp1 p. 55]. Dasselbe Zitat mit einer anderen Seite [cite:@knuth1997tacp1 p. 70]. mwe.bib: @Book{knuth1997tacp1, author =3D {Donald E. Knuth}, maintitle =3D {The Art of Computer Programming}, title =3D {Fundamental Algorithms}, year =3D {1997}, edition =3D {3}, publisher =3D {Addison-Wesley}, location =3D {Reading, Harlow, Menlo Park, Berkeley, Don Mills, Sydney= , Bonn, Amsterdam, Tokyo, Mexico City}, langid =3D {english}, volume =3D {1}} juristische-schulung.csl is https://github.com/citation-style-language/styl= es/blob/e22b8a566bad9b4c7f52720f60dd875057a5d210/juristische-schulung.csl Exporting this gives these two footnotes: 1 Knuth, The Art of Computer Programming, 3. Aufl. (1997), 55 2 Knuth, , 70 The second footnote is incomplete. It lacks the "o. Fn." mark and the footnote referenced. If I export the equivalent pandoc-markdown document with pandoc: --- title: Test author: Testauthor lang: de --- Das ist ein Test mit dem ersten Zitat [@knuth1997tacp1, p. 55]. Dasselbe Zitat mit einer anderen Seite [@knuth1997tacp1, p. 70]. Then both footnotes are proper: 1. Knuth, The Art of Computer Programming, 3. Aufl. (1997), p. 55 2. Knuth, (o. Fn. 1), p. 70 So it=E2=80=99s not an error in the CSL file. The CSL file uses this constr= uct to differenciate the two cases: This is probably a bug. Org mode version 9.5 (release_9.5-104-g2b1fc6 @ /home/quintus/.emacs.d/org-= mode/lisp/) citeproc.el at 34e66583d95a8d80fb5b9f2960f3382ca0e6d3ab -quintus --=20 Dipl.-Jur. M. G=C3=BClker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kontakt@guelker.eu | O<