From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30972 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: staticMPfigures can overrun output streams Date: Sun, 24 Sep 2006 22:36:40 +0100 Message-ID: References: <4516F2E8.4010107@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 1159133815 3374 80.91.229.2 (24 Sep 2006 21:36:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2006 21:36:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 24 23:36:52 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 1GRbed-0006ls-NE for gctc-ntg-context-518@m.gmane.org; Sun, 24 Sep 2006 23:36:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2AD151FECD; Sun, 24 Sep 2006 23:36: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 13701-04; Sun, 24 Sep 2006 23:36:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 824E81FEC3; Sun, 24 Sep 2006 23:36:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D240C1FEC3 for ; Sun, 24 Sep 2006 23:36:45 +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 13575-06-3 for ; Sun, 24 Sep 2006 23:36:42 +0200 (CEST) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with SMTP id 561D21FE1C for ; Sun, 24 Sep 2006 23:36:42 +0200 (CEST) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1GRbeS-00078F-Sn; Sun, 24 Sep 2006 22:36:40 +0100 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1GRbeS-0007wP-00; Sun, 24 Sep 2006 22:36:40 +0100 Original-To: mailing list for ConTeXt users In-Reply-To: Your message of "Sun, 24 Sep 2006 23:04:40 +0200." <4516F2E8.4010107@wxs.nl> 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:30972 Archived-At: > \MPstaticgraphictrue\MPstaticgraphictrue Just one setting needed? > > But with the staticMPfigure test file, the "No room for (\write)" > > message didn't appear, and instead the TeX complained only when > > \openout was tried on the resulting stream. > it is because we open files without closing them; somehow i think > that this is a bug (taco may know) It may be two separate issues: (1) When the \newwrite is executed, plain TeX should complain before anyone even tries to open the stream; and (2) not closing files. I checked quickly for the second one, but couldn't be sure that each open matched a close. It'll be nice when the awful string, filename, and file manipulations can be done in lua... -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.