23 Mar
2015
23 Mar
'15
4:54 p.m.
On 03/23/2015 01:01 PM, Hans Hagen wrote:
On 3/22/2015 1:39 PM, Pablo Rodriguez wrote:
[...] Standard lists are defined in XML code with ul/li/p and packed lists remove the final /p from the path.
How can I associate the each XML list to its right ConTeXt code?
\startxmlsetups xml:ul \xmldoifelse{#1}{/li/p}{ \startitemize \xmlflush{#1} \stopitemize } { \startitemize[packed] \xmlflush{#1} \stopitemize } \stopxmlsetups
Many thanks for your reply, Hans. This code will help me to fix ordered lists too. Many thanks for your help, Pablo -- http://www.ousia.tk