aboutsummaryrefslogtreecommitdiff
path: root/src/headers/ConTeXtHeader
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-11-18 01:24:43 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-11-18 01:24:43 +0000
commitf4a1fa4b8db8299080bc65e6bebdc149480221c0 (patch)
treefb0c33fe9a666304409e32f023846ae97e872aa1 /src/headers/ConTeXtHeader
parent5fa78695bc4f2f0cd416997671eb17ccfd5e6da9 (diff)
downloadpandoc-f4a1fa4b8db8299080bc65e6bebdc149480221c0.tar.gz
More improvements to ConTeXt writer:
+ writer options are now in state, so they don't have to be passed as a parameter + state also keeps track of ordered list level, so the right default numbering scheme can be used + extra blank line after \stopitemize + removed definitions of ltxenum and ltxitem from the preamble + both kinds of lists are now generated using \start-stopitemize, with appropriate options + in the case of bulleted lists, no options need be specified, because defaults are given in the preamble + test suite updated accordingly git-svn-id: https://pandoc.googlecode.com/svn/trunk@1084 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/headers/ConTeXtHeader')
-rw-r--r--src/headers/ConTeXtHeader18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/headers/ConTeXtHeader b/src/headers/ConTeXtHeader
index a0b3a0a56..567245cd9 100644
--- a/src/headers/ConTeXtHeader
+++ b/src/headers/ConTeXtHeader
@@ -37,19 +37,11 @@
headstyle=bold,style=normal,align=left,location=hanging,
width=broad,margin=1cm]
-% define ltxitem (for bulleted lists)
-\defineitemgroup[ltxitem][levels=4]
-\setupitemgroup[ltxitem][1][1]
-\setupitemgroup[ltxitem][2][2]
-\setupitemgroup[ltxitem][3][3]
-\setupitemgroup[ltxitem][4][4,packed]
-
-% define ltxenum (for enumerated lists)
-\defineitemgroup[ltxenum][levels=4]
-\setupitemgroup[ltxenum][1][n]
-\setupitemgroup[ltxenum][2][a]
-\setupitemgroup[ltxenum][3][r]
-\setupitemgroup[ltxenum][4][A,packed]
+% define defaults for bulleted lists
+\setupitemize[1][symbol=1][indentnext=no]
+\setupitemize[2][symbol=2][indentnext=no]
+\setupitemize[3][symbol=3][indentnext=no]
+\setupitemize[4][symbol=4][indentnext=no]
\setupthinrules[width=15em] % width of horizontal rules