From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45690 Path: news.gmane.org!not-for-mail From: Arthur Reutenauer Newsgroups: gmane.comp.tex.context Subject: Re: modifying URL wrapping rules Date: Tue, 18 Nov 2008 22:44:00 +0100 Message-ID: <20081118214400.GM18156@phare.normalesup.org> References: <49232FCD.1080803@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 1227044697 9914 80.91.229.12 (18 Nov 2008 21:44:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2008 21:44:57 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 18 22:45:58 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 1L2YOQ-0005cn-Iq for gctc-ntg-context-518@m.gmane.org; Tue, 18 Nov 2008 22:45:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9EFCE1FB71; Tue, 18 Nov 2008 22:44:43 +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 24609-03; Tue, 18 Nov 2008 22:44:10 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5D1C31FB1D; Tue, 18 Nov 2008 22:44:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE3631FB1D for ; Tue, 18 Nov 2008 22:44:08 +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 26905-01-2 for ; Tue, 18 Nov 2008 22:44:01 +0100 (CET) Original-Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by ronja.ntg.nl (Postfix) with ESMTP id 51FC41FA41 for ; Tue, 18 Nov 2008 22:44:01 +0100 (CET) Original-Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id mAILi0wi082352 for ; Tue, 18 Nov 2008 22:44:01 +0100 (CET) X-Envelope-To: Original-Received: by phare.normalesup.org (Postfix, from userid 1008) id CA084BC0A7; Tue, 18 Nov 2008 22:44:00 +0100 (CET) Content-Disposition: inline In-Reply-To: <49232FCD.1080803@sil.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Tue, 18 Nov 2008 22:44:01 +0100 (CET) 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:45690 Archived-At: >>>From what I can tell, the .tex file loads one of the other three: > \loadmarkfile{lang-url} \loadmarkfile loads either lang-url.mkii or lang-url.mkiv, depending on the ConTeXt version you're running (MkII / MkIV). In Mark IV, the Lua code is then put in lang-url.lua, which is input by lang-url.mkiv (you can see "\registerctxluafile{lang-url}{1.001}" near the beginning of the latter). This architecture enables you to reuse the Lua code in completely different environments (for example, in a pure Lua script). > Our project has a requirement of using Xetex, so I have to stick with > that. Does that mean lang-url doesn't work at all? ConTeXt on XeTeX is considered Mark II as far as the mark business goes (it doesn't know about Lua), so you have access to the exact same code as with pdfTeX; in this case, lang-url.mkii will be loaded. But if you know that all your users will be using XeTeX, you don't really need to worry about the \loadmarkfile mechanism; it is there to accommodate different engines. > We also have users using ConTeXt Minimal as well as ConTeXt from the > TeXLive 2008 distribution. The particular distribution one uses shouldn't be a problem at all for implementing hyphenation rules. > I want to do things in a way that will work in both. I would be happy to > put in some extra effort to make the result generally available to > others who want to follow the Chicago style for wrapping long URLs. This will certainly be most appreciated. Arthur ___________________________________________________________________________________ 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 ___________________________________________________________________________________