Tell me more ×
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.
http://tex.stackexchange.com/questions/53761/how-to-change-bibliographic-style-file-bst-in-case-of-entry-with-same-authors
tex.stackexchange.com
crawl=CC-MAIN-2013-48
51717
application/http; msgtype=response
sha1:A32WNH3DUQHMKVKMDBMXR34GULD5ATDT
<urn:uuid:4b77f5fd-88dc-4f02-8b89-7d051d69c159>
2013-12-06T19:14:13Z
198.252.206.16
sha1:KBZBEYPS7YZOE4QRPRXODYZM67JOCG2A
<urn:uuid:9f79fadb-b703-48e2-8496-c8f8af822a43>
http://tex.stackexchange.com/questions/53761/how-to-change-bibliographic-style-file-bst-in-case-of-entry-with-same-authors
response
<urn:uuid:849d150c-55f2-4080-accc-82dab0a42acd>
robots: classic
hostname: ip-10-33-133-15.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2013-48
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for Winter 2013
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf