Skip Menu |

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

Report information
The Basics
Id: 32209
Status: resolved
Priority: 0/
Queue: Text-BibTeX

People
Owner: Nobody in particular
Requestors: Seth.Goldstein [...] cs.cmu.edu
Cc:
AdminCc:

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



Subject: Problems with ^J in the author field
Date: Wed, 9 Jan 2008 13:18:51 -0500
To: <bug-Text-BibTeX [...] rt.cpan.org.>
From: "Seth Copen Goldstein" <Seth.Goldstein [...] cs.cmu.edu>
I have version 0.37 of BibTex. I compiled on windows XP using cygwin and gcc. A string such as: author = {Karagozler, Mustafa Emre and Campbell, Jason D. and Fedder, Gary K. and Goldstein, Seth Copen and Weller, Michael Philetus and Yoon, Byung W.}, [Note that there is a ctrl-j after Philetus] Somehow zaps the Michael philetus part of the entry. I can't seem to find where to look. If someone points me in the right direction, will happily fix and send back a patch. Thanks, -seth --------------- seth@cs.cmu.edu 7122 Wean Hall www.cs.cmu.edu/~seth School of Computer Science phone: 412-268-3828 Carnegie Mellon University fax: 412-268-4801 Pittsburgh, PA 15213
Subject: Re: [rt.cpan.org #32209] Problems with ^J in the author field
Date: Wed, 09 Jan 2008 18:34:04 +0000
To: bug-Text-BibTeX [...] rt.cpan.org
From: Alberto Simões <albie [...] alfarrabio.di.uminho.pt>
Hi, Seth. Seth Copen Goldstein via RT wrote: Show quoted text
> > I have version 0.37 of BibTex. > I compiled on windows XP using cygwin and gcc. > A string such as: > > author = {Karagozler, Mustafa Emre and Campbell, Jason D. and Fedder, > Gary K. and Goldstein, Seth Copen and Weller, Michael Philetus > and Yoon, Byung W.}, > > [Note that there is a ctrl-j after Philetus] > > Somehow zaps the Michael philetus part of the entry.
This should be btparse fault (the C library that parses the BibTeX entry). Do you have a chance to check if the problem is a \n or a \r? Thank you -- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal
Subject: RE: [rt.cpan.org #32209] Problems with ^J in the author field
Date: Wed, 9 Jan 2008 14:19:14 -0500
To: <bug-Text-BibTeX [...] rt.cpan.org>
From: "Seth Copen Goldstein" <Seth.Goldstein [...] cs.cmu.edu>
It is actually \r\n. E.g., here is the od of the offending part: 0016360 65 6c 6c 65 72 2c 20 4d 69 63 68 61 65 6c 20 50 e l l e r , M i c h a e l P 0016400 68 69 6c 65 74 75 73 0d 0a 20 20 20 20 20 61 6e h i l e t u s \r \n a n Where in btparse should I look? Am happy to fix. -seth --------------- seth@cs.cmu.edu 7122 Wean Hall www.cs.cmu.edu/~seth School of Computer Science phone: 412-268-3828 Carnegie Mellon University fax: 412-268-4801 Pittsburgh, PA 15213 Show quoted text
> -----Original Message----- > From: Alberto Manuel Brandao Simoes via RT [mailto:bug-Text- > BibTeX@rt.cpan.org] > Sent: Wednesday, January 09, 2008 1:35 PM > To: Seth Copen Goldstein > Subject: Re: [rt.cpan.org #32209] Problems with ^J in the author field > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=32209 > > > Hi, Seth. > > Seth Copen Goldstein via RT wrote:
> > > > I have version 0.37 of BibTex. > > I compiled on windows XP using cygwin and gcc. > > A string such as: > > > > author = {Karagozler, Mustafa Emre and Campbell, Jason D. and
> Fedder,
> > Gary K. and Goldstein, Seth Copen and Weller, Michael Philetus > > and Yoon, Byung W.}, > > > > [Note that there is a ctrl-j after Philetus] > > > > Somehow zaps the Michael philetus part of the entry.
> > This should be btparse fault (the C library that parses the BibTeX > entry). > > Do you have a chance to check if the problem is a \n or a \r? > > Thank you > -- > Alberto Simões - Departamento de Informática - Universidade do Minho > Campus de Gualtar - 4710-057 Braga - Portugal
Subject: Re: [rt.cpan.org #32209] Problems with ^J in the author field
Date: Wed, 09 Jan 2008 19:49:02 +0000
To: bug-Text-BibTeX [...] rt.cpan.org
From: Alberto Simões <albie [...] alfarrabio.di.uminho.pt>
Hi, Seth. I am not sure where to look. btparse and Text::BibTeX are not mine. I am just their maintainer, and I will need to search into the C code. If you have the time to help me in this task I would be quite happy. If not, give me some time to find out the correct place to fix. Seth Copen Goldstein via RT wrote: Show quoted text
> Queue: Text-BibTeX > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=32209 > > > It is actually \r\n. E.g., here is the od of the offending part: > > 0016360 65 6c 6c 65 72 2c 20 4d 69 63 68 61 65 6c 20 50 > e l l e r , M i c h a e l P > 0016400 68 69 6c 65 74 75 73 0d 0a 20 20 20 20 20 61 6e > h i l e t u s \r \n a n > > Where in btparse should I look? Am happy to fix. > > > -seth > > --------------- > seth@cs.cmu.edu 7122 Wean Hall > www.cs.cmu.edu/~seth School of Computer Science > phone: 412-268-3828 Carnegie Mellon University > fax: 412-268-4801 Pittsburgh, PA 15213 > >
>> -----Original Message----- >> From: Alberto Manuel Brandao Simoes via RT [mailto:bug-Text- >> BibTeX@rt.cpan.org] >> Sent: Wednesday, January 09, 2008 1:35 PM >> To: Seth Copen Goldstein >> Subject: Re: [rt.cpan.org #32209] Problems with ^J in the author field >> >> >> <URL: http://rt.cpan.org/Ticket/Display.html?id=32209 > >> >> Hi, Seth. >> >> Seth Copen Goldstein via RT wrote:
>>> I have version 0.37 of BibTex. >>> I compiled on windows XP using cygwin and gcc. >>> A string such as: >>> >>> author = {Karagozler, Mustafa Emre and Campbell, Jason D. and
>> Fedder,
>>> Gary K. and Goldstein, Seth Copen and Weller, Michael Philetus >>> and Yoon, Byung W.}, >>> >>> [Note that there is a ctrl-j after Philetus] >>> >>> Somehow zaps the Michael philetus part of the entry.
>> This should be btparse fault (the C library that parses the BibTeX >> entry). >> >> Do you have a chance to check if the problem is a \n or a \r? >> >> Thank you >> -- >> Alberto Simões - Departamento de Informática - Universidade do Minho >> Campus de Gualtar - 4710-057 Braga - Portugal
> >
-- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal
Dear Seth, I am back on this (two years later... shame). Do you keep using Text::BibTeX? If so, any chance to check the reported bug with 0.40? Cheers Alberto
Subject: RE: [rt.cpan.org #32209] Problems with ^J in the author field
Date: Thu, 11 Mar 2010 16:31:15 -0500
To: <bug-Text-BibTeX [...] rt.cpan.org>
From: "Seth Copen Goldstein" <Seth.Goldstein [...] cs.cmu.edu>
I do and I will. Where do I get 0.40? -seth --------------- seth@cs.cmu.edu 7111 GHC www.cs.cmu.edu/~seth School of Computer Science phone: 412-268-3828 Carnegie Mellon University fax: 412-268-4801 Pittsburgh, PA 15213 Show quoted text
> -----Original Message----- > From: Alberto Simões via RT [mailto:bug-Text-BibTeX@rt.cpan.org] > Sent: Thursday, March 11, 2010 2:12 PM > To: Seth Copen Goldstein > Subject: [rt.cpan.org #32209] Problems with ^J in the author field > > <URL: https://rt.cpan.org/Ticket/Display.html?id=32209 > > > Dear Seth, > > I am back on this (two years later... shame). > > Do you keep using Text::BibTeX? > > If so, any chance to check the reported bug with 0.40? > > Cheers > Alberto
Subject: Re: [rt.cpan.org #32209] Problems with ^J in the author field
Date: Thu, 11 Mar 2010 21:33:23 +0000
To: bug-Text-BibTeX [...] rt.cpan.org
From: Alberto Simoes <ambs [...] perl-hackers.net>
On 11/03/2010 21:31, Seth Copen Goldstein via RT wrote: Show quoted text
> Queue: Text-BibTeX > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=32209 > > > I do and I will. Where do I get 0.40?
available from cpan http://search.cpan.org/~ambs/Text-BibTeX-0.40/lib/Text/BibTeX.pm Cheers
From: Philip Kime
I think that this is fixed in the latest release 0.42. In fact I think it was fixed in 0.4, as AS says. I tried the example given in the report and it works fine for me with a linebreak in the specified place.
Seems to be fixed. Please reopen if you find it isn't :)