| Patrik Nyman 2005-03-26, 4:00 pm |
| In makebst there's the option to mark repeated authors with a dash.
I'd like to have this, but am a bit displeased with how it works.
If the same person appears as both author and editor in the
bibliography, it is considered as two different authors, which
in my case gives the following output:
Potter, K. H. 1975. ...
Potter, K. H., ed. 1977. ...
Potter, K. H. 1984. ...
---. 1985. ...
---. 1991. ...
Potter, K. H., ed. 1993. ...
---. 2003a. ...
Potter, K. H. 2003b. ...
What I'd like to have is
Potter, K. H. 1975. ...
---, ed. 1977. ...
---. 1984. ...
etc. I know two bibstyles which does this correctly, achicago
and siam, but the first is incompatible with natbib, and the
second is a numerical style, I want author year.
The masterfile merlin.mbs for makebst, says in regard to the
pertinent function, called `name.or.dash':
This function stores what is on the stack, compares it with
previous value, and replaces it with a long dash if they are
equal. What is on the stack should be author or editor names
for the current entry.
Obviously, in the case of an editor, the stack contains the name
plus `, ed.', which is why things go wrong. Does anyone know how
to get the wanted behaviour? I've been trying to rewrite
name.or.dash, and to borrow code from achicago and siam, but
I've had no success.
Thanks in advance.
--
Patrik Nyman
patrik dot nyman at orient dot su dot se
|