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%%%%
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 http://wiki.contextgarden.net/Titles#Default. Regards Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
participants (2)
-
Andreas Mang
-
Philipp Gesang