[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [org-mode] make citation object available to org-cite-make-insert-pr

From: Bruce D'Arcus
Subject: Re: [org-mode] make citation object available to org-cite-make-insert-processor SELECT-STYLE?
Date: Thu, 29 Jul 2021 20:57:52 -0400

Hi Nicolas,

On Thu, Jul 29, 2021 at 3:28 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
> "Bruce D'Arcus" <bdarcus@gmail.com> writes:
> > But to do that best and most consistently (next step is CSL, for
> > example), I need the citation accessible from there, so I can run the
> > export processors to generate the previews.
> >
> > Could we possibly tweak SELECT-STYLE to take one argument: citation?
> When you are inserting a whole new citation, what would be the value?
> nil? What would you display then?

The first iteration of the idea behind the request is this style selection UI:


So the idea is to present a preview of the style/variant output when
selecting the style.


/          (Doe, 2019)

... or maybe even multiple columns:

/          (Doe, 2019)       \citep

I'm thinking the best way to build this UI is to iterate through
org-cite-support-styles, and run at least the default export processes
to create that preview annotation,

As my thinking has evolved (and there's been a lot of discussion on
this the past week), I see two options:

1. Generate the previews from the citations at point. This was the
idea that promoted the suggestion here, since I can't get access to
that citation data if I use org-cite-make-insert-processor.

2. Instead, have a standardized example record just for the preview.
With this approach, the citation context isn't relevant.

As to your question, do any style UIs currently allow you to select a
style on a new citation before selecting the keys?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]