Skip to content

Commit

Permalink
Merge pull request #5 from adityam/master
Browse files Browse the repository at this point in the history
Better support for unnumbered sections in ConTeXt
  • Loading branch information
jgm committed Mar 1, 2012
2 parents 4594c7e + 3c7f5f8 commit aab8c3a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions default.context
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit aab8c3a

Please sign in to comment.