From: Philipp Gesang <Philipp.Gesang@alumni.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: formulas: numbering problem
Date: Mon, 26 Nov 2012 12:35:42 +0100 [thread overview]
Message-ID: <20121126113542.GA2200@phlegethon.router_intern> (raw)
In-Reply-To: <ECDF2D47-9B44-425C-8710-CFED217936C9@imt.uni-luebeck.de>
[-- 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
___________________________________________________________________________________
prev parent reply other threads:[~2012-11-26 11:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 10:44 Andreas Mang
2012-11-26 11:35 ` Philipp Gesang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121126113542.GA2200@phlegethon.router_intern \
--to=philipp.gesang@alumni.uni-heidelberg.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).