formatting section and figure numbers
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? Hans van der Meer
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
participants (2)
-
Meer, Hans van der
-
Pablo Rodriguez