From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27000 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: beta Date: Sun, 9 Apr 2006 23:50:59 +0200 Message-ID: <6faad9f00604091450r16afc488l26463959728c3970@mail.gmail.com> References: <44326BB8.8020202@wxs.nl> <44327A40.9010603@elvenkind.com> <6faad9f00604071807uca3af86kb3362ae0b51f4a04@mail.gmail.com> <4437AE0F.6070004@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144619470 14863 80.91.229.2 (9 Apr 2006 21:51:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Apr 2006 21:51:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 09 23:51:08 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FShoK-0007Vf-1N for gctc-ntg-context-518@m.gmane.org; Sun, 09 Apr 2006 23:51:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9395A12795; Sun, 9 Apr 2006 23:51:07 +0200 (CEST) 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 24936-03; Sun, 9 Apr 2006 23:51:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 308EB1277B; Sun, 9 Apr 2006 23:51:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 06F491277B for ; Sun, 9 Apr 2006 23:51:01 +0200 (CEST) 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 24723-08 for ; Sun, 9 Apr 2006 23:51:00 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.185]) by ronja.ntg.nl (Postfix) with SMTP id EEAB512772 for ; Sun, 9 Apr 2006 23:50:59 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id x37so565159nfc for ; Sun, 09 Apr 2006 14:50:59 -0700 (PDT) Original-Received: by 10.49.3.14 with SMTP id f14mr1185857nfi; Sun, 09 Apr 2006 14:50:59 -0700 (PDT) Original-Received: by 10.48.223.20 with HTTP; Sun, 9 Apr 2006 14:50:59 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: <4437AE0F.6070004@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:27000 Archived-At: On 4/8/06, Hans Hagen wrote: > (I wonder is we still need to preload regimes, maybe the ones mostly > used ... which ones) If I knew how to do that, I would implement it in the following way: Somewhere it would be defined where a specific regime is located \defineregimefile[cp1250][regi-cp1250] ... \defineregimefile[isoir111][regi-cyp] ... Then you don't need to read all those files / preload all those regimes (except for the really common ones). So if someone says \enableregime[windows-1250] then ConTeXt knows that it is a synonym for cp1250, that cp1250 is located in regi-cp1250.tex and finally loads the appropriate file and enables the regime. I don't know what exactly "preloading" means (are the definitions already included in format or are the files read in at runtime?) I doubt that it would save any resources that way, but in case it would, the regimes might be preloaded depending on mainlanguage. (If someone typesets Slovenian texts, it would preloa utf, cp1250 and latin2, if someone typesets russian, you would preload cyrilic regimes, ...) Otherwise I would say: if the regimes eat a lot of memory, don't preload the new ones yet (except cp1250) until someone requests them. Mojca