From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71801 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: arguments on context call Date: Sun, 16 Oct 2011 19:32:14 +0200 Message-ID: <31143A87-E6C2-44F1-BD14-6808F68F8E52@googlemail.com> 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 (Apple Message framework v1244.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1318786364 17821 80.91.229.12 (16 Oct 2011 17:32:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2011 17:32:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 16 19:32:37 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 1RFUZg-0003ei-Q5 for gctc-ntg-context-518@m.gmane.org; Sun, 16 Oct 2011 19:32:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10C4BCB04E; Sun, 16 Oct 2011 19:32:36 +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 gRvypBwCmYR8; Sun, 16 Oct 2011 19:32:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20A8BCB036; Sun, 16 Oct 2011 19:32:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9EB1BCB036 for ; Sun, 16 Oct 2011 19:32:31 +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 duwgq18GkDC7 for ; Sun, 16 Oct 2011 19:32:20 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 91A48CAFFB for ; Sun, 16 Oct 2011 19:32:20 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9GHWIPT008005 for ; Sun, 16 Oct 2011 19:32:19 +0200 Original-Received: by bkbzu5 with SMTP id zu5so5867566bkb.14 for ; Sun, 16 Oct 2011 10:32:18 -0700 (PDT) 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=pvczjmxtzecgk4Vds4+jiX9NNX7QxhgOq+6iG7j3DR0=; b=KmVb4tTbxPugqRUj/Y31ZHfdKwMBqxO/HbPZdG30LOTStVCoWVnxz2nxcvMPCORmwg J/9CaKoWNBlWSYmivKFTKiFERNWpS1km29xahwksLQVHPCl9R90+CCzjCq3VIMbqmXxy eF7D3Vc+9oGlz2rGFBdD+rIRuUgOBcvVrBMlM= Original-Received: by 10.223.76.27 with SMTP id a27mr2120950fak.26.1318786338723; Sun, 16 Oct 2011 10:32:18 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EF542.dip.t-dialin.net. [91.14.245.66]) by mx.google.com with ESMTPS id c1sm18370914fab.15.2011.10.16.10.32.16 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Oct 2011 10:32:17 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) 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: 06FJtwjXB - 97a32769bcaa - 20111016 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:71801 Archived-At: Am 16.10.2011 um 19:14 schrieb Meer, H. van der: > Thanks, but I am afraid I do not understand the mechanism well enough. > I did the follwoing call in the shell: > context --fontchoice=3D"my font choice" test > = > And in the test.tex file: > variable mykey =3D <\getvariable{documents.arguments}{fontchoice}>\crlf > = > But that clearly didn't work. \doifdocumentargument {bodyfont} {\setupbodyfont[\getdocumentargument{bodyf= ont}]} \starttext This document uses =93\doifdocumentargumentelse{bodyfont}{\getdocumentargum= ent{bodyfont}}{Latin Modern}=94 as bodyfont. \stoptext $ context --bodyfont=3Dpagella test.tex 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 ___________________________________________________________________________= ________