

I have a section with the title in the picture. If I don't put the hyphen manually, the word ultimo does not get hyphenated and stays on the first line, producing an Overfull \hbox. But as you can see, the manually put hyphen goes into the toc which is not nice. Is there a way to mark a hyphenation point or to insert a hyphen that will be put in only if the line breaks immediately after it?
PS In case you're wondering, the blue italic text conceals a link. I decided to highlight links that way. Any advice on that is welcome, though not properly on-topic in this question :).

\-to hyphenate. For exampleul\-ti\-mo. (I don't know Italian.) – Sigur Dec 27 '14 at 16:18babel?\usepackage[italian]{babel}– Sigur Dec 27 '14 at 16:23.logfile says `(/usr/local/texlive/2013/texmf-dist/tex/generic/babel/babel.sty Package: babel 2013/05/16 v3.9f The Babel package(/usr/local/texlive/2013/texmf-dist/tex/generic/babel-italian/italian.ldf Language: italian 2008/03/14 v1.2t Italian support from the babel system`.
– MickG Dec 27 '14 at 16:32babelwon't result in automatic hyphenation because of the apostrophe in the "word". so the "discretionary hyphen" is indeed the correct answer. post it, please. – barbara beeton Dec 27 '14 at 18:29\T1/cmr/m/n/10 del-l'ul-ti-mofrom\showhyphens... faintly surprises me, too, but i don't speak italian either. – wasteofspace Dec 27 '14 at 22:01\lccode`'=`', so it counts as a letter, as far as hyphenation is concerned. – egreg Dec 29 '14 at 10:54\raggedrightin the titles, which stops hyphenation. – egreg Dec 29 '14 at 11:04reportclass though. Could they be responsible? Among my packages, mathptmx multicolumn multirow fontspec xunicode hyperref thmtools babel and many many more. – MickG Dec 29 '14 at 12:03\usepackage[top=3cm, bottom=3.5cm, outer=4cm, inner=4cm, marginparsep=0.7cm, marginparwidth=1.5cm]{geometry}. – MickG Dec 29 '14 at 15:54