How to edit BibTeX.bst FUNCTION {format.names}?
After a few .bst files, I'm still mostly satisfied with the layout of the ChicagoReedWeb.bst file. However, I don't like the handling of posts by one author, for example:
If you looked at the ChicagoReedWeb.bst file, but only got some of the basics. So how can I edit the code of the ChicagoReedWeb.bst file so that it prints the full author link instead of "--------"?
source to share
Ok, this is different from my previous experience with BibTeX, but looking at the file gives the impression that the section name.or.dash
replaces the name with a dash if it is the same as the previous one. I suggest trying to replace this code:
FUNCTION {name.or.dash}
{ :=
oldname empty$
{ s 'oldname := s }
{ s oldname =
{ "\rule[.6ex]{3em}{.05ex}"}
{ s 'oldname := s }
if$
}
if$
}
with this:
FUNCTION {name.or.dash}
{
}
If my understanding of the syntax is correct, this should simply remove the comparison and optional change and leave the name as desired.
A slightly cleaner approach might be to drop calls to name.or.dash
places where you don't want them. This will give you more flexibility as to whether you want a dash instead of, for example, a repeated book name.
source to share