Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. FUNCTION {format.names}
  2. { 'bibinfo :=
  3. duplicate$ empty$ 'skip$ {
  4. 's :=
  5. "" 't :=
  6. #1 'nameptr :=
  7. s num.names$ 'numnames :=
  8. numnames 'namesleft :=
  9. { namesleft #0 > }
  10. { s nameptr
  11. duplicate$ #1 >
  12. { "{f.~}{vv~}{ll}{, jj}" }
  13. { "{vv~}{ll}{, f.}{, jj}" }
  14. if$
  15. format.name$
  16. bibinfo bibinfo.check
  17. 't :=
  18. nameptr #1 >
  19. {
  20. namesleft #1 >
  21. { ", " * t * }
  22. {
  23. s nameptr "{ll}" format.name$ duplicate$ "others" =
  24. { 't := }
  25. { pop$ }
  26. if$
  27. t "others" =
  28. {
  29. " " * bbl.etal *
  30. }
  31. {
  32. bbl.and
  33. space.word * t *
  34. }
  35. if$
  36. }
  37. if$
  38. }
  39. 't
  40. if$
  41. nameptr #1 + 'nameptr :=
  42. namesleft #1 - 'namesleft :=
  43. }
  44. while$
  45. } if$
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement