Re: bibtex format - formatting of author field

Hans Meier <[email protected]>
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
> >Currently we get
> >
> >{Grange, W.; Maret, M.; Kappler, J.P.}
> >
> >For the bibstyles I know, something like
> >
> >{Grange, W. and Maret, M. and Kappler, J. P.}
> >
> >would be much better
> >(note the extra space J.P. => J. P.)
>

> I see two problems here: the concatenation of the
author names
> with ';' in the first case, and the missing space
between the
> initials.

> In any case, this is not an issue with the bibtex 
> module, but
> with the import module; which one do you use 
> (usually)?

I found the place to add the extra space between
initials in the isifile module:

--- Format/isifile.py.orig      2005-02-12
20:06:14.000000000 +0100
+++ Format/isifile.py   2005-02-28 12:08:21.000000000
+0100
@@ -163,7 +163,8 @@
                     name, firstn = string.split
(item, ',')
                     auth = name + ', '
                     for i in string.strip(firstn):
-                        auth = auth + i +'.'
+                        auth = auth + i +'. '
+                    auth = auth.strip()
                 group.append (Fields.Author(auth))
             in_table['author'] = group
             del lines[key]                  
---------------------------

This builds up a list holding each author as an item.
So the separator ';' or 'and' probably gets inserted
at a later point in the processing, possibly when
writing in bibtex format.

Changing the separator requires more knowledge of the
program than I currently have.

Regards,
Stefan




	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.