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 0JKMC61omWB0WwEAgWs5BA (envelope-from ) for ; Mon, 10 May 2021 19:09:01 +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 yPMeB61omWC5MwAAbx9fmQ (envelope-from ) for ; Mon, 10 May 2021 17:09:01 +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 B0AAC245F0 for ; Mon, 10 May 2021 19:09:00 +0200 (CEST) Received: from localhost ([::1]:55492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lg9Os-00043C-1Y for larch@yhetil.org; Mon, 10 May 2021 13:08:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg9Ny-0003mh-R7 for emacs-orgmode@gnu.org; Mon, 10 May 2021 13:08:02 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:39671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lg9Nw-0004gL-PE for emacs-orgmode@gnu.org; Mon, 10 May 2021 13:08:02 -0400 Received: by mail-wr1-x436.google.com with SMTP id v12so17379107wrq.6 for ; Mon, 10 May 2021 10:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ldFEXGitEqiLH7xN/Bsih8hGTlW422nZ3Xrmrj9l3C0=; b=fc7lEMRhfmFobIP2n2vQT7m1KQpwGvaEOKn9trOcoOUiMU3B8lT99tO+efOojMfAzE dpsg7wbo1wPjcjMmORdfB7dmlVC4R+6p7yoeKTVSUbbulgH/Umneuw5aL5RFMSnmT1F6 4QMSVc7wySuEpYR3dB4gOs5dIqyCHjy0BMKe0XdsXTTE0oHsEzFJSXsHNgFGtAlCzWq8 l+pzxdB85VQczeYf0HUx6lO88RQsTemq5f1yv8tmsfTlVEKvhieB5HAGBGres5jVR/Ux pdSrzMD7cLg2SRJW/X41v8iQntAmNcW6P/M2t7BTnwD9yfvuSSyuuatnH4vjJG+u3E7h GLqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ldFEXGitEqiLH7xN/Bsih8hGTlW422nZ3Xrmrj9l3C0=; b=bN5WPMvSY4mlFaxS8CBHbtQM/NOUabymzXQS78ZtwYBeDDYNjlUnB1xhE7XM2q/Ue2 oU6Zam8b1atDFHNT9cRHnWtWNpGrOYL1gj/fmCGOOB5NFXd4kRBSi21/APvyr8cxDJjt C7h4kVYhqfmuith1TNZz+A3aK62Fpjg0/XDbiOeB/WGXT9U93sQQJvT+KzU/7lkTq6Uw 7utYkHsUtVi5Xxuo9GHdpt+rTnrriSYO5yWpwRJcyO4GUcvRpf49abhr+AemIDeLm8xs E4Xavu2x1zoR+zx+X/4Ox+ZmokuQYWd+gqZjIrt/oC5k/fDPWU32q7wB7yDRN3XxvBZd 6Lzw== X-Gm-Message-State: AOAM5315lnIBU3Z7CiIgD+95J05sm0Ms3v0r5bnRU7HEZNrBkw+l4sbh PHDej3aaMymGm1mzGv0LXt5XXQCX0k7jao4eZ456DAL/vKM= X-Google-Smtp-Source: ABdhPJyIlYYSIquRi1dgZY3WKEN9PhfCMZBTIzUH46HLvPT9dBshHSWk3jUCDs0C0kgirHj9oDPJvvm3KZoU6rZttKA= X-Received: by 2002:adf:ec02:: with SMTP id x2mr31614551wrn.35.1620666478493; Mon, 10 May 2021 10:07:58 -0700 (PDT) MIME-Version: 1.0 References: <87eeel44gt.fsf@nicolasgoaziou.fr> <87wnsc2hag.fsf@nicolasgoaziou.fr> <87y2coz3l7.fsf@nicolasgoaziou.fr> <878s4nzmcd.fsf@nicolasgoaziou.fr> In-Reply-To: From: "Bruce D'Arcus" Date: Mon, 10 May 2021 13:07:47 -0400 Message-ID: Subject: Re: [wip-cite-new] New natbib processor To: Org Mode List Content-Type: multipart/alternative; boundary="000000000000c001c105c1fcd1e2" Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x436.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, HTML_MESSAGE=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=1620666540; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ldFEXGitEqiLH7xN/Bsih8hGTlW422nZ3Xrmrj9l3C0=; b=Ah0l2T3WeLW+G7ii3reDQWKsITMyO4Tsx4yBcCQ6/fRw1TWRlKFbt6eW6kvTd2nF6ulEE4 vwBA4Sdp5p23Zmp9WhtJsODKEtzp9Mp3Po29ZJu972TyJtGH1O174ZGpD4F1HZSed6I8ku a+H892SgvP0yKNSkJ3D4MQQ02RibrIs/VDpbWiIa1W2ac5icykxT1wBqJUzV62L6t25gA5 FS2VV7qzpdqUSp2fUckQ5NtqWfKzBVfxqn5hnAMzUUOs5PgFumlJipCjsbI3+pF/3HTaI+ 08b6YIFMbewU2tY8PNYCw/s+m0xz8mWCXaeSo+zLkObwrxZTnqITgcZlx+cYmQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620666540; a=rsa-sha256; cv=none; b=BaDLESR1XnFURiX4sVwxJLG4oi3XPhULjauw8oRwc4qsXVZ83ai8+kfSh7lDMQ4wTSPGDY cFzUXFCwCwTgHVO3y8nkyUhSJxVWTr+g8nWx1K/pAdn5nlVv7XxxveuIU9xCN/zQb9hkz3 0JiGR4oaj6tCZ0kVgMaXkr3g8BemOtjRux90qkzVsLp7qo6xEQZpQAlL9bbcwXreBfwz0y cZFw+KYpxyWwjQN2NSrhfuTneVKbc71BmUQ8l7yNRq598b/2OEnbPXK8Fd1lHREuESkT4H woaYfmmQTwlBoLrCm2dfDKFCozArem9gxRa1dWuwJesMlWB890tOZAIdazZd3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=fc7lEMRh; 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.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=fc7lEMRh; 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: B0AAC245F0 X-Spam-Score: -3.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: sx0vA4thssBI --000000000000c001c105c1fcd1e2 Content-Type: text/plain; charset="UTF-8" Minor suggestion Nicolas: Currently, oc-natbib ignores global affixes. This makes some sense given natbib has no notion of global vs per-cite affixes. But it seems ideally the code would preprend the global prefix to the local prefix of the first cite. So [cite:global ;local @doe] should yield \citep[global local ][]{doe}. Not sure about suffixes; maybe (?) those are best ignored. Bruce --000000000000c001c105c1fcd1e2 Content-Type: text/html; charset="UTF-8"
Minor suggestion Nicolas:

Currently, oc-natbib ignores global affixes.

This makes some sense given natbib has no notion of global vs per-cite affixes.

But it seems ideally the code would preprend the global prefix to the local prefix of the first cite.

So [cite:global ;local @doe] should yield \citep[global local ][]{doe}.

Not sure about suffixes; maybe (?) those are best ignored.

Bruce
--000000000000c001c105c1fcd1e2--