Hi Hans,

I have to admit that \startexceptions is new to me, thank you.

nell{a}{}{a'}opera very nicely solves the full word substitution
but I do not know how to figure out the hyphenatation case:

Using the exception "nel{-}{l'}{l'}opera" it will change also words with 
articles
where hyphenation is supressed (below). Is there any way how to fix it?

Tomáš

\starttext
\startexceptions
%    nell{a}{}{a'}opera   
    nel{-}{l'}{l'}opera
\stopexceptions

\start \hsize 10cm nell'opera \par l'operaio \par \stop
\start \hsize 01mm nell'opera \par l'operaio \par \stop

\stoptext

> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to