From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40852 Path: news.gmane.org!not-for-mail From: Antoine Junod Newsgroups: gmane.comp.tex.context Subject: typescript and memory usage Date: Thu, 01 May 2008 20:59:39 +0200 Message-ID: <87d4o5kfz8.fsf@zapata.tots-ns.net> 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 1209673473 18106 80.91.229.12 (1 May 2008 20:24:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 May 2008 20:24:33 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu May 01 22:25:09 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 1JrfKw-00066Q-0s for gctc-ntg-context-518@m.gmane.org; Thu, 01 May 2008 22:25:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E6EA1FBD0; Thu, 1 May 2008 22:24:11 +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 27869-01; Thu, 1 May 2008 22:23:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0A6F01FB49; Thu, 1 May 2008 21:00:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 434F91FB33 for ; Thu, 1 May 2008 21:00:14 +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 13754-02-15 for ; Thu, 1 May 2008 20:59:40 +0200 (CEST) Original-Received: from zapata.tots-ns.net (zapata.tots-ns.net [213.239.193.37]) by ronja.ntg.nl (Postfix) with ESMTP id 5A9B91FBC9 for ; Thu, 1 May 2008 20:59:40 +0200 (CEST) Original-Received: (qmail 26839 invoked by uid 1000); 1 May 2008 18:59:40 -0000 User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (gnu/linux) 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:40852 Archived-At: Hello list, Thanks to Hans, Hraban, Wolfgang and Aditya, I've successfully played with typescripts and Garamond PP as provided by Adobe with luatex. But I still have a little question :) By reducing my typescript to the strict minimum, as below, I'm still using 232 Mo (sic) of ram. My document test only contains nothing but a \switchtobodyfont but it takes 8.7 seconds to compile on a 4000 bogomips machine (athlon 2400+). For the C lover I am, that seems, errh, HUUUUUGE. Is it normal? Note that if I remove the [features=default] argument, mem is divided by 2, and time by 3. Also note that if I use more faces, it can go to 2Go of ram and 2 minutes of computing. Thanks for your reply, -AJ %% typescript \starttypescript[serif][garamondpp] \definefontsynonym [GaramondPP-Roman][file:GaramondPremrPro] \stoptypescript \starttypescript[serif][garamondpp][name] \definefontsynonym [Serif][GaramondPP-Roman] \stoptypescript \starttypescript [GaramondPP] \definetypeface [GaramondPP][rm][serif][garamondpp][default] \stoptypescript %% minimal doc \usetypescriptfile[type-garamondpp] \usetypescript[GaramondPP] \starttext \setupbodyfont[GaramondPP] \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________