From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73918 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Re: Questions on \definition Date: Tue, 17 Jan 2012 13:38:04 +0900 Message-ID: <20120117043804.GF972@smoon> References: <1326772359.18560.21.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1326775117 24270 80.91.229.12 (17 Jan 2012 04:38:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2012 04:38:37 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 17 05:38:33 2012 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 1Rn0oZ-000150-BF for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jan 2012 05:38:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AAAA9CB1F6; Tue, 17 Jan 2012 05:38:30 +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 5nG+IAXzHX1D; Tue, 17 Jan 2012 05:38:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9A0A7CB1F3; Tue, 17 Jan 2012 05:38:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DBE54CB1F3 for ; Tue, 17 Jan 2012 05:38:25 +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 zrtb9Cq3xMS4 for ; Tue, 17 Jan 2012 05:38:15 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 16222CB1F1 for ; Tue, 17 Jan 2012 05:38:14 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0H4c9Ue017819 for ; Tue, 17 Jan 2012 05:38:13 +0100 Original-Received: by bkbzx1 with SMTP id zx1so376365bkb.14 for ; Mon, 16 Jan 2012 20:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=bD5Hqf7dlRpjzv2URzTNKkWOELIjggM5WW9waz6ych0=; b=V/h571QurwESn0MygaOJcZaS+JbTScZILHWgy4Yf2mMpRj9O8ulDvFXDWFLyCC45ur gRhWWKOq0a0B5aM5XzXS1nOEAtSAp6FabJT5sd18jpDExYl4+jctiHVn06/jd4TFGNkc M/JHXOEt/AZbuLJUaQf9l1K+OsKjKaEvRLFHE= Original-Received: by 10.205.129.137 with SMTP id hi9mr6142293bkc.90.1326775088664; Mon, 16 Jan 2012 20:38:08 -0800 (PST) Original-Received: from smoon ([141.105.33.55]) by mx.google.com with ESMTPS id ig13sm12102810bkc.9.2012.01.16.20.38.07 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 Jan 2012 20:38:08 -0800 (PST) Mail-Followup-To: Vladimir Lomov , ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <1326772359.18560.21.camel@kip-laptop> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dGmsC9ig - 235affe626b0 - 20120117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:73918 Archived-At: Hello, ** Kip Warner [2012-01-16 19:52:39 -0800]: > Hey list, > A couple of questions concerning \definition: (not an expert, just read command reference) > (1) What is the difference between \definedescription and > \setupdescriptions? the first should define new "description", the second change style of already defined "description". > (2) What is the difference between \definition and \description? This example \starttext \definition{Hi} \stoptext gives error: "Undefined control sequence ...". Where this command is defined? > (3) How do I change the colour of the definition header? I tried the > following, but it did not work: > \setuphead > [definition] > [color=colour_head] If I were you I would do that: \starttext \definedescription[definition][headcolor=colour_head] \definition{Hi}. This is definition. \setupdescriptions[definition][headcolor=colour_head2] \definition{Hi2}. This is second definition. \stoptext --- WBR, Vladimir Lomov -- Because the wine remembers. ___________________________________________________________________________________ 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 ___________________________________________________________________________________