From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74493 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Passing variable values on invoking context Date: Wed, 15 Feb 2012 11:47:07 -0500 (EST) Message-ID: References: <4808B92C-AFE0-4AEB-9FCE-CCD4C6C67337@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1708829601-1329324434=:3329" X-Trace: dough.gmane.org 1329324468 7822 80.91.229.3 (15 Feb 2012 16:47:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2012 16:47:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 15 17:47:43 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rxi16-00072R-93 for gctc-ntg-context-518@m.gmane.org; Wed, 15 Feb 2012 17:47:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8EB3ECB229; Wed, 15 Feb 2012 17:47:39 +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 21YQML+KKfz5; Wed, 15 Feb 2012 17:47:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 922B3CB226; Wed, 15 Feb 2012 17:47:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 72E0CCB226 for ; Wed, 15 Feb 2012 17:47:32 +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 HyhzNqWpiwCu for ; Wed, 15 Feb 2012 17:47:18 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 21167CB21C for ; Wed, 15 Feb 2012 17:47:17 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1FGlFYu019992 for ; Wed, 15 Feb 2012 17:47:16 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096680022.dsl.bell.ca [65.94.2.86]) By tombraider.mr.itd.umich.edu ID 4F3BE192.3C316.2586 ; Authuser adityam; 15 Feb 2012 11:47:14 EST In-Reply-To: <4808B92C-AFE0-4AEB-9FCE-CCD4C6C67337@googlemail.com> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07GygLft1 - 9a004acb5c2a - 20120215 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:74493 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1708829601-1329324434=:3329 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 15 Feb 2012, Wolfgang Schuster wrote: > > Am 15.02.2012 um 11:17 schrieb Ian Lawrence: > >> A bit of help, please. >> >> I currently have a chunk at the start of a text file, like this >> >> \setvariables >> [Path] >> [Thread=3D{Ee_01_PN}, >> >> ..... >> >> Mode=3Dfull] >> \stopbuffer >> >> I invoke the file with >> >> context filename.tex >> >> Is there a way to pass the value of the variable to context on invocatio= n? >> >> So the top of the header might read: >> >> >> \setvariables >> [Path] >> [Thread=3D{Ee_01_PN}, >> >> ..... >> >> ] >> \stopbuffer >> >> And the invocation: >> >> context filename.tex (bit of magic) Mode=3Dfull >> >> If so, I could use this a few times...it's not a big deal but would >> mean I could prepare some fixed command files, rather than a search >> and replace for Mode=3Dfull to Mode=3Dlight through al the text files >> called by this kind of invocation. > > =95 http://archive.contextgarden.net/message/20060810.215454.54ccd77e.en.= html > =95 http://archive.contextgarden.net/message/20110105.204113.93286322.en.= html Also see http://wiki.contextgarden.net/Modes Aditya --8323328-1708829601-1329324434=:3329 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-1708829601-1329324434=:3329--