logo       

Re: small problem with bib2ris: msg#00002

Subject: Re: small problem with bib2ris
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe