[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to deal with bibtex with long fields



On Tue, 31 Aug 2010 13:26:44 -0400, ucko@debian.org (Aaron M. Ucko) wrote:
> I haven't tried either myself, but you may have better luck with
> nbibtex or pybtex (as found in the eponymous packages); I'd be
> particularly surprised if the latter had any such limit.  There may
> also be some configuration parameter you can tune.

Hey, Aaron.  Thanks for the suggestions.  I had noticed those, but
packages but hadn't realized that they were actually (supposedly) drop
in replacements for bibtex.  Unfortunately they're not really, and both
of them fail to compile bibliographies that compile fine with bibtex
(see pastes below).  Time to file some bugs!

Anyone able to get either of these to work?  Or have any other
suggestions?

jamie.


0 $ bibtex thesis
This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
The top-level auxiliary file: thesis.aux
A level-1 auxiliary file: chapters/intro.aux
A level-1 auxiliary file: chapters/gr.aux
A level-1 auxiliary file: chapters/mm.aux
A level-1 auxiliary file: chapters/llts.aux
A level-1 auxiliary file: chapters/results.aux
A level-1 auxiliary file: chapters/conclusion.aux
A level-1 auxiliary file: appendices/infrastructure.aux
A level-1 auxiliary file: bibliography/aas_macros.aux
The style file: plain.bst
Database file #1: /home/jrollins/documents/ads/thesis.bib
Database file #2: bibliography/books.bib
Database file #3: bibliography/theses.bib
Warning--I didn't find a database entry for "?"
Warning--I didn't find a database entry for "2008PhRvL.101u1102A"
Warning--I didn't find a database entry for "2009PhRvD..80j2001A"
Warning--I didn't find a database entry for "2010PhRvD..81j2001A"
(There were 4 warnings)
0 $ pybtex thesis
Traceback (most recent call last):
  File "/usr/bin/pybtex", line 21, in <module>
    main()
  File "/usr/lib/pymodules/python2.6/pybtex/cmdline.py", line 42, in __call__
    self.main()
  File "/usr/lib/pymodules/python2.6/pybtex/cmdline.py", line 84, in main
    self.run(options, args)
  File "/usr/lib/pymodules/python2.6/pybtex/__main__.py", line 145, in run
    engine.make_bibliography(filename, **kwargs)
  File "/usr/lib/pymodules/python2.6/pybtex/bibtex/__init__.py", line 47, in make_bibliography
    interpreter.run(bst_script, aux_data.citations, bib_filenames, bbl_file, min_crossrefs=min_crossrefs)
  File "/usr/lib/pymodules/python2.6/pybtex/bibtex/interpreter.py", line 226, in run
    getattr(self, commandname)()
  File "/usr/lib/pymodules/python2.6/pybtex/bibtex/interpreter.py", line 290, in command_read
    self.bib_data = p.parse_files(self.bib_files)
  File "/usr/lib/pymodules/python2.6/pybtex/database/input/__init__.py", line 40, in parse_files
    self.parse_file(filename, fileext)
  File "/usr/lib/pymodules/python2.6/pybtex/database/input/__init__.py", line 35, in parse_file
    self.parse_stream(f)
  File "/usr/lib/pymodules/python2.6/pybtex/database/input/bibtex.py", line 135, in parse_stream
    s = pybtex.io.reader(stream, self.encoding).read()
  File "/usr/lib/python2.6/codecs.py", line 477, in read
    newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd7 in position 118533: invalid continuation byte
1 $ nbibtex thesis
Call failed: /usr/share/nbibtex/bibtex.lua:1460: module 'nbib-plain' not found:
	no field package.preload['nbib-plain']
	no file './nbib-plain.lua'
	no file '/usr/local/share/lua/5.1/nbib-plain.lua'
	no file '/usr/local/share/lua/5.1/nbib-plain/init.lua'
	no file '/usr/local/lib/lua/5.1/nbib-plain.lua'
	no file '/usr/local/lib/lua/5.1/nbib-plain/init.lua'
	no file '/usr/share/lua/5.1/nbib-plain.lua'
	no file '/usr/share/lua/5.1/nbib-plain/init.lua'
	no file './nbib-plain.so'
	no file '/usr/local/lib/lua/5.1/nbib-plain.so'
	no file '/usr/lib/lua/5.1/nbib-plain.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
2 $ 

Attachment: pgppiy6L5BYR_.pgp
Description: PGP signature


Reply to: