Re: [NTG-context] MKIV numbering

2010-05-18 Thread richard . stephens

   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.
 
 \setupcaptions[way=bysection,prefixsegments=section]
 \setupformulas[way=bysection,prefixsegments=section]
 
 Wolfgang

Thanks Wolfgang, that is absolutely fantastic. I'm
so happy I might just make a note of that on the wiki!

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




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


Re: [NTG-context] MKIV numbering

2010-05-17 Thread richard . stephens

Oops - I forgot to change the subject, sorry for the
noise!

  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




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


Re: [NTG-context] MKIV numbering

2010-05-17 Thread Wolfgang Schuster

Am 17.05.10 12:08, schrieb richard.steph...@converteam.com:


  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.


\setupcaptions[way=bysection,prefixsegments=section]
\setupformulas[way=bysection,prefixsegments=section]

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


Re: [NTG-context] MKIV numbering

2010-05-15 Thread Taco Hoekwater

richard.steph...@converteam.com wrote:

Hello,

Does anyone else  have the following problems with numbering for figures, 
equations etc in MKIV


1. Using \setupnumbering[way=bysection] does not work


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

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


Re: [NTG-context] MKIV numbering

2010-05-15 Thread Hans Hagen

On 15-5-2010 8:58, Taco Hoekwater wrote:

richard.steph...@converteam.com wrote:

Hello,

Does anyone else have the following problems with numbering for
figures, equations etc in MKIV

1. Using \setupnumbering[way=bysection] does not work


 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.


true, i'm still not sure how to deal with a document wide default (where 
and what) .. eventually there will be something


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] MKIV numbering

2010-05-14 Thread Marco
On Fri, 14 May 2010 16:53:53 +0100, richard.steph...@converteam.com
wrote:

 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


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