ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Julian Becker <becker.julian@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Continuous chapter numbering without prefixes in documents with parts
Date: Thu, 7 Jul 2011 10:12:37 +0200	[thread overview]
Message-ID: <CAKDdiw7UCEkd5=wawB8vgJfRA-ceSLCS6SipwSqWvnH3oUAgLA@mail.gmail.com> (raw)
In-Reply-To: <web-7540908@be2.uni-bonn.de>


[-- Attachment #1.1: Type: text/plain, Size: 2395 bytes --]

Thanks again, Thomas.

2011/7/1 Thomas Schmitz <tschmit1@uni-bonn.de>

> On Fri, 1 Jul 2011 15:33:07 +0200
>
>  Julian Becker <becker.julian@gmail.com> wrote:
>
>> Thank you Thomas, and sorry for not having performed a proper search
>> priorly.
>> Still, the thread you refered me to only provides half of what I need (if
>> I
>> didn't miss anything):
>>
>> I added the line:
>> \setuphead[chapter][chaptersegments=chapter]
>> which indeed got rid of the chapter number prefix.
>> Still,  the chapter numbering gets reset in each new part. How can I avoid
>> that?
>>
>>  Excuse me for sounding a bit grumpy, but please make
> complete minimal examples.


I'll try to keep that in mind, next time.

Julian



> Which means they should be
> compilable, see
> http://www.minimalbeispiel.de/mini-en.html. Here is one
> such example which does what you want (and this solution could also be
> found in the list archive):
>
> \definestructureresetset[default][0,0][1]
>
> \setuphead[part][sectionresetset=default]
>
> \setuphead[part][placehead=yes]
>
> \setuphead[chapter][sectionsegments=chapter,ownnumber=yes]
>
> \starttext
>
> \startpart[title=First part]
> \startchapter[title=Chapter one]
> \input tufte
> \stopchapter
> \startchapter[title=Chapter two]
> \input tufte
> \stopchapter
> \stoppart
> \startpart[title=Second part]
> \startchapter[title=Chapter three]
> \input tufte
> \stopchapter
> \startchapter[title=Chapter four]
> \input tufte
> \stopchapter
> \stoppart
> \stoptext
>
>
> Thomas
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>



-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_beck16@uni-muenster.de

"Keep thy heart with all diligence; for it is the wellspring of life."

[-- Attachment #1.2: Type: text/html, Size: 3691 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
___________________________________________________________________________________

      reply	other threads:[~2011-07-07  8:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01 13:02 Julian Becker
2011-07-01 13:16 ` Thomas Schmitz
2011-07-01 13:33   ` Julian Becker
2011-07-01 14:14     ` Thomas Schmitz
2011-07-07  8:12       ` Julian Becker [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='CAKDdiw7UCEkd5=wawB8vgJfRA-ceSLCS6SipwSqWvnH3oUAgLA@mail.gmail.com' \
    --to=becker.julian@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).