Skip Menu |

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

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

People
Owner: ambs [...] cpan.org
Requestors: Pascal.Niklaus [...] unibas.ch
Cc:
AdminCc:

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



Subject: line wrap required on output to avoid "Sorry---you've exceeded BibTeX's buffer size 5000"
When writing to a file opened with Text::BibTeX::File ">filename.bib", it should be possible to enforce line wrapping for long fields (e.g. the abstract) so that BibTeX can process the file without failing with "Sorry---you've exceeded BibTeX's buffer size 5000". I tried to insert line breaks manually: if(length($k)>4000) { $Text::Wrap::columns = 4000; $k = join("\n",wrap("","",$k)); } $entry->set('abstract',$k); but the line wrapping added does not make it to the file written.
From: Philip Kime
On Thu Oct 27 05:45:29 2005, guest wrote: Show quoted text
> When writing to a file opened with Text::BibTeX::File ">filename.bib", > it should be possible to enforce line wrapping for long fields > (e.g. the abstract) so that BibTeX can process the file without > failing with "Sorry---you've exceeded BibTeX's buffer size 5000".
The easiest solution to this is probably to use bibtex8 with the -W flag to increase the buffer limits.
Philip, do you remember if we solved this problem? Cheers! On Thu Mar 18 16:29:47 2010, https://philkime.pip.verisignlabs.com/ wrote: Show quoted text
> On Thu Oct 27 05:45:29 2005, guest wrote:
> > When writing to a file opened with Text::BibTeX::File
> ">filename.bib",
> > it should be possible to enforce line wrapping for long fields > > (e.g. the abstract) so that BibTeX can process the file without > > failing with "Sorry---you've exceeded BibTeX's buffer size 5000".
> > The easiest solution to this is probably to use bibtex8 with the -W > flag to increase the buffer > limits. >