From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36643 Path: news.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Re: Recommendations for Speed? Date: Mon, 17 Sep 2007 15:30:35 +0100 Message-ID: <46EE8F8B.4030901@capdm.com> References: 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: sea.gmane.org 1190039540 27232 80.91.229.12 (17 Sep 2007 14:32:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 14:32:20 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 17 16:32:15 2007 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 1IXHdw-0000bf-T9 for gctc-ntg-context-518@m.gmane.org; Mon, 17 Sep 2007 16:32:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C53E11FE85; Mon, 17 Sep 2007 16:32:06 +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 29522-09-34; Mon, 17 Sep 2007 16:31:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5E2CB1FE80; Mon, 17 Sep 2007 16:31:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1B0131FE7E for ; Mon, 17 Sep 2007 16:31:51 +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 29523-07-33 for ; Mon, 17 Sep 2007 16:31:44 +0200 (CEST) Original-Received: from banoffee.capdm.com (banoffee.capdm.com [212.20.255.171]) by ronja.ntg.nl (Postfix) with ESMTP id 23FF01FE7C for ; Mon, 17 Sep 2007 16:31:43 +0200 (CEST) Original-Received: from [192.168.254.41] (lynx.capdm.com [212.20.255.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by banoffee.capdm.com (Postfix) with ESMTP id 80862344807B for ; Mon, 17 Sep 2007 15:13:14 +0100 (BST) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: 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:36643 Archived-At: Taco said: > Duane Johnson wrote: > >> 1. Is there a way to keep TeX in-memory (i.e. as a server or daemon >> process) so that it doesn't have to load and reload fonts and the >> environment? Our system makes repeated requests for typeset >> documents and we are wondering if there's a way to remove the >> overhead of re-running pdftex. >> > > No, there is not (at least not using any of the 'stock' tex > distributions). The one thing you could do is preload the fonts > and modules you need into the format file, but setting this up > is not completely trivial either. > Indeed not trivial. But something I played with once upon a time for much the same purpose. You should take a look at Jonathan Fine's TeX daemon project texd (http://sourceforge.net/projects/texd) if you haven't already - it runs as a pipe (unix) and only loads formats once; it would take a little bit work to get it going reliably with ConTeXt, especially to do so in a way that is easily updated when a new ConTeXt is released, and I'm not sure if Jonathan is still actively working on the project. But it demonstrates an effective approach, which works with Plain (and LaTeX I think). Duncan ___________________________________________________________________________________ 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 ___________________________________________________________________________________