Cecile Hebert <cecile.hebert@xxxxxxxxxxxx> was heard to say:
> Hello,
>
> I have a small problem with bib2ris, I have keywords separated by spaces
> in the bib file and I tryed
>
> listsep spc
>
> in the bib2risrc file but this uses the letters s, p and c as field
> separators. I also tryed
> listsep "spc"
> and
> listsep " "
>
> Without success.
>
> where is the trick ?
>
Sorry about that. This is a nasty little bug that I overlooked. I've checked in
a fix into CVS (stable branch), but you can also fix it locally. Simply visit
the function "print_keywords()" in src/bib2ris.c and change the following lines
to read:
token = strtok(kwlist, my_listsep);
while (token) {
printf("KW - %s\n", stripwhite(token, 0, 0));
token = strtok(NULL, my_listsep);
(in lines 1 and 4, "listsep" was used instead of "my_listsep", which made
bib2ris use "spc" literally).
regards,
Markus
--
Markus Hoenicka
markus.hoenicka@xxxxxxx
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
|