I use XeLaTeX with the memoir class to typeset my linguistics thesis. In the running text, I often mention prefixes, which have a following hyphen. For example: "un- is an inherited Germanic negation prefix".
Now, sometimes this prefix will be before a comma, or at the end of a sentence. And sometimes, LaTeX will insert a linebreak after the hyphen, but before the period. Here's a MWE:
\documentclass[a4paper,
openright,
oneside,
12pt,
]{memoir}
\usepackage{fontspec}
\usepackage{geometry}
\setmainfont{Linux Libertine}
\begin{document}
\noindent In (6.269), the first person pronoun \textit{wɨ} co-occurs with the coreferential bound marker \textit{j-}.
For Wayana, Tavares (2005: 413) states that first and second person pronouns cannot occur in P position.
\end{document}
Here's what it looks like:
Now, I don't understand why LaTeX would allow a period at the start of the beginning. The OP of How to avoid a linebreak before a comma? was also wondering that, but no satisfying solution was found there. I have also seen Line break after command, before period, which features a non-basic custom command.
Any ideas?