* formulas: numbering problem
@ 2012-11-26 10:44 Andreas Mang
2012-11-26 11:35 ` Philipp Gesang
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Mang @ 2012-11-26 10:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: formulas: numbering problem
2012-11-26 10:44 formulas: numbering problem Andreas Mang
@ 2012-11-26 11:35 ` Philipp Gesang
0 siblings, 0 replies; 2+ messages in thread
From: Philipp Gesang @ 2012-11-26 11:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1271 bytes --]
Hi Andreas,
···<date: 2012-11-26, Monday>···<from: Andreas Mang>···
> 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
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-26 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-26 10:44 formulas: numbering problem Andreas Mang
2012-11-26 11:35 ` Philipp Gesang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).