I will ask a new question:
I created a working example:
\documentclass[a4paper,oneside,12pt]{book}
\usepackage[nobreak]{cite}
\usepackage{hyperref}
\begin{document}
\section{lorem}
lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem lorem\cite{loremlorem}, lorem lorem lorem.
\bibliographystyle{apalike}
\bibliography{literatur}
\end{document}
Even without hyperref, it does not work. The bib file contains:
@MISC{loremlorem,
title={lorem lorem lorem lorem},
author={lorem lorem, lorem lorem},
year={2222},
publisher={lorem lorem lorem lorem}
}
I would expect, what is written in the documentary under Line breaks:
http://texdoc.net/texmf-dist/doc/latex/cite/cite.pdf
It clearly does a line break in the citation.
Solution: Apalike not supported, but still no warning or error as output.
cite
package or try to find some related questions like tex.stackexchange.com/questions/261832/…. – Marijn Jun 4 '19 at 15:26cite
package is supposed to be used with bibliography styles that generate numeric-style citation call-outs. In contrast, theapalike
bibliography style can output only authoryear-style citation call-outs. – Mico Jun 4 '19 at 17:05