Skip Menu |

This queue is for tickets about the Text-BibTeX CPAN distribution.

Report information
The Basics
Id: 125914
Status: rejected
Priority: 0/
Queue: Text-BibTeX

People
Owner: Nobody in particular
Requestors: bremner [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Character "(" not allowed in label although valid in BiBTeX
Date: Tue, 24 Jul 2018 12:41:29 +0800
To: bug-text-bibtex [...] rt.cpan.org
From: David Bremner <bremner [...] debian.org>
We have the following bug reported to the Debian package of Text-BibTeX (https://bugs.debian.org/704527): The bug was originally reported on biber, but the desired functionality is actually provided by Text-BibTeX. There was some discussion on the bug about definition of "10 magic characters" in the Text-BibTeX documentation. I could not find where this definition came from. If you know that it is unlikely the cite key format will change in Text-BibTeX that would be useful information for us as well. ------8<-----------8<-----------8<-----------8<-----------8<----- Package: biber Version: 0.9.9+release-1 Severity: normal Dear Maintainer, biber does not seem to accept the character "(" in a bibtex key. This is rather irritating, as the old bibtex did accept it along some other non-letter characters. This may of course be a conscious choice of the developers, but in any case it breaks the backwards compatibility of the databases (and for me, a lot of documents) and perhaps should be investigated. In older versions of biber there was an option to select a different type of parser, which in fact did circumvent the problem, but this option has obviously been removed. All the best, Harri Kiiskinen -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages biber depends on: ii libdata-compare-perl 1.22-0.1 ii libdata-dump-perl 1.21-1 ii libdate-simple-perl 3.03.03-1+b3 ii libfile-slurp-unicode-perl 0.7.1-1 ii libipc-run3-perl 0.045-1 ii liblist-allutils-perl 0.03-1 ii liblist-moreutils-perl 0.33-1+b1 ii liblog-log4perl-perl 1.29-1 ii liblwp-protocol-https-perl 6.03-1 ii libreadonly-perl 1.03-4 ii libregexp-common-perl 2011121001-1 ii libtext-bibtex-perl 0.63-1 ii libunicode-collate-perl 0.89-1 ii libwww-perl 6.04-1 ii libxml-libxml-simple-perl 0.91-1 ii libxml-libxslt-perl 1.77-1 ii libxml-writer-string-perl 0.1-1 ii perl 5.14.2-20 ii perl-modules [libunicode-collate-perl] 5.14.2-20 Versions of packages biber recommends: ii biblatex 1.7-1 ii libreadonly-xs-perl 1.04-2+b3 biber suggests no packages. -- no debconf information ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, David Bremner, Debian Perl Group
Subject: Re: [rt.cpan.org #125914] Character "(" not allowed in label although valid in BiBTeX
Date: Tue, 24 Jul 2018 09:22:25 +0100
To: bug-Text-BibTeX [...] rt.cpan.org
From: Alberto Simoes <ambs [...] perl-hackers.net>
Dear David Thanks for pointing this up. I will try to find out how complicated it would be to support parenthesis as bibtex keys. On 07/24/2018 06:23 AM, bremner@debian.org via RT wrote: Show quoted text
> Tue Jul 24 01:23:28 2018: Request 125914 was acted upon. > Transaction: Ticket created by bremner@debian.org > Queue: Text-BibTeX > Subject: Character "(" not allowed in label although valid in BiBTeX > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: bremner@debian.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=125914 > > > > > We have the following bug reported to the Debian package of > Text-BibTeX (https://bugs.debian.org/704527): > > The bug was originally reported on biber, but the desired > functionality is actually provided by Text-BibTeX. There was some > discussion on the bug about definition of "10 magic characters" in the > Text-BibTeX documentation. I could not find where this definition came > from. > > If you know that it is unlikely the cite key format will change in > Text-BibTeX that would be useful information for us as well. > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > Package: biber > Version: 0.9.9+release-1 > Severity: normal > > Dear Maintainer, > > biber does not seem to accept the character "(" in a bibtex key. This is rather irritating, as the old bibtex did accept it along some other non-letter characters. This may of course be a conscious > choice of the developers, but in any case it breaks the backwards compatibility of the databases (and for me, a lot of documents) and perhaps should be investigated. In older versions of biber there > was an option to select a different type of parser, which in fact did circumvent the problem, but this option has obviously been removed. > > All the best, > > Harri Kiiskinen > > -- System Information: > Debian Release: 7.0 > APT prefers testing > APT policy: (990, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) > Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages biber depends on: > ii libdata-compare-perl 1.22-0.1 > ii libdata-dump-perl 1.21-1 > ii libdate-simple-perl 3.03.03-1+b3 > ii libfile-slurp-unicode-perl 0.7.1-1 > ii libipc-run3-perl 0.045-1 > ii liblist-allutils-perl 0.03-1 > ii liblist-moreutils-perl 0.33-1+b1 > ii liblog-log4perl-perl 1.29-1 > ii liblwp-protocol-https-perl 6.03-1 > ii libreadonly-perl 1.03-4 > ii libregexp-common-perl 2011121001-1 > ii libtext-bibtex-perl 0.63-1 > ii libunicode-collate-perl 0.89-1 > ii libwww-perl 6.04-1 > ii libxml-libxml-simple-perl 0.91-1 > ii libxml-libxslt-perl 1.77-1 > ii libxml-writer-string-perl 0.1-1 > ii perl 5.14.2-20 > ii perl-modules [libunicode-collate-perl] 5.14.2-20 > > Versions of packages biber recommends: > ii biblatex 1.7-1 > ii libreadonly-xs-perl 1.04-2+b3 > > biber suggests no packages. > > -- no debconf information > > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > > Thanks for considering, > David Bremner, > Debian Perl Group >
Dear David, After looking into the parser, and given we do not have the original tool that was used to build the btparse library (an old version of antlr), it is not easy to support the parenthesis in the label key (as they would interfere with other portions of the parser that uses the same expression to recognize other parts of the bibtex language). Thus, we decided not to perform any change, specially given that using parenthesis on the entry key is something not very common, and would be easy to write a tool to replace them with other character. Thank you Albeto On Tue Jul 24 04:31:52 2018, ambs@perl-hackers.net wrote: Show quoted text
> Dear David > > Thanks for pointing this up. > I will try to find out how complicated it would be to support > parenthesis as bibtex keys. > > On 07/24/2018 06:23 AM, bremner@debian.org via RT wrote:
> > Tue Jul 24 01:23:28 2018: Request 125914 was acted upon. > > Transaction: Ticket created by bremner@debian.org > > Queue: Text-BibTeX > > Subject: Character "(" not allowed in label although valid in > > BiBTeX > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: bremner@debian.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=125914 > > > > > > > > > We have the following bug reported to the Debian package of > > Text-BibTeX (https://bugs.debian.org/704527): > > > > The bug was originally reported on biber, but the desired > > functionality is actually provided by Text-BibTeX. There was some > > discussion on the bug about definition of "10 magic characters" in > > the > > Text-BibTeX documentation. I could not find where this definition > > came > > from. > > > > If you know that it is unlikely the cite key format will change in > > Text-BibTeX that would be useful information for us as well. > > > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > > > Package: biber > > Version: 0.9.9+release-1 > > Severity: normal > > > > Dear Maintainer, > > > > biber does not seem to accept the character "(" in a bibtex key. This > > is rather irritating, as the old bibtex did accept it along some > > other non-letter characters. This may of course be a conscious > > choice of the developers, but in any case it breaks the backwards > > compatibility of the databases (and for me, a lot of documents) and > > perhaps should be investigated. In older versions of biber there > > was an option to select a different type of parser, which in fact did > > circumvent the problem, but this option has obviously been removed. > > > > All the best, > > > > Harri Kiiskinen > > > > -- System Information: > > Debian Release: 7.0 > > APT prefers testing > > APT policy: (990, 'testing') > > Architecture: i386 (i686) > > > > Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) > > Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8) > > Shell: /bin/sh linked to /bin/bash > > > > Versions of packages biber depends on: > > ii libdata-compare-perl 1.22-0.1 > > ii libdata-dump-perl 1.21-1 > > ii libdate-simple-perl 3.03.03-1+b3 > > ii libfile-slurp-unicode-perl 0.7.1-1 > > ii libipc-run3-perl 0.045-1 > > ii liblist-allutils-perl 0.03-1 > > ii liblist-moreutils-perl 0.33-1+b1 > > ii liblog-log4perl-perl 1.29-1 > > ii liblwp-protocol-https-perl 6.03-1 > > ii libreadonly-perl 1.03-4 > > ii libregexp-common-perl 2011121001-1 > > ii libtext-bibtex-perl 0.63-1 > > ii libunicode-collate-perl 0.89-1 > > ii libwww-perl 6.04-1 > > ii libxml-libxml-simple-perl 0.91-1 > > ii libxml-libxslt-perl 1.77-1 > > ii libxml-writer-string-perl 0.1-1 > > ii perl 5.14.2-20 > > ii perl-modules [libunicode-collate-perl] 5.14.2-20 > > > > Versions of packages biber recommends: > > ii biblatex 1.7-1 > > ii libreadonly-xs-perl 1.04-2+b3 > > > > biber suggests no packages. > > > > -- no debconf information > > > > > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > > > > > Thanks for considering, > > David Bremner, > > Debian Perl Group > >