From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74485 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Passing variable values on invoking context Date: Wed, 15 Feb 2012 11:26:48 +0100 Message-ID: <4808B92C-AFE0-4AEB-9FCE-CCD4C6C67337@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1329301632 17007 80.91.229.3 (15 Feb 2012 10:27:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2012 10:27:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 15 11:27:08 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 1Rxc4p-00012J-Pb for gctc-ntg-context-518@m.gmane.org; Wed, 15 Feb 2012 11:27:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 26D80CB23F; Wed, 15 Feb 2012 11:27:07 +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 L1i-FM6o9UUi; Wed, 15 Feb 2012 11:27:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D95BFCB230; Wed, 15 Feb 2012 11:27:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9DB61CB230 for ; Wed, 15 Feb 2012 11:26:59 +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 ok4ELuT3iQMz for ; Wed, 15 Feb 2012 11:26:53 +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 2B929CB229 for ; Wed, 15 Feb 2012 11:26:53 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1FAQqtl001207 for ; Wed, 15 Feb 2012 11:26:52 +0100 Original-Received: by eaag11 with SMTP id g11so339393eaa.14 for ; Wed, 15 Feb 2012 02:26:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=2fs1aAaMhqGZAIpcuao6ye3kpgSD8ZwlcrQYFdoGzh0=; b=Kqa7/vK4XseRNPR0lmA1NP/K5ift2FnRjFOkrvTZdy+TxXp3cCZbeGzyv+PN20CvF2 LNKuP04BcRYizlvFficYPBNqK8uPdNxcPdgN/+JmEKgMH7l0j7j8pSg9uvEd5r3Ef+RR 5BG45qnIyqMt5FGT6WboeeO9KsQ7btpCcSGL4= Original-Received: by 10.213.16.148 with SMTP id o20mr1164135eba.45.1329301612073; Wed, 15 Feb 2012 02:26:52 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFC59E.dip.t-dialin.net. [87.175.197.158]) by mx.google.com with ESMTPS id v51sm9692432eef.2.2012.02.15.02.26.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Feb 2012 02:26:50 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; 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: 07GyaqQk7 - 18342507ac69 - 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:74485 Archived-At: 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 invocation? > = > 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.ht= ml =95 http://archive.contextgarden.net/message/20110105.204113.93286322.en.ht= ml Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________