ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] options hat I don’t understand: counters
@ 2025-09-14 16:35 Henning Hraban Ramm
  0 siblings, 0 replies; only message in thread
From: Henning Hraban Ramm @ 2025-09-14 16:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Usually, you request counter values with \rawcountervalue or 
\convertedcounter (which is a bit counter-intuitive IMO ;).
Are there cases where \getcounter makes sense?


Options of \setupcounter: What is…
- criterium (strict positive all)?
- type (first previous next last number)?
- method (page)?

Looking into the source:
– I didn’t find criterium.
– I don’t understand type (AKA kind); does it just add/subtract 1?
– method=page subtracts 1 (but why?).


Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-14 16:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-14 16:35 [NTG-context] options hat I don’t understand: counters Henning Hraban Ramm

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).