From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aBsHNM8usWCJOAAAgWs5BA (envelope-from ) for ; Fri, 28 May 2021 19:56:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uLhVL88usWB/QgAAbx9fmQ (envelope-from ) for ; Fri, 28 May 2021 17:56:31 +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 2E46114E88 for ; Fri, 28 May 2021 19:56:31 +0200 (CEST) Received: from localhost ([::1]:56404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmgik-0001SZ-9E for larch@yhetil.org; Fri, 28 May 2021 13:56:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmghh-0000Wn-2z for emacs-orgmode@gnu.org; Fri, 28 May 2021 13:55:25 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:35648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmghf-0003wR-Ca for emacs-orgmode@gnu.org; Fri, 28 May 2021 13:55:24 -0400 Received: by mail-wr1-x432.google.com with SMTP id m18so4116090wrv.2 for ; Fri, 28 May 2021 10:55:22 -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=T2IwQSN+CbXNV33kQRMZKt+r9n3uK3rGIfOMQMo1vsk=; b=bE+itxd2XOOPa6XICz0Kysq4o0XFZplyGnGcT/SeygYmyvxkPoKYongYdW10lDHpSc RXRxM9cBXK2e1kTeyU4GNAVnJ8MVaA5fFaIYGSq6Ep2Bd7seFCmaewrWwwV+aTwLCwr1 3zYCQDH9vFgWFi3gJvLcO9IaiqeRCLNXYnStmGrJ+GK1f+HVmGhjjYewo8mlWM5nUzV8 Qdfp+g8DoJ4LkbAk9JlAeVaph8TUwS6ueRSeq/j1erzXc+H/aIpuTpjAsPyzjADLXbFF ncvvzfxZA/uUyrsj3Lfl/a/2X67pfs+oJrCYQ1satMQrD0SPCmFFAC6xA3mp81M7bjnC YpDA== 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=T2IwQSN+CbXNV33kQRMZKt+r9n3uK3rGIfOMQMo1vsk=; b=ACAAXgKFO+N42rPHlcykoDxT+d5RarKQRuGGWx/S9gdibCkJ5shChWe1SoZn2OP0yl NTgR6kfJWw91ADJ6zj6bQ00f6OgKBbQGfSJ+ov5Jl6Z7Bqm2cxuFyBxz60OllbMqo1l5 R0CjdnC4u/o7IUq8t05Y9eKjXbtaINarXb+6a2slVbYsLx3hjW0kLJ4TY571j3os9rtT BwZ65dzZhHj2BhFXsMz6e0kb4BrlpYwFKroGuwlmojWWOAfEMHD6E7UmQJnT6dtCAqu5 BpoaMU0ikzPczxiOtJsmdQwqpxuWCGmwD12FQ1HAC4Xm7CkCM65MOp5fdFBLpHivBvTE AYzw== X-Gm-Message-State: AOAM53054jgPkC+uVWOkds/ux3e/fh3+bUnYk2iQTB62eChPETMYp+ky wCl+VNT7XUeyqU3Fx444jOY0uKPr8U9Rhwte4lI= X-Google-Smtp-Source: ABdhPJyDFZYtEBcK5huWOc6e2NHhptl2G7DU8AQsHQ1a9F29OUn/Ik2ti6GIRX7+HVdTjt4b4z5UFBdqoHlLSa3xfV4= X-Received: by 2002:adf:ee4a:: with SMTP id w10mr7440408wro.35.1622224521503; Fri, 28 May 2021 10:55:21 -0700 (PDT) MIME-Version: 1.0 References: <878s3yah5c.fsf@nicolasgoaziou.fr> In-Reply-To: <878s3yah5c.fsf@nicolasgoaziou.fr> From: "Bruce D'Arcus" Date: Fri, 28 May 2021 13:55:10 -0400 Message-ID: Subject: Re: [org-cite, oc-csl] citation fontification and previews? To: "Bruce D'Arcus" , org-mode-email Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x432.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=1622224591; 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=T2IwQSN+CbXNV33kQRMZKt+r9n3uK3rGIfOMQMo1vsk=; b=Kj1p4OiBLnQffX41Issef7zhl7gdYQQqnbQQfe/1JoGj0QOhLjkJPva8ssx0XE97pyFWzn rnnwKe4NuWWAzFSVWsr029KFcwWH3nqqYcEaqGB3InXJR0jgQ1O8ROa2aE6gdKLhVrAjkj uw9VUAAYQWEykyjUp5KY3YK5sul0KSxLesrF4HMRN2f/qvBkK5ldb19VbdLkr97xHK4QEK AFYxqiyLW+gUOgQzC7D1c/2k0A83FGyIxcgLJxPyxXlY8wc8D5108LUj48aadHosrEnwIT 1wGAC3IBktQ2aPlTPB/aZK1E6lb3U4EfsyKfwoII5sIdSYIWYph3GHSiyzQGdQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622224591; a=rsa-sha256; cv=none; b=tmCxUwqt4tF6rqs//E66zbU03Xz5VgN45dpHy1h2NfIVWVF/dMQ4GL9eciiQaZrd8mzJl/ gzSEAiFdnqZhu6fdT+wGPQZYVlIIyw/9Rl3SzhCqg0UFfmqIaK6sYPzSfznTg+0KzkNpYU 9Z26WNYZ5RX3XkT8BM37jwpd/bjgbJJYwRvfRZkIHbS9I57itW1PcgsH9wlPl0TSo3OGoO 1EbOr5SoOqn8EIIMTswNTwpdSV80mDtWpkNsYb00sJsSOPIgIX0ME3i5vEzGRUREjvFONb 3Ven3D6Qcha/2YRGhEl8AAr+U4s0URXUKJ65ImqApXn35x6YM1w4UlbpKI/eMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=bE+itxd2; 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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=bE+itxd2; 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: 2E46114E88 X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: cTUXCrLN26Mt On Fri, May 28, 2021 at 1:43 PM Nicolas Goaziou wrote: > > "Bruce D'Arcus" writes: > > > In an earlier discussion, people raised the issue of fontification and previews. > > > > But I'm wondering what Nicolas has already implemented, and what he or > > others might still add. > > > > Details: > > > > John Kitchin (based on his experience with org-ref): > > > > https://lists.gnu.org/archive/html/emacs-orgmode/2021-04/msg00438.html > > > > He suggested a green face for known references, and red for unknown. > > > > I think Nicolas implemented this basic idea somewhere, but I am not > > noticing it; I don't see any difference with incorrect keys. > > You need to use "basic" processor for activation. It only supports > ".bib" files. Beyond requiring oc-basic (or any other "activate" processor), do I need to do anything more to "use" it? ... > > I think that example would imply overlays as well, though I don't > > really understand all the technical details or org-specific pros and > > cons (tooltips vs overlays and such), but am just wondering: > > > > 1. what is already included, and what should ship default? Perhaps > > Andras' idea would fit for oc-csl, since it already depends on > > citeproc-el? > > "oc-csl" could also handle the "activate" capacity. So could Org Ref. > > > 2. if some is not included, say preview, how would one add that? I > > assume the API supports it; so one would just install, say, a little > > package and add that as a "follow" processor? And one could add > > multiple such processors? > > You can only have one "activate" processor at a time. However, that > processor may itself be extensible. So then it might be ideal to have oc-csl be such an extensible "activate" processor then? >From what John has said here, it's likely to be quite awhile before we see an org-ref rewritten for org-cite. Bruce