From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37797 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: hyphen with \useURL Date: Fri, 07 Dec 2007 11:44:33 +0100 Message-ID: <47592411.40404@elvenkind.com> References: <20071206210521.GB24641@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1197024311 17525 80.91.229.12 (7 Dec 2007 10:45:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2007 10:45:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 07 11:45:20 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J0ahq-0006Ej-FP for gctc-ntg-context-518@m.gmane.org; Fri, 07 Dec 2007 11:45:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 52E341FBD2; Fri, 7 Dec 2007 11:44:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30378-04-7; Fri, 7 Dec 2007 11:44:37 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5EAE81FBA8; Fri, 7 Dec 2007 11:44:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7B0011FB89 for ; Fri, 7 Dec 2007 11:44:36 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30378-04-6 for ; Fri, 7 Dec 2007 11:44:33 +0100 (CET) Original-Received: from tullamore.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 479BB1FB82 for ; Fri, 7 Dec 2007 11:44:33 +0100 (CET) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by tullamore.elvenkind.com (Postfix) with ESMTP id 2BDA83050283 for ; Fri, 7 Dec 2007 11:44:33 +0100 (CET) User-Agent: Thunderbird 2.0.0.0 (X11/20070522) In-Reply-To: <20071206210521.GB24641@gaston.couberia.bzh> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37797 Archived-At: Peter M=FCnster wrote: > Hello, > With luatex-0.20.0 and ConTeXt-2007.12.6 a hyphen is introduced in the > following URL: > = > % engine=3Dluatex > \setupinteraction[state=3Dstart] > \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=3D255 \righthyphenmin=3D255 % these are new \spaceskip.25em\relax} % ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________