On 12/3/2014 7:48 PM, Pablo Rodriguez wrote:
Many thanks for your new beta, Hans.
From the previous beta with the new hyphenator, I have two issues.
With the new hyphenator, \hyphenation isn’t honored, such as in this sample:
\setuphyphenation[method=traditional] \hyphenation{Nietz-sche} \starttext \hsize\zeropoint Nietzsche \stoptext
Has the command been deprecated with the new hyphenator?
The next version will have: \starttext \setuphyphenation[method=traditional] \hsize 1mm aaaaabbbbb \registerhyphenationexception[aaaaa-bbbbb] \blank aaaaabbbbb \stoptext (the functionality is already there, this wraps it in a macro)
The second issue is the ability to enable underscore hyphenation. Is there any way to apply the following definition to \hyphenatedurl?
\unexpanded\def\underscorehyphenation#1% {\dontleavehmode \begingroup \prehyphenchar\minusone \localrightbox{\llap{\smash{\lower.1ex\hbox{_}}}}% \setbox\scratchbox\hbox{#1}% \prehyphenchar`-\relax \unhbox\scratchbox \endgroup}
(This is adapted from the last sample in lang-url.mkiv.)
Many thanks for your help,
Pablo
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------