Re: [NTG-context] Formula-numbering and \setuphead[...][number=no]

2016-01-11 Thread Jannik Voges
Thank you, Wolfgang, that works.


Best regards

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

[NTG-context] Formula-numbering and \setuphead[...][number=no]

2016-01-11 Thread Alias 1


Hello,


I spotted a strange behavior when I use 
\setupformulas[way=bychapter,prefixsegments=chapter] to get formula numbers 
with the chapternumber as prefix and using \setuphead[…][number=no] to turn off 
the title number.

Minimal example:

\setupformulas[way=bychapter,prefixsegments=chapter]

\setuphead[section][number=no]

\starttext

\chapter{foo}

\placeformula
\startformula
E=mc^2
\stopformula

\section{bar}

\placeformula
\startformula
a^2+b^2=c^2
\stopformula

\stoptext

The second formula has only the formula number 2. I would expect the formula 
number 1.2 (or at least I would want to get this number).


Thanks for help

Jannik___
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] Formula-numbering and \setuphead[...][number=no]

2016-01-11 Thread Wolfgang Schuster

Alias 1 
11. Januar 2016 um 18:01


Hello,


I spotted a strange behavior when I 
use \setupformulas[way=bychapter,prefixsegments=chapter] to get 
formula numbers with the chapternumber as prefix and using 
\setuphead[…][number=no] to turn off the title number.


Minimal example:

\setupformulas[way=bychapter,prefixsegments=chapter]

\setuphead[section][number=no]

\setuphead[section][incrementnumber=no]


[…]

The second formula has only the formula number 2. I would expect the 
formula number 1.2 (or at least I would want to get this number).



Thanks for help

Jannik

Can you configure your mail client to show this name as well!

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
___