TeX does not allow automatic hyphenation at accents which are constructed from two parts: as set up you are using the OT1
encoding and this means that é
is produced using a 'stand alone' acute accent and a normal e
. Switching to the modern T1
encoding means that a 'real' é
is available, and hyphenation is possible. Indeed, there is a warning in the log with your demo saying
Package frenchb.ldf Warning: OT1 encoding should not be used for French.
(frenchb.ldf) Add \usepackage[T1]{fontenc} to the preamble
(frenchb.ldf) of your document, on input line 14.
If you add the line suggested then hyphenation is possible (and occurs).
One way to check this is to
\showhyphens{développement}
which shows hyphenation positions in the log. Without fontenc
you get
[] \OT1/lmr/m/n/12 d^^Seveloppement
where ^^
is the accent and notable there are no break points. In contrast, add fontenc
with the T1
encoding and you see
[] \T1/lmr/m/n/12 d�-ve-lop-pe-ment
with valid break points (pdfTeX is still 8-bit so can't show the é
properly in the log!).
For more on this, see for example Why words with accented characters can't be automatic hyphenated with the default OT1 enconding? and Why should I use \usepackage[T1]{fontenc}?.
\-
where you need. // Tu peux ajouter un hyphen manuellement avec\-
à l'endroit de ton choix.\hyphenation{ge-ne-ra-to-ri}
and this solved my problem.