* Counter names
@ 2022-01-20 13:24 Joaquín Ataz López via ntg-context
2022-01-20 17:41 ` Hans Hagen via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: Joaquín Ataz López via ntg-context @ 2022-01-20 13:24 UTC (permalink / raw)
To: ntg-context; +Cc: Joaquín Ataz López
Good morning to all. I would like to ask where I can find information
about the name of the different counters that are handled in ConTeXt, in
order to manipulate them manually.
I guess the number of internal ConTeXt counters will be tremendous. But
I would like to know what the "most common" counters are called, for
example the ones that control the different structural units (chapter,
section...) or the elements of a structured list, etc.
I have tried to apply \incrementcounter or \decrementcounter to some
counters that also exist in TeX as, for example, chapter, section... but
I don't get any result.
Thanks in advance for your answers
Joaquín
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Counter names
2022-01-20 13:24 Counter names Joaquín Ataz López via ntg-context
@ 2022-01-20 17:41 ` Hans Hagen via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2022-01-20 17:41 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
On 1/20/2022 2:24 PM, Joaquín Ataz López via ntg-context wrote:
> Good morning to all. I would like to ask where I can find information
> about the name of the different counters that are handled in ConTeXt, in
> order to manipulate them manually.
>
> I guess the number of internal ConTeXt counters will be tremendous. But
> I would like to know what the "most common" counters are called, for
> example the ones that control the different structural units (chapter,
> section...) or the elements of a structured list, etc.
>
> I have tried to apply \incrementcounter or \decrementcounter to some
> counters that also exist in TeX as, for example, chapter, section... but
> I don't get any result.
most counters are 'protected' from messing them up and section related
counters are kind of grouped anyway and have their own system
other counters, like those for floats are more directly accessible
\starttext
\chapter{test}
\setupheadnumber[chapter][+5]
\placefigure{}{}
\chapter{test}
\placefigure{}{}
\setcounter[figure][4]
\placefigure{}{}
\stoptext
chemical combination endnote figure footnote formula graphic
intermezzo itemgroup:itemize itemgroup:itemize:note linenote
paragraph realpage subpage table textnote:note userpage
otherw will be defined when you create instances
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-20 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 13:24 Counter names Joaquín Ataz López via ntg-context
2022-01-20 17:41 ` Hans Hagen via ntg-context
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).