[NTG-context] Disproportion in initializing user counters

Jaroslav Hajtmar hajtmar at gyza.cz
Sun Jul 15 12:33:08 CEST 2018

Hello ConTeXist.
I encountered a disproportion in initializing user counters. Why initialization at the beginning of the source text does not work and what is the mechanism of how the user counters work.

Thanx Jaroslav Hajtmar

Here is a sample example:



    \startxcell \getmycounter\stopxcell
    \startxcell Content of column\stopxcell


%\setcounter[mycounter][0] % initializing at this point not working (the counter is 10 more than it should be). WHY?

        \startxcell Column 1\stopxcell
        \startxcell Column 2\stopxcell

\setcounter[mycounter][0] % initializing at this point works fine


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180715/0cf6668b/attachment.html>

More information about the ntg-context mailing list