aboutsummaryrefslogtreecommitdiff
path: root/default.context
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-12-30 11:41:26 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-12-30 11:41:26 -0800
commit5dcdf3738f0469143bb61ec9b89e9b34a21e2194 (patch)
treea8782645bc58c9db1cf9cd6999c6b21eabafd6b5 /default.context
parent88ec0260641e994069fa1b2c1912306c515420f8 (diff)
downloadpandoc-5dcdf3738f0469143bb61ec9b89e9b34a21e2194.tar.gz
ConTeXt: Made setuphead sensitive to `number-sections` variable.
Diffstat (limited to 'default.context')
-rw-r--r--default.context6
1 files changed, 3 insertions, 3 deletions
diff --git a/default.context b/default.context
index a9ce8e09d..f2710a8e9 100644
--- a/default.context
+++ b/default.context
@@ -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]