From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25032 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Generating smallest possible format file Date: Mon, 09 Jan 2006 12:28:05 +0100 Message-ID: <43C248C5.2090107@elvenkind.com> References: <43BFDFC6.9050903@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1136806214 23513 80.91.229.2 (9 Jan 2006 11:30:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2006 11:30:14 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 09 12:30:12 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 1EvvDl-0007Jy-1h for gctc-ntg-context-518@m.gmane.org; Mon, 09 Jan 2006 12:29:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A6DD312816; Mon, 9 Jan 2006 12:29:52 +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 32068-01; Mon, 9 Jan 2006 12:29:52 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 017B1127C1; Mon, 9 Jan 2006 12:28:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BC23127C1 for ; Mon, 9 Jan 2006 12:28: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 31828-08-3 for ; Mon, 9 Jan 2006 12:28:07 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 57C7F127B3 for ; Mon, 9 Jan 2006 12:28:07 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id D7188182FE for ; Mon, 9 Jan 2006 12:28:06 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00682-09 for ; Mon, 9 Jan 2006 12:28:06 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 81B09138F1 for ; Mon, 9 Jan 2006 12:28:06 +0100 (CET) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <43BFDFC6.9050903@boede.nl> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:25032 Archived-At: Hi Willi, Willi Egger wrote: > Hello gurus! > > I want to use context as a backend-typesetting engine in a > server-ennvironment. In order to minimize compilation time I want to > make the format files as small as > possible. E.g. I would like to remove all pattern files which are > unnecessary for the purpose of the application. That is as simple as commenting (some of) the \installlanguage calls in the cont-XX.tex file you want to use (and don't use the --all switch of texexec!). Removing some of the other files can be a bit harder and require editing core include files: * font encodings are loaded in enco-ini.tex \useencoding[ans,il2,ec,tbo,pdf,uc,pol,qx,t5,cyr] * regimes are loaded in regi-ini: \useregime[def,uni,lat,win,il1,mac] * unicode tables are loaded in unic-ini: \useunicodevector[0,1,2,3,4,5,30,32,33,34,39] It would be easier if these could be moved to the cont-XX.tex (or perhaps context.tex) file in a future release. Also, you can gain some speed by * dropping the memory array settings in texmf.cnf to as low as you can get away with, based on your typical input files; * and by pruning your texmf tree(s) of as many files as possible (every file and directory in the tree slows down kpathsea initialization just a little bit, and it can add up to a noticeable delay). * disabling kpathsea disk searches Cheers, Taco