ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* chapter-like headings with separate numbering
@ 2008-11-25  3:08 Sanjoy Mahajan
  2008-11-26  8:14 ` luigi scarso
  2008-12-05 22:48 ` Aditya Mahajan
  0 siblings, 2 replies; 9+ messages in thread
From: Sanjoy Mahajan @ 2008-11-25  3:08 UTC (permalink / raw)
  To: ntg-context

I'm experimenting with making a heading that is like a chapter in format
but has its own numbering (or lettering).  The purpose to have an
interlude, or extended example, every few chapters.  The following
almost-minimal example almost does so.  However, the second interlude is
numbered with 'A' instead of 'B'.  Is there a missing key=value pair, or
is the approach completely wrong?

\definesection[nc]
\setupsection[nc][conversion=Characters]
\definehead[interlude][section=nc,default=chapter]
\setuphead[interlude][incrementnumber=yes]

\starttext

\title{Contents}
\placelist[chapter,interlude]

\chapter{Chap 1}

\interlude{Interlude 1}

\chapter{Chap 2}

\interlude{Interlude 2}

\stoptext
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-12-06 17:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-25  3:08 chapter-like headings with separate numbering Sanjoy Mahajan
2008-11-26  8:14 ` luigi scarso
2008-11-26 11:45   ` Sanjoy Mahajan
2008-11-26 13:43     ` Wolfgang Schuster
2008-11-29 18:39       ` Sanjoy Mahajan
2008-11-30 11:13         ` Wolfgang Schuster
2008-12-05 22:48 ` Aditya Mahajan
2008-12-06 14:10   ` Sanjoy Mahajan
2008-12-06 17:51     ` Aditya Mahajan

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