Re: [NTG-context] formulas: numbering problem

2012-11-26 Thread Philipp Gesang
Hi Andreas,

ยท

> I've spotted a problem with the numbering of the formulas  (default setting: 
> (CHAPTER.FORMULANUMBER)):
> 
> If a heading that does not come with a number is introduced, the chapter 
> number vanishes from the reference number for the formula. I have provided a 
> minimal example to illustrate the behaviour.
> 
> Any ideas for a quick fix?!

Use the unnumbered counterparts \title (=\chapter), \subject
(\section), \subsubject and \subsubsubject. See strc-def.mkiv for
more information if you prefer to define your own sectioning
commands.

> minimal example
> \setuphead[subsection][number=no]
> 
> \starttext
> \chapter{First Chapter}
> \section{First Section}
> 
> \placeformula
> \startformula 
>   Ax=b % as expected: (1.1)
> \stopformula
> 
> \subsection{First Subsection}

\subsubject{First Subsection} %% <= like so

> \placeformula
> \startformula
>   Ax=b % not as expected: (2) instead of (1.2)
> \stopformula
> 
> \stoptext
> minimal example

Also, see .

Regards
Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgp2vZ57KTrE1.pgp
Description: PGP signature
___
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] formulas: numbering problem

2012-11-26 Thread Andreas Mang
Dear all,

I've spotted a problem with the numbering of the formulas  (default setting: 
(CHAPTER.FORMULANUMBER)):

If a heading that does not come with a number is introduced, the chapter number 
vanishes from the reference number for the formula. I have provided a minimal 
example to illustrate the behaviour.

Any ideas for a quick fix?!

Thanks,
Andreas

ConTeXt  ver: 2012.11.23 17:35 MKIV

minimal example
\setuphead[subsection][number=no]

\starttext
\chapter{First Chapter}
\section{First Section}

\placeformula
\startformula 
Ax=b % as expected: (1.1)
\stopformula

\subsection{First Subsection}
\placeformula
\startformula
Ax=b % not as expected: (2) instead of (1.2)
\stopformula

\stoptext
minimal example
___
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
___