ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problems with sectionreset key for \setuphead
@ 2012-10-26 16:11 Wolfgang Schuster
  2012-10-28 12:44 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Schuster @ 2012-10-26 16:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

there are a few problems with the sectionreset  key for \setuphead. In the example below I can only create continues numbers for \section when I “default” as name for \defineresetset (Method 1) or when I apply my own set to the global setups (Method 2).  The important second method which is needed when I have multiple headings with the same level where one should continue to the while document doesn’t work.

% Method 1:
% \defineresetset[default][][0]

% Method 2:
% \defineresetset[noreset][][0]
% \setuphead[section][sectionresetset=noreset]

% Method 3:
\defineresetset[noreset][][0]
\setuphead[sectionresetset=noreset]

\starttext

\chapter{First Chapter}

\section{First Section}

\chapter{Second Chapter}

\section{Second 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] 2+ messages in thread

end of thread, other threads:[~2012-10-28 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-26 16:11 Problems with sectionreset key for \setuphead Wolfgang Schuster
2012-10-28 12:44 ` Hans Hagen

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