ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TOC question
@ 2009-02-16 18:22 Alan Stone
  2009-02-16 22:28 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Stone @ 2009-02-16 18:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,

How do you get the chapter number in front of the chapter heading in the
TOC,
in the following example with \setuphead[chapter][number=no] ?

\setuplist[chapter][%
 alternative=b,
 numbercommand={\headnumber[chapter]},    % this has no effect
% criterium=local]
 criterium=chapter]

\setuphead[chapter][%
% number=yes]
 number=no]

\starttext

 \placecontent[%
  level=chapter,
%  criterium=chapter,
  alternative=b]

 \dorecurse{2}{\chapter{Chapter #1}\dorecurse{20}{\input knuth\par}}

\stoptext

-- 
Best,
Alan

[-- Attachment #1.2: Type: text/html, Size: 801 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2009-02-17 13:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-16 18:22 TOC question Alan Stone
2009-02-16 22:28 ` Wolfgang Schuster
2009-02-17  8:44   ` Alan Stone
2009-02-17  9:29     ` Wolfgang Schuster
2009-02-17 13:36       ` Alan Stone

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