emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: "Bruce D'Arcus" <bdarcus@gmail.com>,
	org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: [org-cite, oc-csl] citation fontification and previews?
Date: Fri, 28 May 2021 13:55:10 -0400	[thread overview]
Message-ID: <CAF-FPGP0rTtFJ4rORqDepkPoBmDVbDSXLBiinYVpDzHJcawH-Q@mail.gmail.com> (raw)
In-Reply-To: <878s3yah5c.fsf@nicolasgoaziou.fr>

On Fri, May 28, 2021 at 1:43 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> "Bruce D'Arcus" <bdarcus@gmail.com> 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


  reply	other threads:[~2021-05-28 17:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28 12:17 Bruce D'Arcus
2021-05-28 12:27 ` Bruce D'Arcus
2021-05-28 17:43 ` Nicolas Goaziou
2021-05-28 17:55   ` Bruce D'Arcus [this message]
2021-05-28 19:59     ` Nicolas Goaziou
2021-05-28 20:40       ` Bruce D'Arcus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF-FPGP0rTtFJ4rORqDepkPoBmDVbDSXLBiinYVpDzHJcawH-Q@mail.gmail.com \
    --to=bdarcus@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [org-cite, oc-csl] citation fontification and previews?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).