[MiKTeX] Re: MiKTeX-Users digest, Vol 1 #88 - 4 msgs
MiKTeX source code moved to GitHub
Brought to you by:
csc
From: Philip G. R. <phi...@ti...> - 2002-10-21 08:07:48
|
Ok, like most bibliography styles, the assumption is that there are never many authors (it is actually stated that way in the file header). Try substituting the folowing in the obvious place (and _rename_ the .bst something else!). There are, of course, many ways to obtain what you want, this is just one example. You might also want to use a similar piece in FUNCTION {format.names} to avoid long author lists in the bibliography itself. Cheers, Phil %%%KCB: Change format of labels: FUNCTION {format.lab.names} { 's := #1 'nameptr := s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } { s nameptr "{vv~}{ll}" format.name$ 't := nameptr #1 > { %%%Begin-PGR-insert % change the following number from #3 to #n to set max. authors = n numnames #3 > { "others" 't := #1 'namesleft := #2 'numnames := } 'skip$ if$ %%%End-PGR-insert namesleft #1 > { ", " * t * } { numnames #2 > { "," * } 'skip$ if$ t "others" = { " et~al." * } { " and " * t * } if$ } if$ } 't if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ } |