ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Should command `\setnumber' print number in text?
Date: Sun, 29 Apr 2012 09:16:38 +0200	[thread overview]
Message-ID: <103F7D0D-D91F-40F2-A9CE-65B00A427975@googlemail.com> (raw)
In-Reply-To: <20120429061323.GE1360@smoon>


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

___________________________________________________________________________________
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	other threads:[~2012-04-29  7:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-29  6:13 Vladimir Lomov
2012-04-29  7:16 ` Wolfgang Schuster [this message]
2012-04-29 12:23   ` Vladimir Lomov
2012-05-01 14:03     ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=103F7D0D-D91F-40F2-A9CE-65B00A427975@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).