From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16555 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: framewidth parameter Date: Mon, 27 Sep 2004 17:06:19 +0200 Organization: Elvenkind Sender: ntg-context-bounces@ntg.nl Message-ID: <20040927170619.181b5fe0@glenlivet.elvenkind.com> References: <20040927103452.GE9633@cebitec.uni-bielefeld.de> <20040927140713.GH9633@cebitec.uni-bielefeld.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096297600 523 80.91.229.6 (27 Sep 2004 15:06:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2004 15:06:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 27 17:06:28 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CBx5A-0007oD-00 for ; Mon, 27 Sep 2004 17:06:28 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C4145127A3; Mon, 27 Sep 2004 17:06:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27354-07; Mon, 27 Sep 2004 17:06:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 175F91279D; Mon, 27 Sep 2004 17:06:23 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BB2631279D for ; Mon, 27 Sep 2004 17:06:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27359-05 for ; Mon, 27 Sep 2004 17:06:21 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (unknown [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 1791F12778 for ; Mon, 27 Sep 2004 17:06:21 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id D48521990A for ; Mon, 27 Sep 2004 17:06:08 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24662-06 for ; Mon, 27 Sep 2004 17:06:08 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with SMTP id 08C8319902 for ; Mon, 27 Sep 2004 17:06:08 +0200 (CEST) Original-To: mailing list for ConTeXt users In-Reply-To: <20040927140713.GH9633@cebitec.uni-bielefeld.de> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i586-mandrake-linux-gnu) X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16555 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16555 On Mon, 27 Sep 2004 16:07:13 +0200, Eckhart wrote: > Btw, one thing that sometimes constrains work with context is a lack of > error/warning messages. It would be very helpful if commands complained > about unknown parameters, i.e. \framed[framewidth=2mm]{xyz}. Of course I > can't judge the difficulties in implementing such a feature, but from a > user's point of view, it would be great. It would not be hard, but context would definately slow down and it would be (much?) more taxing on TeX's memory. I agree it would be very handy sometimes, but it introduces overhead that we do not want at other times. In your example, The \getparameters that is called behind the scenes blindly converts the 'framewidth' parameter to \def\@@olframewidth{2mm} At that moment, there is no knowledge that this parameter will, in fact, never be used 'downstream'. Adding that knowledge has a definate associated penalty, (at minimum one 'if' test and some strings per debugged command). -- groeten, Taco