aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-02-29 22:28:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2012-02-29 22:28:04 -0800
commitaab8c3a9b3e5434921309261c5f2eabd0cae2ae7 (patch)
tree28828127877791f360045ea3abdb7aa64ebb313a
parent4594c7eeaee4e82237d4c52f011441143ad321d8 (diff)
parent3c7f5f8f1ee5b6bd16f5a4b9e637a4fda03fcdfc (diff)
downloadpandoc-aab8c3a9b3e5434921309261c5f2eabd0cae2ae7.tar.gz
Merge pull request #5 from adityam/master
Better support for unnumbered sections in ConTeXt
-rw-r--r--default.context11
1 files changed, 8 insertions, 3 deletions
diff --git a/default.context b/default.context
index f2710a8e9..f6887640c 100644
--- a/default.context
+++ b/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]