diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-30 11:41:26 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-30 11:41:26 -0800 |
commit | 5dcdf3738f0469143bb61ec9b89e9b34a21e2194 (patch) | |
tree | a8782645bc58c9db1cf9cd6999c6b21eabafd6b5 /default.context | |
parent | 88ec0260641e994069fa1b2c1912306c515420f8 (diff) | |
download | pandoc-5dcdf3738f0469143bb61ec9b89e9b34a21e2194.tar.gz |
ConTeXt: Made setuphead sensitive to `number-sections` variable.
Diffstat (limited to 'default.context')
-rw-r--r-- | default.context | 6 |
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] |