ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] \part without adding partnumber to other headers
@ 2013-09-10  9:10 "H. Özoguz"
  2013-09-10  9:21 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: "H. Özoguz" @ 2013-09-10  9:10 UTC (permalink / raw)
  To: ntg-context

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?

Huseyin

___________________________________________________________________________________
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] 5+ messages in thread

* Re: [***SPAM***] \part without adding partnumber to other headers
  2013-09-10  9:10 [***SPAM***] \part without adding partnumber to other headers "H. Özoguz"
@ 2013-09-10  9:21 ` Wolfgang Schuster
  2013-09-10  9:31   ` Alan BRASLAU
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-09-10  9:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [***SPAM***] \part without adding partnumber to other headers
  2013-09-10  9:21 ` Wolfgang Schuster
@ 2013-09-10  9:31   ` Alan BRASLAU
  0 siblings, 0 replies; 5+ messages in thread
From: Alan BRASLAU @ 2013-09-10  9:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [***SPAM***] \part without adding partnumber to other headers
  2013-09-10  9:38 "H. Özoguz"
@ 2013-09-10  9:48 ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2013-09-10  9:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 10.09.2013 um 11:38 schrieb "H. Özoguz" <h.oezoguz@mmnetz.de>:

>> \setuphead[sectionsegments=2:*]
>> \setuphead[part][placehead=hidden]
>> 
>> \starttext
>> 
>> \part{One}
>> \chapter{Chapter}
>> \section{Section}
>> \part{Two}
>> \chapter{Chapter}
>> \section{Section}
>> 
>> \stoptext
>> 
>> Wolfgang
> 
> That gives this compile:
> 
> 1.1 Chapter
> 1 Section
> 1 Chapter
> 1.1 Section
> 
> That is not what I intended. (btw.: I do not understand, what happens here...) The second chapter and section is ok, but what happended to the first ones?

It works when you remove the part setup or when you change the placehead setting to yes, no or empty.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [***SPAM***] \part without adding partnumber to other headers
@ 2013-09-10  9:38 "H. Özoguz"
  2013-09-10  9:48 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: "H. Özoguz" @ 2013-09-10  9:38 UTC (permalink / raw)
  To: ntg-context

> \setuphead[sectionsegments=2:*]
> \setuphead[part][placehead=hidden]
>
> \starttext
>
> \part{One}
> \chapter{Chapter}
> \section{Section}
> \part{Two}
> \chapter{Chapter}
> \section{Section}
>
> \stoptext
>
> Wolfgang

That gives this compile:

1.1 Chapter
1 Section
1 Chapter
1.1 Section

That is not what I intended. (btw.: I do not understand, what happens 
here...) The second chapter and section is ok, but what happended to the 
first ones?

Huseyin




___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2013-09-10  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-10  9:10 [***SPAM***] \part without adding partnumber to other headers "H. Özoguz"
2013-09-10  9:21 ` Wolfgang Schuster
2013-09-10  9:31   ` Alan BRASLAU
2013-09-10  9:38 "H. Özoguz"
2013-09-10  9:48 ` Wolfgang Schuster

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).