diff options
author | Denis Maier <denis.maier@ub.unibe.ch> | 2021-05-20 18:59:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 09:59:53 -0700 |
commit | 183ce584779b344ad6a6a3e085ddfdb00faf62aa (patch) | |
tree | 7c16b49e3392a87dadc8fa29c1a7222982e3eae8 /data/templates | |
parent | a366bd6abccd18a49f0033de850ddd53830cc5ed (diff) | |
download | pandoc-183ce584779b344ad6a6a3e085ddfdb00faf62aa.tar.gz |
ConTeXt reader: improve ordered lists (#7304)
Closes #5016
- change ordered list from itemize to enumerate
- adds new itemgroup for ordered lists
- add fontfeature for table figures
- remove width from itemize in context writer
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/default.context | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/default.context b/data/templates/default.context index 64de448ca..df39130b2 100644 --- a/data/templates/default.context +++ b/data/templates/default.context @@ -51,6 +51,7 @@ $endif$ % use microtypography \definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] +\definefontfeature[default:tnum][default][tnum=yes, pnum=no] \definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes] \setupalign[hz,hanging] \setupitaliccorrection[global, always] @@ -97,6 +98,9 @@ $endif$ \setupitemize[autointro] % prevent orphan list intro \setupitemize[indentnext=no] +\defineitemgroup[enumerate] +\setupenumerate[each][fit][itemalign=left,distance=.5em,style={\feature[+][default:tnum]}] + \setupfloat[figure][default={here,nonumber}] \setupfloat[table][default={here,nonumber}] |