From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45738 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: modifying URL wrapping rules Date: Fri, 21 Nov 2008 09:22:04 +0100 Message-ID: <49266FAC.9080508@wxs.nl> References: <49232FCD.1080803@sil.org> <20081118214400.GM18156@phare.normalesup.org> <49247884.9050400@sil.org> <4925F473.7070805@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227255885 21660 80.91.229.12 (21 Nov 2008 08:24:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2008 08:24:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 21 09:25:45 2008 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 1L3RKj-0004d7-QX for gctc-ntg-context-518@m.gmane.org; Fri, 21 Nov 2008 09:25:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 709861FB77; Fri, 21 Nov 2008 09:24:34 +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 14530-02-4; Fri, 21 Nov 2008 09:23:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90E4C1FB38; Fri, 21 Nov 2008 09:23:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3CE311FB3C for ; Fri, 21 Nov 2008 09:23:14 +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 12876-03-3 for ; Fri, 21 Nov 2008 09:22:05 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id E98F61FB38 for ; Fri, 21 Nov 2008 09:22:04 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 11058-1840426 for ; Fri, 21 Nov 2008 09:22:04 +0100 User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: <4925F473.7070805@sil.org> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 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:45738 Archived-At: Lars Huttar wrote: > On 11/19/2008 2:35 PM, Lars Huttar wrote: >> 2) Even though I have "\sethyphenatedurlafter /" instead of >> "\sethyphenatedurlbefore /", there are four cases where a URL is broken >> before a slash, e.g.: >> http://www.sil.org/.../009 >> /YAMBASSA.html. >> and no cases where a URL is broken after a slash (except when it's also >> before a slash -- see 1). >> >> I wonder if my modifications are actually taking effect? >> Do I need to compile the changes to the .mkii file or something? I tried >> texexec.bat --make --all, but that didn't seem to change the outcome. > > Can someone tell me if there's a compile command necessary for mkii? texexec --make however, i strongly advise you to put such patches or tuning in your document style because otherwise you loose them when you update > \ifx\normalquitvmode\undefined \else \let\dontleavehmode\normalquitvmode \fi > > I am running Xetex, FWIW. > "This is XeTeX, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)" > > The above makes me think that "dontleavehmode" should prevent any > 'hyphenation' except for the types explicitly allowed in lang-url.mkii > via \sethyphenatedurlafter/before/normal. just leave dontleavehmode untouched; it's definition adapts itself to the engine i leave it to others to react on the rest of your mail (some users have been tuning the mechanism too) 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________