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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to