Dear list, this \setuppagenumbering[conversion=romannumerals,left={--~},right={~--}] % taken from contextref.pdf does nothing in ConTeXt ver: 2011.09.12 22:49 MKIV, except adding the '–' left and right. The number is still Arabic. However this \convertnumber{r}{4} works as expected. Is this fixed in a later beta? Best regards Christian
Am 09.11.2011 um 22:35 schrieb Christian:
Dear list,
this \setuppagenumbering[conversion=romannumerals,left={--~},right={~--}] % taken from contextref.pdf does nothing in ConTeXt ver: 2011.09.12 22:49 MKIV, except adding the '–' left and right. The number is still Arabic.
However this \convertnumber{r}{4} works as expected.
Is this fixed in a later beta?
There is nothing to fix, the while numbering mechanism has changed in MkIV and you have to write now \setupuserpagenumber[numberconversion=romannumerals] or better (because you can set different conversion for the frontpart, main part etc) \definestructureconversionset[pagenumber][][romannumerals] \setupuserpagenumber[numberconversionset=pagenumber] Wolfgang
Dear list,
this \setuppagenumbering[conversion=romannumerals,left={--~},right={~--}] % taken from contextref.pdf does nothing in ConTeXt ver: 2011.09.12 22:49 MKIV, except adding the '–' left and right. The number is still Arabic.
However this \convertnumber{r}{4} works as expected.
Is this fixed in a later beta?
There is nothing to fix, the while numbering mechanism has changed in MkIV and you have to write now
I see. I got this example from the Context reference manual dated June 1st, 2011 on page 87. I thought it would be up to date and didn't see any hints for the mkii<->mkiv problem.
\setupuserpagenumber[numberconversion=romannumerals]
or better (because you can set different conversion for the frontpart, main part etc)
\definestructureconversionset[pagenumber][][romannumerals]
\setupuserpagenumber[numberconversionset=pagenumber]
Thank you, that is exactly what I was looking for (different numberconversions for front- and bodypart). My first guess was that the "frontpart" goes in the second set of brackets (the empty ones). But no, its in the first with frontpart:pagenumber. Very confusing sometimes :S Thank you for your help!
participants (2)
-
Christian
-
Wolfgang Schuster