Re: [PATCH] oc-basic: support biblatex date field

2021-11-04 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > This returns the correct result. > > (org-cite-basic--get-year "kohn2005" nil) > > How do I get that in the basic activate processor tooltip? `org-cite-basic-activate' calls `org-cite-basic--print-entry', which in turn calls `org-cite-basic--get-year'. IOW, the

Re: [PATCH] oc-basic: support biblatex date field

2021-11-04 Thread Bruce D'Arcus
On Wed, Nov 3, 2021 at 11:16 AM Nicolas Goaziou wrote: > I pushed a change along these lines in bugfix branch. Thank you! > Please let me know if it works for you. This returns the correct result. (org-cite-basic--get-year "kohn2005" nil) How do I get that in the basic activate processor too

Re: [PATCH] oc-basic: support biblatex date field

2021-11-03 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > Can you please fix that, if the patchis otherwise fine? OK. > The biblatex manual (section 2.3.8 Date and Time Specifications), says > the following: > > "Date fields such as the default data model dates date, origdate, > eventdate, and urldate adhere to iso860

Re: [PATCH] oc-basic: support biblatex date field

2021-11-02 Thread Bruce D'Arcus
On Tue, Nov 2, 2021 at 1:44 PM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" writes: > > > This is a tiny change that just checks for a 'date' field if 'year' is > > nil, and if present, grabs the first four characters. > > The date field may also be nil, leading to an error. Can you ple

Re: [PATCH] oc-basic: support biblatex date field

2021-11-02 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > This is a tiny change that just checks for a 'date' field if 'year' is > nil, and if present, grabs the first four characters. The date field may also be nil, leading to an error. Is there a guarantee that the date field starts with the year? Regards, -- Nico

[PATCH] oc-basic: support biblatex date field

2021-10-29 Thread Bruce D'Arcus
This is a tiny change that just checks for a 'date' field if 'year' is nil, and if present, grabs the first four characters. Bruce From feee2ca6d54d3495050de334c258438950494372 Mon Sep 17 00:00:00 2001 From: Bruce D'Arcus Date: Fri, 29 Oct 2021 08:17:43 -0400 Subject: