! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Bad handling of '&' in entries
Status:
RESOLVED: WONTFIX

Comments

Description Thomas Jost 2009-03-22 19:09:23 CET
BibTeX entries containing an ampersand (&) should be handled specifically: the ampersand needs to be escaped (\&) to avoid the LaTeX document to fail compiling.

Example:
@Book{bahi07,
	Author = {Bahi, J. and Contassot-Vivier, S. and Couturier, R.},
	Publisher = {Chapman & Hall/CRC},
	Series = {Numerical Analysis & Scientific Computating},
	Title = {Parallel Iterative Algorithms: from sequential to grid computing},
	Volume = {1},
	Year = {2007},
}

My compilation fails with the following message:
! Misplaced alignment tab character &.
l.6 ...ing}, volume~1 of {\em Numerical Analysis &
                                                   Scientific Computating}.
! Misplaced alignment tab character &.
l.7 \newblock Chapman &
                        Hall/CRC, 2007.

When escaping the & in "Publisher" and "Series", everything works fine. But if I reload the modified .bib file with xfbib and save it again, the '\&' characters are replaced with '&', and I have to do this modification manually again.

Tested with xfbib 0.0.2 and latest SVN.

I don't know much about the internals of xfbib (and I don't have time right now to investigate about it), so I'm currently unable to write a patch.
Comment 1 David Gustafsson 2009-03-23 16:31:21 CET
I dont have time to look at this right now. But I'll reassign it to my codeveloper and he'll look into it.
Comment 2 Jesper Karlsson 2009-03-30 20:28:34 CEST
Please try the latest trunk. I have made significant updates and your bug should be resolved.
Comment 3 Liv 2015-08-24 21:34:47 CEST
Has this fix been released? I'm encountering I suspect a similar bug related to accents in bibtex, like entries containing {{{\'{e}}}}. 

I see that there was a 0.1.0 release planned: 
Set release version to 0.1.0
http://git.xfce.org/apps/xfbib/commit/?id=ccf0ec60f4312f419e3af12d4717a500192f538b

But I can't find a source archive...
Comment 4 Skunnyk editbugs 2018-09-22 16:43:53 CEST
This project has been archived, so we are closing related bugs.

Bug #5138

Reported by:
Thomas Jost
Reported on: 2009-03-22
Last modified on: 2018-09-22

People

Assignee:
Jesper Karlsson
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information