Hi Tomáš and Massi,
I chose this one:
nell\discretionary{a}{}{'}opera
It's not a general solution, but it's a local, elegant fix.
In my case I had "dell’Informazione", hyphenated as "del-l’Informazione". That hyphenation is fine in general, but here it happens at the end of an odd page, so that you must turn the page to see what comes after "del-".
Now the page ends with "della", and the next one starts with "Informazione". Which is typographically better.
If the text preceding those words changes, they may end in the middle of a line, but as "dell’Informazione" instead of "della Informazione".
Moreover, I found a way to make it work with my XML workflow. It's actually something like this:
... dell<ctx>\discretionary{a}{}{</ctx>’<ctx>}</ctx>Informazione ...
Think of the <ctx> tag as a way to inject ConTeXt code that is not part of the contents of the document, but it's important for a particular typesetting layout.
Once you expunge the <ctx> tags, you get back the pure, intact content:
... dell’Informazione ...
There's a fourh way ... \starttext \startexceptions nell{a}{}{a'}opera \stopexceptions \start \hsize 10cm nella'opera \par \stop \start \hsize 01mm nella'opera \par \stop \start \hsize 10cm nell\discretionary{a}{}{'}opera \par \stop \start \hsize 01mm nell\discretionary{a}{}{'}opera \par \stop \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------