ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] \part without adding partnumber to other headers
Date: Tue, 10 Sep 2013 11:31:09 +0200	[thread overview]
Message-ID: <20130910113109.70367fe7@iram-hb-003386.extra.cea.fr> (raw)
In-Reply-To: <4F0D6968-9676-4ED7-98D4-85551D4D7A53@gmail.com>

To all:

The (strange) default handling of part is a continual source of
confusion to users...

Alan


On Tue, 10 Sep 2013 11:21:39 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 10.09.2013 um 11:10 schrieb "H. Özoguz" <h.oezoguz@mmnetz.de>:
> 
> > I want to use \part without the number of the part as a piece of
> > the headnumbers (of chapter, section, subsection ....).
> > 
> > E.g.:
> > 
> > \part{One}
> > \chapter{Chapter}
> > \section{Section}
> > \part{Two}
> > \chapter{Chapter}
> > \section{Section}
> > 
> > gives this compile:
> > 
> > 1.1 Chapter
> > 1.1.1 Section
> > 2.1 Chapter
> > 2.1.1 Section
> > 
> > But I only want:
> > 
> > 1 Chapter
> > 1.1 Section
> > 1 Chapter
> > 1.1 Section
> > 
> > (because the number of the current part is already written in the
> > header). So actually, I want to use \part as a resetter of the
> > headnumbers. Is that possible?
> 
> \setuphead[sectionsegments=2:*]
> \setuphead[part][placehead=hidden]
> 
> \starttext
> 
> \part{One}
> \chapter{Chapter}
> \section{Section}
> \part{Two}
> \chapter{Chapter}
> \section{Section}
> 
> \stoptext
> 
> Wolfgang

___________________________________________________________________________________
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:[~2013-09-10  9:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10  9:10 "H. Özoguz"
2013-09-10  9:21 ` Wolfgang Schuster
2013-09-10  9:31   ` Alan BRASLAU [this message]
2013-09-10  9:38 "H. Özoguz"
2013-09-10  9:48 ` Wolfgang Schuster

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=20130910113109.70367fe7@iram-hb-003386.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --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).