From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15748 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: key=value parameters Date: Fri, 23 Jul 2004 12:53:33 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <4100EE2D.4000906@seznam.cz> References: <4100D052.5070801@seznam.cz> <20040723111209.2d36bd92@glenlivet.elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1090580082 23064 80.91.224.253 (23 Jul 2004 10:54:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2004 10:54:42 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 23 12:54:30 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 1Bnxh8-0005Fe-00 for ; Fri, 23 Jul 2004 12:54:30 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1E3B1278A; Fri, 23 Jul 2004 12:54:29 +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 12556-05; Fri, 23 Jul 2004 12:54:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C021A12780; Fri, 23 Jul 2004 12:52:45 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F409512780 for ; Fri, 23 Jul 2004 12:52:43 +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 12556-04 for ; Fri, 23 Jul 2004 12:52:43 +0200 (CEST) Original-Received: from smtp.seznam.cz (unknown [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 2177C1277E for ; Fri, 23 Jul 2004 12:52:43 +0200 (CEST) Original-Received: (qmail 30672 invoked from network); 23 Jul 2004 10:52:42 -0000 Original-Received: from unknown (HELO ?192.168.1.45?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 23 Jul 2004 10:52:42 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: cs, en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20040723111209.2d36bd92@glenlivet.elvenkind.com> 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:15748 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15748 Thank you Taco. >>I can imagine next solutions: >>1) Do not use predefined keys in my macros, e.g. textWidth instead of >> textwidth [=user unfriendly]. > > If you decide on this solution, please use Textwidth instead (at least > something that starts with a capital letter). OK, but I do not like this solution. >>2) Use original (mostly Dutch) keys inside of my macros >> [=developer unfriendly]. > > In this case, the "correct" solution is to use the interfaced versions > like \c!tekstbreedte et al. inside your macros. This is unwieldy if you > are not very familiar with the ConTeXt source, but it allows multilingual > input (very user friendly). That is true I was not familiar about \c!... But problem is not in familiarity with ConTeXt source but Dutch language. One should write \c!tekstbreedte instead of \c!textwidth. For non Dutch it means all the time search at mult-*.tex. I know, solution is to learn Dutch... Hans has plan to rewrite all code to English, hasn't it? Very good idea. Multilingual input: - In late 90. when I met ConTeXt first time, I was very confused. Some macros work, something was ignored. It took several days to discover that I have to write (in my czech format) \nastavbarvy instead of \setupcolors. After that I quickly switch to english interface. - Multilingual interface is a nice example of ConTeXt capability, but a bit inpractical. It keeps from source code exchange. I can imagine some transtlators, but... - I think there is no many ConTeXt users (even any?) that use non English or non Dutch interface (languages in which reference manual is written). >>3) Define: >> \unprotect >> \def\getparametersALL{\dogetparameters\dosetvalueALL} > > Actually there is no need to define anything, you can just use \rawgetparameters > instead of \getparameters. Great, but unfortunately it does not work with empty parameter list []. No I have no time but I will look for better definition of \rawgetparameters and \rawsetparameter. Vit Zyka