>>From: Florent AIDE <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Re: Bibliography
>>Date: Wed, 15 May 2002 11:28:16 +0200
>>Cc: "Jean-Pierre.Chretien" <[EMAIL PROTECTED]>
>>X-Virus-Scanned: by AMaViS
>>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Le Mercredi 15 Mai 2002 11:06, Jean-Pierre.Chretien a �crit :
>>
>>> The only drawback is to learn a little bit of BibTeX syntax
>>> to make sure that author names are sorted and printed all right,
>>> and to have a correct result for acronyms in titles so that
>>> no information ins lost in the database which can be published, shared,
>>> and so on.
>>
>>Hi all,
>>
>>concerning this subject I myself use two great tools (I haven't decided yet
>>which is best suited to my needs) to edit my bib files:
>>gbib
>>pybibliographer with its gui : pybliographic
>>
>>the too of them permit me to manage my bib files and insert citation from them
>>in any of my lyx files BUT the bibliography generated is in no particular
>>order, neither alphabetic order nor the order in which the entries are stored
>>in my bib file neither the order in which I cite them in my text... ?
>>
>>I know I an certainly missing something here but I don't really know what ?
>>I there some parameter which permits to sort alphabetically by authors or
>>title or anything ?
The native sorting given by the simplest style (plain) is alphabetic
by fisrt author. But of course bibtex must recognize the lastname or
familyname or whatsoever and not get into trouble with initials
or patronymic names or suffixes like Jr.
So bibTeX offers three ways to control this:
- one is natural language way: the name used for sorting and for
citation layout must be the last name,
with a set of exceptions originally dealt with
so that usual names in the US and Europe
(including Jr, de, von, ...) come sorted naturally. This clearly
won't work when the personal name comes after the family name
as e.g. in China;
- one uses the comma as a separator between the "important" name and the
auxiliaries, as in Smith, John A. and Jones, Robert E. (or Smith, J. A. :
IMHO, it should be up to the style to print only the initial, so
that John is better than J. for the sake of completeness of the database,
but I have bad habits and I usually put the initial);
- one is just one more use of local orders to group words, either
using the ~ or the braces {} (bibtex knows about levels, and grouping
by {} inhibits level 0 interpretations in the code: this is often
used to prevent lowercasing of paper titles (all the title between
braces inhibits this).
The precise syntax of author and editor names is a key point because
it changes sorting rules AND typesetting layout of the citation.
It's worth checking what I just wrote by going back to the docs, both
the original Patashnik doc and the styles doc (where the implementation
might differ). However, I'm not sure that any automatic code would be
able to recognaize any particular way to write names, so it's
necessary to help the code there.
When it comes to sorting on other fields (and more generally to
fine sorting control), I'm not aware of the possibilities of gbib and
pybliographics (nor tkbibtex that I use to push to LyX), but there
is bibsort among the excellent suite of awk scripts written by Nelson Beebe:
once merged and sorted in a new bibfile, the unsrt style take the
cited stuf as it is.
--
Jean-Pierre