From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48249 Path: news.gmane.org!not-for-mail From: Michael Bynum Newsgroups: gmane.comp.tex.context Subject: Re: die if a module is missing Date: Thu, 12 Mar 2009 09:59:00 -0400 Message-ID: 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: ger.gmane.org 1236866409 29254 80.91.229.12 (12 Mar 2009 14:00:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 14:00:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 12 15:01:25 2009 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 1LhlT7-0001n8-IN for gctc-ntg-context-518@m.gmane.org; Thu, 12 Mar 2009 15:01:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 726A01FB14; Thu, 12 Mar 2009 14:59:40 +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 13721-04; Thu, 12 Mar 2009 14:59:12 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 68F531FA4C; Thu, 12 Mar 2009 14:59:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A1B201FA4C for ; Thu, 12 Mar 2009 14:59:10 +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 31641-02-3 for ; Thu, 12 Mar 2009 14:59:03 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by ronja.ntg.nl (Postfix) with ESMTP id 379591FA41 for ; Thu, 12 Mar 2009 14:59:03 +0100 (CET) Original-Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.152]) by filter4-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2CDx14B020146 for ; Thu, 12 Mar 2009 14:59:02 +0100 Original-Received: by yx-out-1718.google.com with SMTP id 4so279222yxp.74 for ; Thu, 12 Mar 2009 06:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=fKjfs5fakoUtA7y9r9Swpn78yq6oQp5ISd4c40kwzr4=; b=Vz/Pm4cnWbzE/UEa3E8gRcTD14zEKktcY/1HEfM6vf2r24GYn4BNCX2zmdUCotQToJ kXbDIfdhD2D72fcGMxCLbxogBBWovJWQNzjnyNz7l9+PIlSYFskBfJ8JAHhjdr6/y86U 7wiQjlg6N1IqVU9/x/xx+gpGuexphxEyBHtgY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=S55foVB/gTAx8JsaKtTKww4risa2GBvuR+rmNY3Gawr9G5LxhLJ7kSO5cPUj6+VgGK ze966+ol93lgoUh8eK31ciT5XZrvZffG4f4eroCrcVRy2tM9Us0blVuXkjoBP2RPbnYr HRr+HRXncv6NufO7qcT1mkSgUJlaCb8kJm6f0= Original-Received: by 10.220.73.210 with SMTP id r18mr4915vcj.33.1236866340460; Thu, 12 Mar 2009 06:59:00 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.44.152; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 192592954 - f1a6f47059e9 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48249 This has burned me too. It would be nice if the errors were more prominent, perhaps repeated at the end of the output? Mike On Thu, Mar 12, 2009 at 6:13 AM, Jesse Alama wrote: > I was recently debugging some presentation that I was working on in > ConTeXt and found, to my surprise, that the problem was that I was using > > \usemodule[blah-blah] > > but there was no such module called blah-blah. The output does indeed > say that there was no such module, but I didn't see that. Is there a > way to set up modules so that, if a module isn't found, an error is > generated and the TeX run is stopped? I would have discovered the > source of my problem more quickly had I been able to set things up in > that way. > > Thanks, > > Jesse > > -- > Jesse Alama (alama@stanford.edu) > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________