On Tue, 2012-01-17 at 13:38 +0900, Vladimir Lomov wrote: Hey Vlad.
(1) What is the difference between \definedescription and \setupdescriptions?
(not an expert, just read command reference) the first should define new "description", the second change style of already defined "description".
Ah, so \setupdescriptions inherits the default values of \definedescription?
(2) What is the difference between \definition and \description? This example <example> \starttext
\definition{Hi}
\stoptext </example> gives error: "Undefined control sequence ...". Where this command is defined?
In section 10.2 of the ConTeXt User Manual (p222 of the pdf). Maybe it is a type: ... An example of the definition is: \definedescription[definition][location=top,headstyle=bold] search \definition{icon} ... Or maybe you mean \description which is on the same page.
(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: <example> \starttext
\definedescription[definition][headcolor=colour_head]
\definition{Hi}. This is definition. \setupdescriptions[definition][headcolor=colour_head2]
\definition{Hi2}. This is second definition.
\stoptext </example>
Thank you. That makes sense now. But why does \setuphead[definition] method not work? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com