Re: [org-mode] make citation object available to org-cite-make-insert-processor SELECT-STYLE?

2021-08-11 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > So the idea is to present a preview of the style/variant output when > selecting the style. > > Like: > > / (Doe, 2019) > > ... or maybe even multiple columns: > > / (Doe, 2019) \citep > > I'm thinking the best way to build this UI is to

Re: [org-mode] make citation object available to org-cite-make-insert-processor SELECT-STYLE?

2021-07-29 Thread John Kitchin
my solution to this (which I think worked well) is to select the keys, and insert a default style, and then you run a command that updates the style. that way you can get the keys that are in the citation easily from org-element-context, and then I can make a preview for each style that is

Re: [org-mode] make citation object available to org-cite-make-insert-processor SELECT-STYLE?

2021-07-29 Thread Bruce D'Arcus
Hi Nicolas, On Thu, Jul 29, 2021 at 3:28 PM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" 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

Re: [org-mode] make citation object available to org-cite-make-insert-processor SELECT-STYLE?

2021-07-29 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" 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

[org-mode] make citation object available to org-cite-make-insert-processor SELECT-STYLE?

2021-07-20 Thread Bruce D'Arcus
I'm working on a select-style function for org-cite, where I am adding previews to the style list. Current screenshot, with the natbib mapping: https://user-images.githubusercontent.com/1134/126326341-15ec2046-bf34-411a-a7d8-f2cbe85769c3.png But to do that best and most consistently (next step