[NTG-context] Should command `\setnumber' print number in text?
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Sun Apr 29 09:16:38 CEST 2012
Am 29.04.2012 um 08:13 schrieb Vladimir Lomov:
> Hello,
> I faced with following behavior of `\setnumber' command, consider the
> example:
>
> <example file="ex1.tex">
> \setupbodyfont[computer-modern-unicode,12pt]
>
> \definenumber[course]
> \setnumber[course]{3}
>
> \starttext
> Hello.
> \stoptext
> </example>
>
> Processing by context (ConTeXt ver: 2012.04.26 22:27 MKIV fmt:
> 2012.4.28 int: english/english) I get PDF with number 3 typeset on line
> above Hello.
>
> Is it expected behavior? If yes, how can I increase/set value for
> "number"-command (counter) then?
>
> P.S. I tried with commented `\setupbodyfont', all is ok. Is it mean that
> command is deprecated?
There was a change in the \setupnumber command for MkIV and you need now brackets for both arguments, e.g. \setupnumber[course][3].
Wolfgang
More information about the ntg-context
mailing list