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 VSZWIwNGuWDGPQAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 23:13:39 +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 sJEiHgNGuWBkYwAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 21:13:39 +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 ED4C5B22B for ; Thu, 3 Jun 2021 23:13:38 +0200 (CEST) Received: from localhost ([::1]:58930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loueo-0007XU-3j for larch@yhetil.org; Thu, 03 Jun 2021 17:13:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loud6-00051y-51 for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 17:11:52 -0400 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]:43977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loud4-0005fK-Db for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 17:11:51 -0400 Received: by mail-il1-x135.google.com with SMTP id x18so6908699ila.10 for ; Thu, 03 Jun 2021 14:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=pcK9x/FNQQclXHT9OSuu2gpaYL5oI28Lu2eKH2jeDxA=; b=rRiG/fm4azWlf9hAny0m4ofwEJK/nJOYAy1kCMPxxegSFL7iU/uo3o+yiNIiC/G/nW Gscy6syNMvAjbhG1L/Vv/IkvFGvOdsgpNgaikU3MaR7lA0QJkIGhWf/MneWPzkCMOaOc ffeh95vFa9Hv+2oeWKuomUnlQKA47qFB9YKYP9F7QsoxVLr19mNWffhcpbiiLFmW6WDJ 5o7PiUUNMgJo1wDMaEgPVKkYf6oVuYs5cKb0OceXQuN+ZNqDAZwaLpHCw0bHL1aGvkSi aIUSBRAGCaHfd5mizxqGBEebr57q3monRVQx4Ucp4/vtx5YOQxBXt2Dcr/w6TXvqORN7 cPYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=pcK9x/FNQQclXHT9OSuu2gpaYL5oI28Lu2eKH2jeDxA=; b=K2nXM5Gw76KiUuqiP/Ys5VNr4RFeqJhsL2KwkLhcd28JHGZ+ipexJ5vD+sHv+FZ5AB roB9n/2h2leFdjEGMsI3+2GZJobxWGTxYHPKEhIty+mhl5XtWAqQ7nrrVSBoCz4KoOs0 9Ls+UT3s+cubQTTNGBwNFyvnP2+KzeB4t5zNOvN4vdahMoWbj/kKYmuEMsfmwEhDN72h KXxhqSQZ188nTy901ugwiLdcuMv+Tnh3SOnF+TcyQQRpK5a7H18czRWessjxBQK+92Xl FsddTfyzeJdTll6dEjjF7xBrdZGUB4NrAKG0ByHuYd5SXQHXQOv4dUo+i52cUtpmGmps wBkQ== X-Gm-Message-State: AOAM533hnjbEdr7xtPpG7hKJshLhgT7gNWdSWeXZbUaTJ7N96RUZcqx0 yZqELQlR6dcNnks6SkPsa3adfkKXEySfhXWvnDrmKPrR+0lsnw== X-Google-Smtp-Source: ABdhPJzonDjmxT7OUA6WPox0yp3+3GoKcxdRr5kzdLH0qXM8UoJBAt5y1GmwDH2dgjWUw0Kj87++BowS4+rWqdRSxNc= X-Received: by 2002:a92:cd10:: with SMTP id z16mr1085172iln.308.1622754708508; Thu, 03 Jun 2021 14:11:48 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Thu, 3 Jun 2021 23:11:37 +0200 Message-ID: Subject: [org-cite, oc-basic] Citation disambiguation To: emacs-orgmode list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::135; envelope-from=andras.simonyi@gmail.com; helo=mail-il1-x135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1622754819; 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=pcK9x/FNQQclXHT9OSuu2gpaYL5oI28Lu2eKH2jeDxA=; b=KY0MWCeA2YtJpbOeesqMTL9NMSxMaTWXN6l2oPp5tWiGhtMuoT0G13RX6WoVCUtIMzxQcb /H+8vrm5Mnb9DRjgnvy/CwTh2pge5SGhSe/9l+Hz0LBDnfdjjbt2/3xnE0FJCaa5ckg+kk /3cQmBm897ZdHTxbGFWQH8Xx9OHv6O5TY8iCGu9SbcdtwqzTPXjJuJK9Z3tn8g+NSvSBiD kIUv+Nsw5+Nfe5f62FaXTLpomYlRvnANxE6MtGQVJAbJ7eK4hN5P8TEllW1SKSooFhE96W +g+5970fP5eSvvXMp4zWKxEYaIlU/xhcCU/+6qiLtgIOv0W6UAn3NbHwHhXGnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622754819; a=rsa-sha256; cv=none; b=Y9gR+7W45/yS/lAYYIepQt8SgXiQst5peybduE+6GPftrJQ+Pwxmk1QtRTnYn6CKYkfD5y Z4bQzuBRYaaHb+7Y3rhSTOE0Hw3qU8Z5Y9x+1rv7tj4Q0dfUA0TeoRGJfSQ3wARG0+h+nk 9/2oPIXRVd4sT4dYrg7uk23byLBExopuDI9IhCN/PoNDSaGFuAVJzkwWG8B84WkvRVjzAe 58jpx0rTwd8vRv7nVvPaMykR6yTEOmVFPHCpCNjgpRPqwFm4SHTd+juSLTw4mmswqpHjpp 3dUHr2z5iEIhst4iG04Hv1faD8zY26lVJvOpYLx8bkU3fGwFL6a8dtu3w5Wk8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="rRiG/fm4"; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="rRiG/fm4"; dmarc=pass (policy=none) header.from=gmail.com; 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: ED4C5B22B X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: qfjzjVb9UVIX Dear All, experimenting with the 'basic' citation backend I noticed that the default author-year citation style (and its derived variants, like text and year) does not perform citation disambiguation for items that have the same author and year. E.g. the Org document --8<---------------cut here---------------start------------->8--- #+cite_export: basic author-year author-year First: [cite:@disamb1examp] Second: [cite:@disamb2examp] --8<---------------cut here---------------end--------------->8--- is exported as --8<---------------cut here---------------start------------->8--- First: (Doe, John, 1973) Second: (Doe, John, 1973) Doe, John (1973). /Minor Work/, Journal of Philosophy. Doe, John (1973). /Magnum Opus/, Journal of Philosophy. --8<---------------cut here---------------end--------------->8--- which makes it impossible to identify the cited item. Perhaps the most widespread solution to this problem is to add so called year-suffixes to the year to disambiguate: --8<---------------cut here---------------start------------->8--- First: (Doe, John, 1973a) Second: (Doe, John, 1973b) Doe, John (1973a). /Minor Work/, Journal of Philosophy. Doe, John (1973b). /Magnum Opus/, Journal of Philosophy. --8<---------------cut here---------------end--------------->8--- I think some kind of disambiguation strategy should be implemented for the basic citation backend to be really usable with the author-year style. WDYT? best regards, Andr=C3=A1s