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"
Download (untitled) / with headers
text/plain 512b
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
Download (untitled) / with headers
text/plain 430b
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.
Download (untitled) / with headers
text/plain 589b
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. >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.