Permalink
Browse files

Merge pull request #5 from adityam/master

Better support for unnumbered sections in ConTeXt
  • Loading branch information...
2 parents 4594c7e + 3c7f5f8 commit aab8c3a9b3e5434921309261c5f2eabd0cae2ae7 @jgm jgm committed Mar 1, 2012
Showing with 8 additions and 3 deletions.
  1. +8 −3 default.context
View
@@ -16,9 +16,14 @@
\setupwhitespace[medium]
-\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$]
+\setuphead[chapter] [style=\tfd]
+\setuphead[section] [style=\tfc]
+\setuphead[subsection] [style=\tfb]
+\setuphead[subsubsection][style=\bf]
+
+$if(number-sections)$$else$
+\setuphead[chapter, section, subsection, subsubsection][number=no]
+$endif$
\definedescription
[description]

0 comments on commit aab8c3a

Please sign in to comment.