ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thomas A.Schmitz <thomas.schmitz@uni-bonn.de>
Subject: behavior of counter - bug or feature?
Date: Sat, 1 May 2004 21:46:29 +0200	[thread overview]
Message-ID: <3D80FFB0-9BA8-11D8-A94F-000A95B9ADE2@uni-bonn.de> (raw)
In-Reply-To: <20040419220851.GA2852@puritan.pcp.ath.cx>

Hi all,

though I'm not 100 \% certain, I think this behavior came up in the 
latest release of ConTeXt. For my manuscripts for talks, I have defined 
a nice little counter like this

\newcounter\slidecounter

\define\sln{\increment\slidecounter \color[red]{[\slidecounter]} }

which allows me to just type \sln when I want to mark a spot where I 
want to show a new slide, and it will give the number in red, between 
brackets. OK, this has been working for quite a while, but recently, I 
have observed a strange behavior: if I use the command within an 
itemize-group, it will count normally, but after the \stopitemize, the 
counter will be reset to the value before the itemization. I can't 
swear to it, but I'm reasonably certain that this wasn't the case 
before. Is it possible that something was broken, Hans?

Best wishes (especially to our new fellow-citizens)

Thomas

  reply	other threads:[~2004-05-01 19:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-20  3:50 Internal documentation of Context modules John Culleton
2004-04-19 22:08 ` Nikolai Weibull
2004-05-01 19:46   ` Thomas A.Schmitz [this message]
2004-05-04 15:56     ` behavior of counter - bug or feature? Hans Hagen
2004-05-06  8:30       ` Thomas A.Schmitz
2004-04-20  8:52 ` Internal documentation of Context modules Tobias Burnus

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=3D80FFB0-9BA8-11D8-A94F-000A95B9ADE2@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).