From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101868 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: picking up parameters from mtxrun Date: Sat, 8 Sep 2018 18:45:41 +0200 Message-ID: <50de869a-4306-a91e-5e77-2e2ccade1ef3@gmail.com> References: <46A84990-32B0-4279-8BC5-CA945BA384AE@ziggo.nl> <04ed0128-bb53-2ced-6757-77011a403ed3@gmail.com> <96A214A6-AD4D-47AB-B3B5-60A992B28166@ziggo.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0574799071639551923==" X-Trace: blaine.gmane.org 1536425132 26850 195.159.176.226 (8 Sep 2018 16:45:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2018 16:45:32 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 PostboxApp/6.1.2 Cc: mailing users To: Hans van der Meer Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 08 18:45:28 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fygMS-0006uq-91 for gctc-ntg-context-518@m.gmane.org; Sat, 08 Sep 2018 18:45:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4BC2C64518; Sat, 8 Sep 2018 18:46:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y-9YQ9E8zEB5; Sat, 8 Sep 2018 18:46:51 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 93919644D1; Sat, 8 Sep 2018 18:46:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 11A69644D1 for ; Sat, 8 Sep 2018 18:46:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jOmweG_nSB-5 for ; Sat, 8 Sep 2018 18:46:49 +0200 (CEST) Original-Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4B270644A9 for ; Sat, 8 Sep 2018 18:46:39 +0200 (CEST) Original-Received: by mail-wm0-f47.google.com with SMTP id c14-v6so17471377wmb.4 for ; Sat, 08 Sep 2018 09:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=8V4ZNSnIvkVBzO8L7vAsT+shGJz9dh+YXD84HZeVjxI=; b=IcCusys6zUDP+NhrVHrJ8FuDhUoHFaSlWv0AUrM2r6WtUcAnbYB+Sq8CBFRRy/7jt/ ow9z0JbW/h1MRzrEV3cFL892BWENTE2E1GDkXnsY9UR/UFu/0+Q+brgD2Nzb681+L21Z DQTyh4OoKDjVjhT7/QTnX6SwST8pqDhprB7uvImCTj7MbAmPz5xTan/lff8gT86jo1Wp D1O7Zlw89/Yk94hCef9pRNYZ5UKUiIKwys7bASy0BqLWgKz0YxMVYESXLRSUwIJTJbfe p+I7uKJxQjW4Ktlng5o70+BbcMoZcAllFX9Y2mjmmMIW8u7K8NcDKlpllMhxLyO1oOm+ hjtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=8V4ZNSnIvkVBzO8L7vAsT+shGJz9dh+YXD84HZeVjxI=; b=OhLKiVoj2ABQ9V2TtRvaMoBSw9UaSkK1l1lo82uwnAkFrw1IoLVs+972t/o4nOvG49 R8zhD4KgWS0laNNh1FLHOe8eJloHQlpniQPM5IOfy8Wr5tBHWaKrjPq4RfaTIJ8u3aaq wO8Cn2RsS5p/nQMr+zs6xQVT0QMC3EPjLGjCZqWwaz8g6PaIZL693eCnYgcQcr2Csz3w 9BkgRtRJjFtoqI1rYUb1CoSEWSz7Xgsjc2MLs8+6zJ/8cAiXEc9nHN/EiBM+aRBjdJr3 ce3HhUg9X380uBGtbc6tDPVzzkXCClLv9NMdXm8powoJVAjphUfJKSRSKhnIiXvPt2po hYig== X-Gm-Message-State: APzg51Bptfr76yhTbmsehuXDcNiKH/Dp7PTyOg7N4tKTfk9ug/B46sc/ Hh8oIw5pzMXjQpIL2oN3FnwceqtG X-Google-Smtp-Source: ANB0VdbcKu58qQ+1157QiOiSDKb+8PVjxN9+k9+IJpX3rfMTI75MbbZWq+yz8sm4EVa4UMms3Z9nDQ== X-Received: by 2002:a1c:adca:: with SMTP id w193-v6mr7548715wme.147.1536425198579; Sat, 08 Sep 2018 09:46:38 -0700 (PDT) Original-Received: from [192.168.1.11] (x4d073c37.dyn.telefonica.de. [77.7.60.55]) by smtp.gmail.com with ESMTPSA id b124-v6sm10824262wmh.17.2018.09.08.09.46.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 09:46:37 -0700 (PDT) In-Reply-To: <96A214A6-AD4D-47AB-B3B5-60A992B28166@ziggo.nl> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:101868 Archived-At: This is a multi-part message in MIME format. --===============0574799071639551923== Content-Type: multipart/alternative; boundary="------------044AD81D597CB32BD3E2DCA5" Content-Language: en-US This is a multi-part message in MIME format. --------------044AD81D597CB32BD3E2DCA5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit If you need example how to use the commands take a look into the mtx-context-XXX.tex files. Wolfgang Hans van der Meer schrieb am 08.09.18 um 18:38: > Indeed, that was it.Your mail brings the memory back. But I am an old > man, so …. :-) Thanks. > >> On 8 Sep 2018, at 17:40, Wolfgang Schuster >> > > wrote: >> >> \getdocumentargument{...} >> >> \getdocumentargumentdefault{...}{} >> >> Wolfgang >> >> >> Hans van der Meer schrieb am 08.09.18 um 15:23: >>> I seem to remember (from a galaxy far far away) that it was possible >>> to pick up the parameters from the mtxrun call that sets ConTeXt >>> typesetting in motion. For example doing >>> mtxrun —mymode=something >>> and then in the program retrieving that something. >>> Will someone enlighten me? >>> >>> dr. Hans van der Meer >>> >>> >>> >>> >>> ___________________________________________________________________________________ >>> 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://context.aanhet.net >>> archive :https://bitbucket.org/phg/context-mirror/commits/ >>> wiki :http://contextgarden.net >>> ___________________________________________________________________________________ >> > > met vriendelijke groet > dr. Hans van der Meer > > --------------044AD81D597CB32BD3E2DCA5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit If you need example how to use the commands take a look into the mtx-context-XXX.tex files.

Wolfgang


Hans van der Meer schrieb am 08.09.18 um 18:38:
Indeed, that was it.Your mail brings the memory back. But I am an old man, so …. :-) Thanks.

On 8 Sep 2018, at 17:40, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:

\getdocumentargument{...}

\getdocumentargumentdefault{...}{<default value>}

Wolfgang


Hans van der Meer schrieb am 08.09.18 um 15:23:
I seem to remember (from a galaxy far far away) that it was possible to pick up the parameters from the mtxrun call that sets ConTeXt typesetting in motion. For example doing 
mtxrun —mymode=something
and then in the program retrieving that something.
Will someone enlighten me?

dr. Hans van der Meer




___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________


met vriendelijke groet
dr. Hans van der Meer



--------------044AD81D597CB32BD3E2DCA5-- --===============0574799071639551923== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============0574799071639551923==--