The line for subsequent works by same author in Bibliography is more than 3 em dashes

Bug #625541 reported by JohnDave Medina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBL LaTeX
Fix Committed
Low
David Purton

Bug Description

In the bibliography, where there is more than one work by one author, the subsequent mentions of that author are supposed to be represented by three em dashes (--- --- --- without spaces). sbllatex generates what seems to be about 4 em dashes instead of three.

Revision history for this message
JohnDave Medina (johndavemedina) wrote :

After surfing the internet, I was able to find a fix, which I added before \sloppy in sblessay.cls. My bibliography section looks like this:

\renewenvironment{thebibliography}[1]
     {\begin{center}
        {\vrule width \z@ height .825in depth \z@
           \headingfontfamily\sbl@bibliographyname}
        \vspace*{0.5\baselineskip}
      \end{center}%
      \list{}%
           {\itemindent -0.5in
            \leftmargin 0.5in
           }%
% Create proper 3 em dash for subsequent works by same author - Added 28 August 2010
      \renewcommand{\bysame}{\leavevmode\rule[.5ex]{3em}{.5pt}}
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist
      \if@restonecol\twocolumn\fi}

I'm not sure exactly why it works like that, but it works (at least as far as I can tell on my own machine).

Revision history for this message
David Purton (dcpurton) wrote : Re: [Bug 625541] Re: The line for subsequent works by same author in Bibliography is more than 3 em dashes

Ah! I confess I could never find any documentation to tell me how wide
it should be. Using an em measurement makes sense though, since it will
be font size independent. At present, it is set to 0.7 in. It is defined
in sbl.bst (just search for "bysame" and replace 0.7in with 3em. I think
I just picked 0.7in because it looked alright :) There is also a
\thinspace between the horizontal line and the period in the current
code - again just because I felt it look nicer, but looking at the SBLHS
it seems they just have it flush.

Anybody else got any comments on this?

I'll change it to your suggested code, unless someone else complains
bitterly.

cheers

dc

On Sat, Aug 28, 2010 at 02:52:05AM -0000, JohnDave Medina wrote:
> After surfing the internet, I was able to find a fix, which I added
> before \sloppy in sblessay.cls. My bibliography section looks like this:
>
> \renewenvironment{thebibliography}[1]
> {\begin{center}
> {\vrule width \z@ height .825in depth \z@
> \headingfontfamily\sbl@bibliographyname}
> \vspace*{0.5\baselineskip}
> \end{center}%
> \list{}%
> {\itemindent -0.5in
> \leftmargin 0.5in
> }%
> % Create proper 3 em dash for subsequent works by same author - Added 28 August 2010
> \renewcommand{\bysame}{\leavevmode\rule[.5ex]{3em}{.5pt}}
> \sloppy
> \clubpenalty4000
> \@clubpenalty \clubpenalty
> \widowpenalty4000%
> \sfcode`\.\@m}
> {\def\@noitemerr
> {\@latex@warning{Empty `thebibliography' environment}}%
> \endlist
> \if@restonecol\twocolumn\fi}
>
> I'm not sure exactly why it works like that, but it works (at least as
> far as I can tell on my own machine).
>

--
David Purton
<email address hidden>

For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
                                 2 Chronicles 16:9a

Changed in sbllatex:
assignee: nobody → David Purton (dcpurton)
importance: Undecided → Low
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.