On Thu, 2 Jun 2011, Wolfgang Schuster wrote:


Am 02.06.2011 um 02:28 schrieb Aditya Mahajan:

Hi,

I do not want chapter number to be prefixed in section and subsection numbers. 
Thus,

\starttext
\chapter{One}
\section{Two}
\subsection{Three}
\stoptext

should give:

1 One
1 Two
1.1 Three

How to achieve that? I tried

\setuphead[section][prefixset=none]

but to no affect.

\setuphead[section]   [sectionsegments=section]
\setuphead[subsection][sectionsegments=section:subsection]

Thanks.

Prefixes are used from commands which show the section numbers
in front of their own number, e.g. floats or enumerations.

Ah, that is why strc-sec did not use any prefixset.

Aditya
___________________________________________________________________________________
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 via email to