GNU bug report logs -
#64972
bibtex-autokey-get-year does not recognize biblatex date ranges
Previous Next
To reply to this bug, email your comments to 64972 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64972
; Package
emacs
.
(Mon, 31 Jul 2023 12:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gustavo Barros <gusbrs.2016 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 31 Jul 2023 12:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi All,
I think this counts more as a feature request than a bug report. But,
currently, `bibtex.el's `bibtex-autokey-get-year' cannot handle
`biblatex' date ranges, and it would be nice if it did.
For example, calling `M-: (bibtex-autokey-get-year)' with point inside
the entry:
@Article{,
author = {Author, J.},
title = {Title},
journaltitle = {Journal},
date = {2020-10/2020-12},
}
Results in user-error "Year or date field ‘2020-10/2020-12’ invalid".
The "date" field, however, is valid `biblatex' syntax for a date
range, according to the section "2.3.8 Date and Time Specifications"
of `biblatex's manual.
Best regards,
Gustavo.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64972
; Package
emacs
.
(Sat, 05 Aug 2023 09:28:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 64972 <at> debbugs.gnu.org (full text, mbox):
> From: Gustavo Barros <gusbrs.2016 <at> gmail.com>
> Date: Mon, 31 Jul 2023 09:53:41 -0300
>
> Hi All,
>
> I think this counts more as a feature request than a bug report. But,
> currently, `bibtex.el's `bibtex-autokey-get-year' cannot handle
> `biblatex' date ranges, and it would be nice if it did.
>
> For example, calling `M-: (bibtex-autokey-get-year)' with point inside
> the entry:
>
> @Article{,
> author = {Author, J.},
> title = {Title},
> journaltitle = {Journal},
> date = {2020-10/2020-12},
> }
>
> Results in user-error "Year or date field ‘2020-10/2020-12’ invalid".
>
> The "date" field, however, is valid `biblatex' syntax for a date
> range, according to the section "2.3.8 Date and Time Specifications"
> of `biblatex's manual.
Roland, any comments?
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64972
; Package
emacs
.
(Sun, 06 Aug 2023 16:10:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 64972 <at> debbugs.gnu.org (full text, mbox):
On Sat, Aug 05 2023, Eli Zaretskii wrote:
>> @Article{,
>> author = {Author, J.},
>> title = {Title},
>> journaltitle = {Journal},
>> date = {2020-10/2020-12},
>> }
>>
>> Results in user-error "Year or date field ‘2020-10/2020-12’ invalid".
>>
>> The "date" field, however, is valid `biblatex' syntax for a date
>> range, according to the section "2.3.8 Date and Time Specifications"
>> of `biblatex's manual.
>
> Roland, any comments?
Thanks, I'll look into this!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64972
; Package
emacs
.
(Wed, 23 Aug 2023 00:10:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 64972 <at> debbugs.gnu.org (full text, mbox):
On Sat, Aug 05 2023, Eli Zaretskii wrote:
>> date = {2020-10/2020-12},
>>
>> Results in user-error "Year or date field ‘2020-10/2020-12’ invalid".
>>
>> The "date" field, however, is valid `biblatex' syntax for a date
>> range, according to the section "2.3.8 Date and Time Specifications"
>> of `biblatex's manual.
>
> Roland, any comments?
biblatex permits dates and date ranges according to ISO 8601.
The problem in bibtex-autokey-get-year arises because iso8601-valid-p
believes that the string "2020-10/2020-12" is not valid according to
ISO 8601, though iso8601-parse-interval parses that string correctly.
So it seems to me that this problem requires, first of all, some changes
in iso8601.el. Who is familiar with this code and can possibly make
suggestions?
Roland
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64972
; Package
emacs
.
(Wed, 23 Aug 2023 11:31:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 64972 <at> debbugs.gnu.org (full text, mbox):
> From: Roland Winkler <winkler <at> gnu.org>
> Cc: Gustavo Barros <gusbrs.2016 <at> gmail.com>, 64972 <at> debbugs.gnu.org
> Date: Tue, 22 Aug 2023 19:09:31 -0500
>
> On Sat, Aug 05 2023, Eli Zaretskii wrote:
> >> date = {2020-10/2020-12},
> >>
> >> Results in user-error "Year or date field ‘2020-10/2020-12’ invalid".
> >>
> >> The "date" field, however, is valid `biblatex' syntax for a date
> >> range, according to the section "2.3.8 Date and Time Specifications"
> >> of `biblatex's manual.
> >
> > Roland, any comments?
>
> biblatex permits dates and date ranges according to ISO 8601.
>
> The problem in bibtex-autokey-get-year arises because iso8601-valid-p
> believes that the string "2020-10/2020-12" is not valid according to
> ISO 8601, though iso8601-parse-interval parses that string correctly.
>
> So it seems to me that this problem requires, first of all, some changes
> in iso8601.el. Who is familiar with this code and can possibly make
> suggestions?
I hope Paul (CC'ed) will.
Severity set to 'wishlist' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 11 Sep 2023 15:37:01 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 281 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.