From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56223 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: What do you miss in ConTeXt? Date: Sat, 13 Feb 2010 13:30:28 +0100 Message-ID: <4B769B64.9000405@googlemail.com> References: <4B6FF4C6.4000401@googlemail.com> <87ljexiase.fsf@devereux.me.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1266064250 18494 80.91.229.12 (13 Feb 2010 12:30:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2010 12:30:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 13 13:30:48 2010 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 1NgH95-0004P0-Ra for gctc-ntg-context-518@m.gmane.org; Sat, 13 Feb 2010 13:30:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1CDC3C9CB4; Sat, 13 Feb 2010 13:30:46 +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 Wu5pO0GqQis8; Sat, 13 Feb 2010 13:30:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F39CCC9CAD; Sat, 13 Feb 2010 13:30:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6A497C9CAD for ; Sat, 13 Feb 2010 13:30:42 +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 e1t-TSU6ghrW for ; Sat, 13 Feb 2010 13:30:31 +0100 (CET) Original-Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by balder.ntg.nl (Postfix) with ESMTP id 020F4C9C9F for ; Sat, 13 Feb 2010 13:30:30 +0100 (CET) Original-Received: by fxm23 with SMTP id 23so3350372fxm.2 for ; Sat, 13 Feb 2010 04:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=oQbB0+OMRty+1o5SdTkFUa7GpyHG0auzEhuAStRNwXs=; b=uTgPFA7/VPHflW347n8XlpPbD0Gw14LiG2hd7MsbRgoBJkqAayHrt2AWmfhsOc67ul 5bjxPQSebqcDZONoZlio8R7OmL69WnDRs4ft8sBbEqYlgdGwoAjQfLqgf+nH5D/NMUWW LteUYlZkmQVlwBYI5HBb/s7LTP/HrF4n8JH1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Q5r/XpKqMOt3UDCH7t+Hw4NTNd7RyBPCNWq3hERpnSgPSGK65bXHHFGA9CPA2uQ6xu ohjk0ga2xCgPM00mKT3C3H5UQuAsItmx3iysl6gMcQmbM+sX0TUuE7kT5PBN+vZnIyPJ hIWRZUjndl9lquAhkdlGY/00flSQEScDRZakc= Original-Received: by 10.223.6.153 with SMTP id 25mr3003609faz.81.1266064230314; Sat, 13 Feb 2010 04:30:30 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B296197.dip.t-dialin.net [91.41.97.151]) by mx.google.com with ESMTPS id 18sm7101491fks.34.2010.02.13.04.30.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 13 Feb 2010 04:30:29 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: <87ljexiase.fsf@devereux.me.uk> 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:56223 Archived-At: Am 13.02.10 13:24, schrieb John Devereux: > I asked before why ConTeXt does not flag incorrect parameters, I seem to > recall the answer was that it would slow things down too much. But a > command line switch to do this would be very useful. Already available for MkIV (mult-chk.mkiv): \starttext \testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]} % 0.20 seconds \enablecheckparameters \testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]} % 0.35 seconds \getcheckedparameters[test][xx][a=a] \getcheckedparameters[test][xx][b= b] \getcheckedparameters[test][xx][c = c] \getcheckedparameters[test][xx][d = d d , e = e ,f = f ] \getcheckedparameters[test][xx][g={oeps {oeps}}] \getcheckedparameters[test][xx][crap=whatever] \startlines [a:\getvalue{xxa}][a] [b:\getvalue{xxb}][b] [c:\getvalue{xxc}][c] [d:\getvalue{xxd}][d d ] [e:\getvalue{xxe}][e ] [f:\getvalue{xxf}][f ] [g:\getvalue{xxg}][\detokenize\expandafter{\xxg}] \stoplines \setvalidparameterkeys[test][crap] \getcheckedparameters[test][xx][crap=whatever] \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________