[Tugindia] Inconsistent Bib entry display

Mayuresh mdmukadam at gmail.com
Sat Apr 8 09:17:32 CEST 2006


Rijo,
What Kannan was telling is right. You need to modify bibstyle in order to
get right results.
I have modified the original *.bst file as par my requirement.
In my case, the original file contains following lines.
-----------------
INTEGERS { nameptr namesleft numnames }
INTEGERS { etal }
FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
numnames #300 >
s numnames "{ll}" format.name$ "others" = numnames #1 > and
or 'etal :=
etal
{ #1 #1 + 'namesleft := }
{ numnames 'namesleft := }
----------------------
The number of entries in bibliography are controlled by #300. I have put
there "numnames #300 >" so that all authors (up to 300) will appear in the
list. If you put there "numnames #2 >", list with three or more athours will
appear as First Author et al.

Regards,
mayuresh
SRF, SSPD, BARC,
Mumbai, India

>
>> Hi all,
>>
>> I have two entries in my bib file as follows.
>>
>> @incollection{chaloupka00c,
>> author       ="Frank J. Chaloupka and Teh-wei Hu and Kenneth E. Warner
>> and Rowena Jacobs and Ayda Yurekli",
>> title           ="The Taxation of Tobacco Products",
>> booktitle   ="Tobacco Control in Developing Countries",
>> year          ="2000",
>> editor        ="Prabhat Jha and Frank J. Chaloupka",
>> publisher   =OUP,
>> address     ="Oxford, New York",
>> pages        ="237-272",
>> }
>>
>> @incollection{chaloupka00a,
>> author       ="Frank J. Chaloupka and John A Tauras and Michael 
>> Grossman",
>> title           ="The Economics of Addiction",
>> booktitle   ="Tobacco Control in Developing Countries",
>> year          ="2000",
>> editor        ="Prabhat Jha and Frank J Chaloupka",
>> publisher   =OUP,
>> address     ="Oxford, New York",
>> pages        ="107-129",
>> }
>>
>> Both are entries from the same book but different chapters. Irrespective
>> of the bib style I use, the entry for the first
>> item is displayed with all authors in the main body of document.
>> However, for the second it uses chaloupka et al.
>> Actually I want bibtex to write (author et al.) whenever there are more
>> than two authors and it is doing exactly that for all my bib entries but
>> for the first entry above for which surnames of all authors are listed
>> in the main body of document.
>> I want that also to appear as chaloupka et al. but just doesn't happen.
>> I even tried changing from @incollection to @conference @inbook etc. but
>> no avail. Why this inconsistency I don't understand. Can anyone explain?
>>
>> Thanks, Rijo.



More information about the tugindia mailing list