From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40173 Path: news.gmane.org!not-for-mail From: Rory Molinari Newsgroups: gmane.comp.tex.context Subject: Re: Adding custom key/value pairs Date: Sun, 13 Apr 2008 10:37:25 -0700 Message-ID: References: <2c62660f97846a8a50e04eab167dde42@quokka70.fastmail.fm> <4801DBAC.4000907@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208159498 22962 80.91.229.12 (14 Apr 2008 07:51:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 07:51:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 14 09:52:16 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JlJTw-0004AP-8V for gctc-ntg-context-518@m.gmane.org; Mon, 14 Apr 2008 09:52:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 55B9E1FBEB; Mon, 14 Apr 2008 09:51:24 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31077-01-2; Mon, 14 Apr 2008 09:50:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD4221FCCA; Mon, 14 Apr 2008 09:17:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 77DB61FBC9 for ; Sun, 13 Apr 2008 19:38:01 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27660-03-16 for ; Sun, 13 Apr 2008 19:37:27 +0200 (CEST) Original-Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by ronja.ntg.nl (Postfix) with ESMTP id 644D21FADC for ; Sun, 13 Apr 2008 19:37:27 +0200 (CEST) Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 0B81CFE2FE for ; Sun, 13 Apr 2008 13:37:27 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 13 Apr 2008 13:37:27 -0400 X-Sasl-enc: lSyWJUVCtCc+kx0fFxJi7RMhJ+mKjRWMc9SoAk/BF++j 1208108246 Original-Received: from [76.191.216.139] (76-191-216-139.dsl.dynamic.sonic.net [76.191.216.139]) by mail.messagingengine.com (Postfix) with ESMTPSA id B0B0D29F66 for ; Sun, 13 Apr 2008 13:37:26 -0400 (EDT) In-Reply-To: <4801DBAC.4000907@elvenkind.com> X-Mailer: Apple Mail (2.624) X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Mon, 14 Apr 2008 09:17:27 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40173 Archived-At: On Apr 13, 2008, at 3:08 AM, Taco Hoekwater wrote: > Rory Molinari wrote: > >> \startvariables all >> degree: degree >> \stopvariables > > \c!... commands (keys) are created by \startconstants, > \v!... commands (enumerated values) by \startvariables. > > So: > > \startconstants all > degree: degree > \stopconstants > > you also have a few smaller problems with the definitions > like missing \unprotects etc, but the above is the key to > getting it working. Thanks Taco, that was exactly what I needed. Cheers, Rory > > Best wishes, > Taco > _______________________________________________________________________ > ____________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _______________________________________________________________________ > ____________ ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________