> > 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