From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58874 Path: news.gmane.org!not-for-mail From: richard.stephens@converteam.com Newsgroups: gmane.comp.tex.context Subject: Re: ntg-context Digest, Vol 71, Issue 54 Date: Mon, 17 May 2010 09:29:18 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1244297332==" X-Trace: dough.gmane.org 1274084988 23446 80.91.229.12 (17 May 2010 08:29:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 May 2010 08:29:48 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon May 17 10:29:47 2010 connect(): No such file or directory 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 1ODvhp-00031t-DV for gctc-ntg-context-518@m.gmane.org; Mon, 17 May 2010 10:29:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AE0E3C9AAA; Mon, 17 May 2010 10:29:44 +0200 (CEST) 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 eophO-b4dRXO; Mon, 17 May 2010 10:29:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03131C9A7C; Mon, 17 May 2010 10:29:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46506C9A7C for ; Mon, 17 May 2010 10:29:40 +0200 (CEST) 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 1G2jJPqZB3ac for ; Mon, 17 May 2010 10:29:34 +0200 (CEST) Original-Received: from eu1sys200aog120.obsmtp.com (eu1sys200aog120.obsmtp.com [207.126.144.149]) by balder.ntg.nl (Postfix) with SMTP id E6A94C9A70 for ; Mon, 17 May 2010 10:29:33 +0200 (CEST) Original-Received: from source ([212.155.191.22]) (using SSLv3) by eu1sys200aob120.postini.com ([207.126.147.11]) with SMTP ID DSNKS/D+bbj00SXoPNho6R9zcNHMEIktBCpl@postini.com; Mon, 17 May 2010 08:29:33 UTC In-Reply-To: X-Disclaimed: 61634 X-Mailer: Lotus Notes Release 7.0.3 September 26, 2007 X-MIMETrack: Serialize by Router on G-WWH20/SRV/ALSTOM(Release 7.0.3|September 26, 2007) at 17/05/2010 10:35:23, Serialize complete at 17/05/2010 10:35:23 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:58874 Archived-At: --===============1244297332== Content-Type: text/html; charset="US-ASCII"
> > Hello,
> >
> > Does anyone else  have the following problems with numbering for
> > figures, equations etc in MKIV
> >
> > 1. Using \setupnumbering[way=bysection] does not work
> > 2. The colour of references to figures etc is wrong.
> \setupinteraction[state=start,
>   color=darkgreen,contrastcolor=darkgreen,style=normal]
>  
> Marco


Thanks Marco, that works fine, but why do I need contrastcolor and what does it do?

> From the mkiv source, it looks like the inheritance is disabled at the
> moment for some reason (code is commented out).
>
> Explicit setting of :
>
>   \setupcaptions[way=bysection]
>   \setupformulas[way=bysection]
>
> works.
>
> Best wishes,
> Taco


I'm afraid this suggestion ALMOST works---it restarts the numbering in each new section, but it
does not prefix the numbers with the section number, so my previous example gives two Figure 1's.

There is code for \setupcaptions in strc-flt.mkiv which has 'way' commented out.

Regards,

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail



--===============1244297332== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1244297332==--