From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65255 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: How to call \environment in CLD file Date: Fri, 14 Jan 2011 18:11:54 +0200 Message-ID: <20110114161154.GA14104@khaled-laptop> 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: dough.gmane.org 1295022307 18266 80.91.229.12 (14 Jan 2011 16:25:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Jan 2011 16:25:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 14 17:25:00 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PdmSQ-0002Nt-Dc for gctc-ntg-context-518@m.gmane.org; Fri, 14 Jan 2011 17:24:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED071CA9C7; Fri, 14 Jan 2011 17:24:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ilGnWoY3rkHb; Fri, 14 Jan 2011 17:24:45 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3CE6CA98D; Fri, 14 Jan 2011 17:24:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 34AEACA98D for ; Fri, 14 Jan 2011 17:24:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EqoDFVUTvcmd for ; Fri, 14 Jan 2011 17:24:32 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id 1881ECA97D for ; Fri, 14 Jan 2011 17:24:32 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0EGOSo8023478 for ; Fri, 14 Jan 2011 17:24:30 +0100 Original-Received: by bwz16 with SMTP id 16so2739298bwz.14 for ; Fri, 14 Jan 2011 08:24:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :mime-version:content-type:content-disposition:user-agent; bh=kkQ+/20gtFfsjhUW42jBPw2X54NbVjPlN7sB0+5BnPU=; b=DDSoRLc5G6x8lkT3UAIrsIWDWqs5jCyit0cx7FQeGY5/TfZcdcleateXepqJhXbIXj /d1S1jiuTWAHFMTyIVIQJiLovFe9vJja9FE5VYWvpAoQw0VptaMe+i6S0qg8thaEbZy7 nX7dSw2Z9cpK/ftvewXPEZyyzZgipwf2G9Tio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=Cwh/5610JZ8FWjaGTDcVeOa10uMYRwpCRD44fVcUefbxEoxD8CJTks4Z2hTJmf492q DxiQUvF+x961gA96v1TqeO5tPihHP1ufbCwVuP2EQ/wKqQidF/ArunOIUjeRUpvUXC0J FHywuqy+5gbprMcTaskuwJwLD7fSuggFEL3oM= Original-Received: by 10.204.78.72 with SMTP id j8mr762676bkk.113.1295021534779; Fri, 14 Jan 2011 08:12:14 -0800 (PST) Original-Received: from localhost ([197.193.43.33]) by mx.google.com with ESMTPS id j11sm1393118bka.12.2011.01.14.08.12.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 Jan 2011 08:12:14 -0800 (PST) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.85.214.41; 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: 0DDTsotfe - 1d10bdcfcc53 - 20110114 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:65255 Archived-At: context.environment() just throws an error: context.environment("foo.tex") -- throws an error --context.input("foo.tex") -- fine context.starttext() context("foo") context.stoptext() Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________