Hello, With luatex-0.20.0 and ConTeXt-2007.12.6 a hyphen is introduced in the following URL: % engine=luatex \setupinteraction[state=start] \starttext \useURL[ref][http://gaston/]\from[ref] \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/
Peter Münster wrote:
Hello, With luatex-0.20.0 and ConTeXt-2007.12.6 a hyphen is introduced in the following URL:
% engine=luatex \setupinteraction[state=start] \starttext \useURL[ref][http://gaston/]\from[ref] \stoptext
This is because of the pretty special handling that takes place in \hyphenatedurl, Context has to prevent luatex from inserting its own hyphen points because of the trickery it uses. The following works (it is not the nicest solution, though. I suspect Hans will come up with something cleaner): \def\obeyhyphens {\def\obeyedspace {\hskip\interwordspace}% \def\controlspace {\hskip\zeropoint\hbox{\normalcontrolspace}\hskip\zeropoint}% \lefthyphenmin=255 \righthyphenmin=255 % these are new \spaceskip.25em\relax} %
participants (2)
-
Peter Münster
-
Taco Hoekwater