From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71800 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: arguments on context call Date: Sun, 16 Oct 2011 17:14:07 +0000 Message-ID: References: <75AFB1AE-5D4A-49CC-8868-5F939045AFA3@uva.nl> <4E9B0024.8050902@uni-bonn.de> 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 1318785270 11324 80.91.229.12 (16 Oct 2011 17:14:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2011 17:14:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 16 19:14:22 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 1RFUI2-0004qb-53 for gctc-ntg-context-518@m.gmane.org; Sun, 16 Oct 2011 19:14:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CC97CB057; Sun, 16 Oct 2011 19:14:21 +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 lLDmoXoK+Pho; Sun, 16 Oct 2011 19:14:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 503C4CB036; Sun, 16 Oct 2011 19:14:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 48F70CB036 for ; Sun, 16 Oct 2011 19:14:17 +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 2Doqw8oB1XtF for ; Sun, 16 Oct 2011 19:14:14 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id DC60CCAFFB for ; Sun, 16 Oct 2011 19:14:14 +0200 (CEST) Original-Received: from holleman.uva.nl (holleman.uva.nl [146.50.108.228]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9GHE85Z024766 for ; Sun, 16 Oct 2011 19:14:14 +0200 Original-Received: from vanthoff.uva.nl (146.50.108.242) by holleman.uva.nl (146.50.108.228) with Microsoft SMTP Server (TLS) id 14.1.289.1; Sun, 16 Oct 2011 19:14:08 +0200 Original-Received: from katz.uva.nl ([fe80::dddf:f1e2:dda:1bd1]) by vanthoff.uva.nl ([::1]) with mapi id 14.01.0289.001; Sun, 16 Oct 2011 19:14:08 +0200 Thread-Topic: [NTG-context] arguments on context call Thread-Index: AQHMjBlBBEgbRGAnY0uqiqJvcHGm9ZV/AFoAgAAT8oA= In-Reply-To: <4E9B0024.8050902@uni-bonn.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: <271C7FC3E274D04D8960CA0F39C1F8E7@uva.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.228; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bFJte8fz - 6247603126e4 - 20111016 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:71800 Archived-At: Thanks, but I am afraid I do not understand the mechanism well enough. I did the follwoing call in the shell: context --fontchoice="my font choice" test And in the test.tex file: variable mykey = <\getvariable{documents.arguments}{fontchoice}>\crlf But that clearly didn't work. Hans van der Meer On 16 okt. 2011, at 18:02, Thomas A. Schmitz wrote: > On 10/16/11 5:35 PM, Meer, H. van der wrote: >> The "context --help" shows the following option: >> --arguments=list set variables that can be consulted during a run (key/value pairs) >> >> It looks like something I need at the moment. There seems to be no further information on it, at least not be searching the wiki with "context arguments". >> I have the two questions: >> >> (1) how is the list given? >> context arguments=key1=value1,key2=value2 >> or >> context arguments="key1=value1,key2=value2" >> or otherwise >> >> (2) how are these values picked up inside the TeX-run for use in typesetting? >> >> Hans van der Meer > > I recently looked that up on the list archive, so here's a link: > http://archive.contextgarden.net/message/20110107.215824.8d1287ab.en.html > > Thomas > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________