From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13199 Path: main.gmane.org!not-for-mail From: Michal Kvasnicka Newsgroups: gmane.comp.tex.context Subject: Changes/bugs in the new Context Date: Thu, 11 Sep 2003 16:07:06 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <3F60818A.5010900@econ.muni.cz> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1063291259 30578 80.91.224.253 (11 Sep 2003 14:40:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2003 14:40:59 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Sep 11 16:40:57 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xScz-0005ho-00 for ; Thu, 11 Sep 2003 16:40:57 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7C53810BC3; Thu, 11 Sep 2003 16:40:54 +0200 (MEST) Original-Received: from anor.ics.muni.cz (anor.ics.muni.cz [147.251.4.35]) by ref.ntg.nl (Postfix) with ESMTP id 88C0310B25 for ; Thu, 11 Sep 2003 16:08:27 +0200 (MEST) Original-Received: from merkur.econ.muni.cz (merkur.econ.muni.cz [147.251.189.10]) by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id h8BE8QTP014936 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 11 Sep 2003 16:08:26 +0200 Original-Received: from econ.muni.cz (ke-kvasnicka.econ.muni.cz [147.251.224.167]) by merkur.econ.muni.cz (8.12.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id h8BE8PCR022211 for ; Thu, 11 Sep 2003 16:08:25 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en, cs Original-To: ConTeXt X-Muni-Spam-TestIP: 147.251.189.10 X-Muni-Virus-Test: Clean Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13199 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13199 Dear Mr. Hagen. I'm sorry I bother you, but I really need a help. Some time ago I uploaded and installed the new version of ConTeXt (ConTeXt ver: 2003.8.21). After that I was not able to compile some of my documents due to changes (bug?) in the new version (the changes may be older). I'd like to ask how should I handle the following two cases in the new version. 1) Changes in colors In some older version I could write things like this: \setupheader[style={\ss\bfb\red}] \setuphead[chapter] [textstyle={\ss\bfc\setupinterlinespace[line=24pt]\red}] \setupinteraction[state=start, style=\red] where \red is a color. Now it makes errors. How should I handle it now? In heads and headers I can use command option and \setupheadertexts respectively. But how sould I set the interactioncolor? (This is the real cause of the problem I have ask the last week -- by my mistake atributed to the content-lists.) 2) Chagnes (bug?) in references Some time ago command \reference[...]{...} expanded the term in the second (curly?) braces before writing to auxiliary files. Now it doesn't. I use this command in my macros like this \reference[#1]{\the\somenumber.\the\anothernumber}} Now the commands \the\somenumber.\the\anothernumber are placed to .tui/.tuo files without expansion. I had to redefine it in the following way: \global\let\OriReference=\reference \gdef\reference[#1]#2{% \edef\MyRefO{#2}% \def\MyRef##1!!{% \OriReference[#1]{##1}% } \expandafter\MyRef\MyRefO!!% } Is it a bug or a feature? How should I use it? Doesn't my solution interfere with the genious ConTeXt macros? Nonetheless I want to thank you very much for providing such a powerful macro package as ConTeXt is to all of us for free. The ConTeXt is really great. Thank you. Thank you very much for your kind help. Your sincerely Michal Kvasnicka