Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from adityam/master

Better support for unnumbered sections in ConTeXt
  • Loading branch information...
commit aab8c3a9b3e5434921309261c5f2eabd0cae2ae7 2 parents 4594c7e + 3c7f5f8
@jgm jgm authored
Showing with 8 additions and 3 deletions.
  1. +8 −3 default.context
View
11 default.context
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.