I hope it's not a duplicate but I was not able to find a solution. I generate my *.bib file using Citavi. The problem is, that if the ISBN number is near the end of the line it generates overfull hboxes, because there is no automatic linebreak within the number (even not at the hyphens).
I use this header:
\usepackage[
backend=biber,
style=alphabetic,
backref=true]
{biblatex}
\DeclareNameAlias{sortname}{last-first} % Change order of names in bibliography
\DeclareNameAlias{default}{last-first} % Change order of names in bibliography
\makeatletter
\@ifpackageloaded{biblatex}{\addbibresource{Chapters/Bibliography.bib}}{\bibliography{Chapters/Bibliography}}
\makeatother
The entry in the *.bib file is:
@book{Hahn.2002,
author = {Hahn, Hubert},
year = {2002},
title = {{Rigid Body Dynamics of Mechanisms}},
publisher = {Springer-Verlag},
isbn = {978-3-642-07617-6},
volumes = {2},
subtitle = {{1 Theoretical Basis}},
location = {Berlin and Heidelberg and New York},
pagetotal = {336},
file = {http://gso.gbv.de/DB=2.1/PPNSET?PPN=77292189X}
}
which generates

If I add a manual space in the number, I get the desired result
isbn = {978-3-642- 07617-6},

But it would be much nicer with an automatic solution which does not produce overfull boxes.
MWE (LuaLaTex):
\documentclass[a4paper]{scrbook}
\usepackage{polyglossia} % instead of babel
\setdefaultlanguage[]{english}
\usepackage[english]{hyperref}
\usepackage{csquotes}% Recommended: http://tex.stackexchange.com/questions/5091/what-to-do-to-switch-to-biblatex
\usepackage{fontspec}
\setromanfont{Cambria}
\setsansfont{Calibri}
\usepackage[%style=numeric-comp, backend=biber]{biblatex}
backend=biber, % natbib=true,
style=alphabetic,%trad-alpha,
sorting=ynt, % year, name, title
backref=true]
{biblatex}
\DeclareNameAlias{sortname}{last-first} % Change order of names in bibliography
\DeclareNameAlias{default}{last-first} % Change order of names in bibliography
\begin{filecontents}{\jobname.bib}
@book{Hahn.2002,
author = {Hahn, Hubert},
year = {2002},
title = {{Rigid Body Dynamics of Mechanisms}},
publisher = {Springer-Verlag},
isbn = {978-3-642- 07617-6},
volumes = {2},
subtitle = {{1 Theoretical Basis}},
location = {Berlin and Heidelberg and New York},
pagetotal = {336},
file = {http://gso.gbv.de/DB=2.1/PPNSET?PPN=77292189X}
}
@book{Hahn.2012,
author = {Hahn, Hubert},
year = {2012},
title = {{Rigid Body Dynamics of Mechanisms}},
publisher = {Springer-Verlag},
isbn = {978-3-642-07617-6},
volumes = {2},
subtitle = {{1 Theoretical Basis}},
location = {Berlin and Heidelberg and New York},
pagetotal = {336},
file = {http://gso.gbv.de/DB=2.1/PPNSET?PPN=77292189X}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
ABC
\nocite{*}
\printbibliography
\end{document}
Thanks a lot for help!
978-3-642-07617-6if you add\lccode\0=`0 \lccode`1=`1 \lccode`2=`2 \lccode`3=`3 \lccode`4=`4 \lccode`5=`5 \lccode`6=`6 \lccode`7=`7 \lccode`8=`8 \lccode`9=`9` – David Carlisle Feb 24 '15 at 20:08978-3-. Can you confirm that? – moewe Feb 17 '17 at 13:49