Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using BibTeX for editing my references in a dissertation with the mcbride.bst style. According to the rules I have to write --- when I have a reference entry with the same authors, e.g.

Author 1. 2011. Title....

Author 2. 2011. Title 1....

---. 2012. Title 2....

Now instead of ---, I get a solid line. I'd really appreciate any help in knowing what to change in the mcbride.bst file to get the described result.

share|improve this question
    
Usually in TeX --- does mean a solid line (an em dash, to be precise). –  egreg Apr 29 '12 at 20:31
    
You could use something like {-}{-}{-} or -\/-\/- or -{}-{}- or even -\null-\null-. –  Christian Apr 29 '12 at 20:38
    
Do the rules ask you to use mcbride.bst? –  egreg Apr 29 '12 at 20:39
    
@egreg They just want me to use The Chicago Manual of Style –  Anja Apr 29 '12 at 21:26
add comment

1 Answer

up vote 7 down vote accepted

According to the description of mcbride.bst, "[t]hree-em dashes are used in place of repeated author names". Here's the relevant function:

FUNCTION {name.or.dash}
{ 's :=
   oldname empty$
     { s 'oldname := s }
     { s oldname =
         { "---------" }
         { s 'oldname := s }
       if$
     }
   if$
}

If you really must use three separated em dashes, you could copy mcbride.bst to your working directory, rename it and then in the above function change --------- to ---\/---\/--- or
---\,---\,---.

share|improve this answer
    
Thanks for a quick answer. It works, I used ---\,---\,--- –  Anja Apr 29 '12 at 21:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.