dcpurton / biblatex-sbl

Society of Biblical Literature (SBL) style files for biblatex
25 stars 6 forks source link

Semicolon adding extra space #68

Closed Nhapsie closed 6 years ago

Nhapsie commented 6 years ago

Semicolon after letters adds an extra space, at least on my machine. This is seen in titles especially.

dcpurton commented 6 years ago

Please include a MWE for all bug reports even if you think it isn't needed.

Begin with \documentclass and end with \end{document}. Include the bib entry inline using the filecontents package.

dcpurton commented 6 years ago

I can't reproduce this. Both the automatic and manual citation look the same in this example.

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{test,
  author = {Author},
  title = {Title; Title},
  location = {Location},
  publisher = {Publisher},
  date = {2018}
}
\end{filecontents}
\usepackage[style=sbl]{biblatex}
\addbibresource{\jobname.bib}
\raggedright
\frenchspacing
\begin{document}
\cite{test}

Author, \emph{Title; Title} (Location: Publisher, 2018)
\printbibliography
Author. \emph{Title; Title.} Location: Publisher, 2018.
\end{document}

temp29

Nhapsie commented 6 years ago
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@incollection{Birch1995,
author = {Birch, Bruce C.},
title = {Divine Character and the Formation of Moral Community in the Book of Exodus},
pages = {119-135},
series = {Journal for the Study of the Old Testament Supplement Series},
shortseries = {JSOTSup},
number = {207},
booktitle = {The Bible in Ethics: The Second Sheffield Colloquium},
editor = {Rogerson, John W. and Davies, Margaret and Carroll R., M. Daniel},
location = {Sheffield},
publisher = {Sheffield Academic Press},
date = {1995},}
\end{filecontents}
\usepackage[style=sbl]{biblatex}
\addbibresource{\jobname.bib}
\raggedright
\frenchspacing
\begin{document}
\cite{Birch1995}

Please check semicolon in booktitle. Also check the output of a document I'm working on below. screen shot 2018-05-21 at 8 43 40 pm

I don't know if it's just me, but Times New Roman shows the difference between single space and double space more clearly. Colon and semicolon appear to be followed by double space by both titles in this snapshot.

dcpurton commented 6 years ago

I think it's just because the italics and a ‘T’ after the colon make the space look bigger. You get the same if you manually type out the citation.

Compare this output:

\documentclass{article}
\raggedright
\frenchspacing
\begin{document}
Sheffield: Sheffield

\emph{Sheffield: Sheffield}

The: The

\emph{The: The}
\end{document}
Nhapsie commented 6 years ago

Hmmm it also happens with other letters in the snapshot. It appears to me that LaTeX is producing a bit of an extra space after colon and semicolon, by itself. This may be seen by other users as optically irrelevant, but it is aesthetically noticeable.

dcpurton commented 6 years ago

You could ask on stackexchange and see if you get any suggestions. I'd avoid adding kerning to you bib file. When you ask the question, separate booktitle and booksubtitle into separate fields.

dcpurton commented 6 years ago

Although booktitle = {The Bible in Ethics: \kern-1pt The Second Sheffield Colloquium} does appear to work.