Re: [Ebib-users] Ebib 1.5.2 released; git repository
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2007-11-03 11:06:29
|
hi thomas, On Fri, Nov 02, 2007 at 06:21:38PM +0100, Joost Kremers wrote: [unbalanced parentheses in field values] > what i *should* have done is to make ebib not choke on unbalanced > parentheses. the simplest way to do that is to tell ebib that () are not to > be considered parentheses at all. > > unfortunately, bibtex itself makes this simple solution unnecessarily > difficult, because it actually *allows* braces to be used to enclose an > entry. that is, this: > > @article(key, > ... > ) > > is equivalent to: > > @article{key, > ... > } > > but there is probably a way to work around that. with a bit of luck, i'll > have something put together in a few days. i'll let you know when i do. well, i've looked at it, and working around this problem isn't so easy as i had hoped. i have a fix that allows you to use unbalanced parentheses in field values, but it breaks the ability to use parentheses as entry delimiter. so, for that reason, i'm not adding this code to the master branch for now. but i've added it to the devel branch (ATM, the difference between master and devel is *only* this code), so that you at least have a way to load your .bib files, provided you use braces {} to delimit entries. if you have git installed, you can get the code here: <http://repo.or.cz/w/ebib.git> (make sure to check out the devel branch, of course.) if you don't have git, just let me know, i can send you the source privately. i haven't looked at error reporting at all yet. from the looks of it, this parentheses problem cannot be solved within the existing code, so i think my energy is better spent working on a reimplementation of the .bib-file parsing code rather than continue to modify the existing code... -- Joost Kremers Life has its moments |