ConTeXt: Made setuphead sensitive to number-sections variable.

This commit is contained in:
John MacFarlane 2011-12-30 11:41:26 -08:00
parent 88ec026064
commit 5dcdf3738f

View file

@ -16,9 +16,9 @@
\setupwhitespace[medium]
\setuphead[section] [style=\tfc]
\setuphead[subsection] [style=\tfb]
\setuphead[subsubsection][style=\bf]
\setuphead[section] [style=\tfc$if(number-sections)$$else$,number=no$endif$]
\setuphead[subsection] [style=\tfb$if(number-sections)$$else$,number=no$endif$]
\setuphead[subsubsection][style=\bf$if(number-sections)$$else$,number=no$endif$]
\definedescription
[description]