On 09/25/2015 04:15 PM, Meer, Hans van der wrote:
> I do number my chapters with roman numerals with:
>   \setuphead[chapter][conversion=Romannumerals]
> I would expect then that sections are numbered roman.arabic for example IX.1
> This is not the case. While the chapter is numbered IX the sections are
> numbered 9.1 instead of IX.1.
> The numbering of floats with \placefigure luckily does the caption
> numbering right, i.e. there I see IX.1 as its number.
> 
> Using
>   \setuphead[section][conversion=Romannumerals]
> fails because then IX.I is produced, clearly not what is desired
> although the caption numbering is not influenced.
> 
> Using
>   \setuphead[section][number=no]
> does not help either, because then the captions loose their chapter number.
> 
> What to do?

Hi Hans,

I think this is what you need:

    \definestructureconversionset[sectionnumbers][0,R][n]
    \setupheads[sectionconversionset=sectionnumbers]
    \starttext
    \dorecurse{5}{\chapter{Chapter}\section{Section}}
    \stoptext

I hope it helps,


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