[tex-live] Bug in bibtex8

Arne Jørgensen arne.jorgensen at tug.dk
Tue May 31 15:52:07 CEST 2005


Hello,

I just recently discovered that the bibtex8 in TeX Live has been
extended with kpathsearch possibilities and that renewed my interest
in this program.

I however discovered a bug in its 8-bit mode.

I (actually someone I helped) have a bibliography with the two authors
Hallvard Lie and Knut Liestøl.

With bibtex and bibtex8 in 7-bit mode Hallvard Lie is correctly sorted
before Knut Liestøl, but in 8-bit mode they are sorted the other way
around.

The bug is that the space between the names is assigned the highest
possible sorting weight.

This small patch add a sorting weight of 0 to the space character and
also makes it possible to give the space character your own sorting
order in the .csf file (if you write it as ^^20).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: utils.patch
Type: text/x-patch
Size: 1198 bytes
Desc: not available
Url : http://tug.org/pipermail/tex-live/attachments/20050531/4f80264b/utils.bin
-------------- next part --------------

Attached is also a small LaTeX document and bibliography database that
reveals the bug.

Kind regards,
-- 
Arne Jørgensen <http://arnested.dk>
DK-TUG / Danish TeX Users Group <http://www.tug.dk/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.tex
Type: text/x-latex
Size: 123 bytes
Desc: not available
Url : http://tug.org/pipermail/tex-live/attachments/20050531/4f80264b/example.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bibliografi.bib
Type: text/x-bibtex
Size: 843 bytes
Desc: not available
Url : http://tug.org/pipermail/tex-live/attachments/20050531/4f80264b/bibliografi.bin


More information about the tex-live mailing list