From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4GdLJnRqTGKmFwEAgWs5BA (envelope-from ) for ; Tue, 05 Apr 2022 18:12:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2FHuHnRqTGJogQAAG6o9tA (envelope-from ) for ; Tue, 05 Apr 2022 18:12:36 +0200 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 E6B998AA4 for ; Tue, 5 Apr 2022 18:12:34 +0200 (CEST) Received: from localhost ([::1]:36070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nblnG-0001mr-0U for larch@yhetil.org; Tue, 05 Apr 2022 12:12:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nblmY-0001mf-8S for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 12:11:50 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:34761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nblmV-0007lR-O0 for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 12:11:49 -0400 Received: by mail-ed1-x52a.google.com with SMTP id r10so9776856eda.1 for ; Tue, 05 Apr 2022 09:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2xIyV/2C9c/6IQ/59sZYQmdUip8ym4lQJC67ryOuMBM=; b=KxQb4al6rOU40jXUrX2XXEHp6b08ZWXHbsn9gC8luwEVplcvv/55oiKO1UQ3DhFoQ+ sNO/ZMdG2Xuf0a/WOYXc/VsOs6YVBpEcSVVipHBD2/pfKYQHXD1yEN+ep0WY3F3wPStz dWnJX68RvSfLTVOlXUeXEqczPyhMbCZL4qt/y3I/ovgLheFwnPjJZ1BmiWi7Y1FbtZi6 V4fwCL+dUMYMtJzQopm6JiOHB69+m14D5lCQQwZQLwpTwTA5GH+e4Va8kon/Og8Z4IF2 cO3ab2NRvACDfsD7DyEhQHFbfC0o4Ie4ZiSEi2p2k3OYQt6HWmreJGjYfYt0ki7LwVJ+ RQew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2xIyV/2C9c/6IQ/59sZYQmdUip8ym4lQJC67ryOuMBM=; b=C3RjDSO0Xi9qgw1CDa5yP+o9Xj7ZXH0XkZy2IC81Daw9XpbKM76tXpUvebH1yMG1hP a6+c4EDt0ANu6A+AgLELaAxZArCbQ6y+YNlPYnQqA1h7QuZ7TJcQ7PNPjrIJySnGKcXQ z8/LcHyJhZ+QSl+4H6/NXbWNe0ZpdpvF3+s1y2PLNjPjU91pMYtDSlK3nGUYtJkhSqzC 52at4OImjxN+G7h7cUnfskjN9qShVErogzR5IaN+TGHIgU8YN5FrrwsvJoG3leJXYdGw eu73Z5thxxI0kX4LrqC+P0DEkQXKj58J5wSv7pQFam1/px5HwgI9XP+Ndf3thWbyMRtD f5FA== X-Gm-Message-State: AOAM532FsdEd8QuTOH1Bx68h7a9Yww9VxK7AAjRND4IzkiNKPU2nLIrH eqR2Oa9MbhxL+rRXUiyYuHZB2U9L+1D+VwQ9/6M= X-Google-Smtp-Source: ABdhPJzYEjmTnECnzz2fRnhBBKN0yzmXVXZf2vzqiaa/QjsXUviGcyzaOWl8kDJTAq3JA/GPzLO5KXIxEi2o9Bvb8EA= X-Received: by 2002:a05:6402:40c4:b0:419:135b:83ac with SMTP id z4-20020a05640240c400b00419135b83acmr4414147edb.321.1649175105210; Tue, 05 Apr 2022 09:11:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: John Kitchin Date: Tue, 5 Apr 2022 12:11:33 -0400 Message-ID: Subject: Re: org-cite styles don't allow * in them To: "Bruce D'Arcus" Content-Type: multipart/alternative; boundary="000000000000518da305dbea80e3" Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=johnrkitchin@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649175156; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=2xIyV/2C9c/6IQ/59sZYQmdUip8ym4lQJC67ryOuMBM=; b=Gyk0qbYRtHb6A3oeGiyviezkvAuSPTYG7fJUEJ6trgbXoTogZrLA24VGTkck1JNaTUzPWH gfOAPs5Z72DmwYrC7j6Gs1/raU3WjFGJW0kw4iU4j0BRjsbJidIAoYO0OH6zkjHoYRHt+/ UlOm0jFr3FiFXEgtDhaxxclG86xdIrx4oyKMjnFWvOA6qicjwNxNVIToND+7sn9xcPceYZ F82fBjFg6jsBFXWF6Plm9R0pO6J+OYzoz7tuKZk16THOIjVHYv7Qhzz0IO297jKkAKKkUD tFSiuKyCMWe4DBEp+T/Vcq9jRGAUOZnSVbyzW3/hH9QslmlzyDLpQ9uSsk9lMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649175156; a=rsa-sha256; cv=none; b=huFdlHbFKafY4Z0MoaeGjD5HZV63hdw3OEXlcn+XjTvmaD83nZvXlRlSXoe9YY+DvBsRli hUFOgUlEEIXqiOV6wqdAe/Te5mix+4uzNoLZXIBrzBEQlIYtBpgXreMim2dkDop/nrf8sA n8sqWssMLjP1ded6/hv1hX15DLhrqd9H6MT4TNa6wd7/zfwT5Sju1crepk2BCvmcjgTUgX Vk3St5bMTApYVGT81pLbylnyHZKAH/8jGL2AAsR4+Sn4fHEVxTBebOaLo0aCW6zYhGxiiX TByJLMyfyFZauBQZ1b9/ikqJYczMprEc9AlwqILCj/0CE6wlJ81fKdJRn9dzrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=KxQb4al6; dmarc=pass (policy=none) header.from=andrew.cmu.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=KxQb4al6; dmarc=pass (policy=none) header.from=andrew.cmu.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E6B998AA4 X-Spam-Score: -7.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: pQOedIerDuWu --000000000000518da305dbea80e3 Content-Type: text/plain; charset="UTF-8" Would you find it suitable to use [cite/command:pre @key post] in general? For portability, I suppose there could be a defcustom mapping if one wanted to leverage the oc-csl library with pretty minimal effort. I think two things need to be addressed to fix that. First is allowing a * in the style/variant section; there are probably 17 or so of these commands in natbib/biblatex. Second is fixing org-activate-link so that link activation functions don't get called on something like [cite/citet:@key]. This is necessary for org-ref and org-cite to co-exist, but also other packages or users might also define links like cite:. John ----------------------------------- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Tue, Apr 5, 2022 at 11:56 AM Bruce D'Arcus wrote: > On Sun, Apr 3, 2022 at 5:07 PM John Kitchin > wrote: > > > > I was looking into using latex commands as styles in org-cite, e.g. > > > > [cite/citet:@key]. That example works fine, but [cite/citet*:@key] is > not allowed. Could that be allowed? > > I have no insight into the restriction, but I hope it can be removed. > > It occurs to me in that scenario it should be easy to write a function > that allows users to toggle between the two sets of styles: the direct > latex ones, and the more general default org-cite ones. > > Bruce > --000000000000518da305dbea80e3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Would you find it suitable to use [cite/command:pre @key p= ost] in general? For portability, I suppose there could be a defcustom mapp= ing if one wanted to leverage the oc-csl library with pretty minimal effort= .

I think two things need to be addressed to fix that. F= irst is allowing a * in the style/variant section; there are probably 17 or= so of these commands in natbib/biblatex. Second is fixing org-activate-lin= k so that link activation functions don't get called on something like= =C2=A0[cite/citet:@key]. This is necessa= ry for org-ref and org-cite to co-exist, but also other packages or users m= ight also define links like cite:.=C2=A0


John

------------= -----------------------
Professor John Kitchin (he/him/his)
Doherty H= all A207F
Department of Chemical Engineering
Carnegie Mellon Universi= ty
Pittsburgh, PA 15213
412-268-7803

<= /div>

On Tue, Apr 5, 2022 at 11:56 AM Bruce D'Arcus <bdarcus@gmail.com> wrote:
=
On Sun, Apr 3, 2022 at 5:= 07 PM John Kitchin <jkitchin@andrew.cmu.edu> wrote:
>
> I was looking into using latex commands as styles in org-cite, e.g. >
> [cite/citet:@key]. That example works fine, but [cite/citet*:@key] is = not allowed. Could that be allowed?

I have no insight into the restriction, but I hope it can be removed.

It occurs to me in that scenario it should be easy to write a function
that allows users to toggle between the two sets of styles: the direct
latex ones, and the more general default org-cite ones.

Bruce
--000000000000518da305dbea80e3--