ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to get the chapter number
Date: Wed, 6 Jul 2011 11:08:24 +0200	[thread overview]
Message-ID: <CAG5iGsCPTQ3cOVRxhyb5NfHXyT_pxm2kvXGpiQCu45E95SQgiQ@mail.gmail.com> (raw)
In-Reply-To: <CAG-LmmC4S4ySS88HEn5T94rLJJePXO0BAnx2vOCVNGstKHTOdQ@mail.gmail.com>

On Wed, Jul 6, 2011 at 11:01 AM, Cecil Westerhof <cldwesterhof@gmail.com> wrote:
> 2011/7/6 luigi scarso <luigi.scarso@gmail.com>
>>
>> On Wed, Jul 6, 2011 at 10:48 AM, Cecil Westerhof <cldwesterhof@gmail.com>
>> wrote:
>> > At the moment I have the following in my document:
>> >     In the chapters 7 to 12 a more in depth description of the
>> > functionalities will be given.
>> >
>> > For this document it is not a real problem. (I do not expect the chapter
>> > structure to change often.) But it would be nicer to get the chapter
>> > numbers
>> > auto generated. Is this possible?
>> I (and I suppose others) don't understand your question.
>> Does not \chapter work ?
>
> Sorry, communication is not my strong point. :-{
>
> What I mean. I have something like:
>
> \chapter{General description}
> .
> .
> This is explained in chapters 7 to 12.
> .
> .
> \chapter{another}
> .
> .
> \chapter{first explaining}  % this is (now) chapter 7
>  .
> .
> \chapter{last explaining} % this is (now) chapter 12
>
> When chapters are added, moved or removed. The chapter numbers in the above
> sentence have to be changed manually. As a real programmer I am lazy and
> want the computer do it for me. :-D
This is a 32 years old TeX feature -- i.e. it doesn't hurt to know
TeX, as I've already said.
See pontus's answer.

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2011-07-06  9:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06  8:48 Cecil Westerhof
2011-07-06  8:51 ` luigi scarso
2011-07-06  9:01   ` Cecil Westerhof
2011-07-06  9:04     ` Pontus Lurcock
2011-07-06  9:19       ` Cecil Westerhof
2011-07-06  9:08     ` luigi scarso [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=CAG5iGsCPTQ3cOVRxhyb5NfHXyT_pxm2kvXGpiQCu45E95SQgiQ@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).