From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55057 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: url breaking Date: Fri, 04 Dec 2009 22:27:50 +0100 Message-ID: <4B197ED6.3010502@wxs.nl> References: <66f12d2d0912010942o19dd9a77gf2836f1dc992ae60@mail.gmail.com> <4B197DDB.4040004@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259962090 17346 80.91.229.12 (4 Dec 2009 21:28:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 21:28:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 04 22:28:03 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGfh2-0007yM-7J for gctc-ntg-context-518@m.gmane.org; Fri, 04 Dec 2009 22:28:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E05AC9D1F; Fri, 4 Dec 2009 22:24:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8ttgYz97PHdx; Fri, 4 Dec 2009 22:24:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9E15C9D13; Fri, 4 Dec 2009 22:24:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C4E5C9D13 for ; Fri, 4 Dec 2009 22:24:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GwcHWLQAb4Sr for ; Fri, 4 Dec 2009 22:24:34 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 1D77DC9D0C for ; Fri, 4 Dec 2009 22:24:34 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by controller-9 (SurgeMail 4.2a3) with ESMTP id 9995-1713362 for ; Fri, 04 Dec 2009 22:26:24 +0100 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <4B197DDB.4040004@wxs.nl> X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55057 Archived-At: Hans Hagen wrote: > Mohamed Bana wrote: >> Hi all, >> >> a) I've reported this before; I ca1n't seem to wrap long URLs across >> lines in XeTeX > >> \useURL[doilink][http://dx.doi.org/10.1109/32.689404][][ >> \hyphenatedurl{http://dx.doi.org/10.1109/32.689404}] >> >> \from[doilink] > > in mkiv you probably don't need the \hyphenatedurl as is more clever > > in pdftex your example works ok but not in xetex ... maybe something > messy with catcodes or discretionaries ... weird we have this (in mkii): \def\dohyphenatedurlbefore#1{\discretionary{\hyphenatedurlseparator}{}{}\char#1\relax}% if you change this to \def\dohyphenatedurlbefore#1{\discretionary{!}{?}{*}\char#1\relax}% you'll see that indeed something is inserted so, something fishy in xetex; maybe a difference in disc handling due to utf hyphenation? anyhow, we have to live with it (so better use mkiv) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________