From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78200 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: Passing variables on invocation- and reading them in ConTEXt Date: Mon, 10 Sep 2012 13:31:41 +0200 Message-ID: <87oblew1uq.fsf@micropit.couberia.selfip.net> References: <404B9D75-2334-4B9A-B2F2-74F42CBB15BD@pobox.com> <73DCD031-6BBC-483D-9016-6BCF674C5F5A@gmail.com> <20120910131208.00a18efe@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347276714 13616 80.91.229.3 (10 Sep 2012 11:31:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2012 11:31:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 10 13:31:53 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 1TB2DX-0005hh-KR for gctc-ntg-context-518@m.gmane.org; Mon, 10 Sep 2012 13:31:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E9293101EB; Mon, 10 Sep 2012 13:31:47 +0200 (CEST) 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 TRJfeH+snGEB; Mon, 10 Sep 2012 13:31:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 58E6B101E8; Mon, 10 Sep 2012 13:31:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F221101E8 for ; Mon, 10 Sep 2012 13:31:45 +0200 (CEST) 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 I+ZgJ9VN25dE for ; Mon, 10 Sep 2012 13:31:44 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 2AE74101E6 for ; Mon, 10 Sep 2012 13:31:43 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8ABU5cZ019391 for ; Mon, 10 Sep 2012 13:30:06 +0200 Original-Received: from micropit.couberia.bzh ([2.11.169.187]) by mwinf5d53 with ME id xPXi1j00842w0Vu03PXiX6; Mon, 10 Sep 2012 13:31:42 +0200 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id 58796500696; Mon, 10 Sep 2012 13:31:41 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <20120910131208.00a18efe@homerow> (Marco Patzer's message of "Mon, 10 Sep 2012 13:12:08 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.123; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHVnu6F7 - c60478b48aa7 - 20120910 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78200 Archived-At: On Mon, Sep 10 2012, Marco Patzer wrote: > context --number=8 --time=full-time test.tex Then you have to be sure, that --number and --time will never be special parameters for context. Alternatives: "--MarcoPatzerNumber=8 --MarcoPatzerTime=full-time" Or: % context --arguments=number=8,time=full-time test.tex \starttext This is \env{number}. This is \env{time}. \stoptext -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________