From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101231 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Newsgroups: gmane.comp.tex.context Subject: Re: Disproportion in initializing user counters Date: Sun, 15 Jul 2018 13:54:09 -0400 Message-ID: References: <3F5673DB-D866-4B1E-A152-DB16E85AAB46@gyza.cz> <220bb5d5-e922-dd79-a91a-68adb915c2f9@gmx.es> <5B4B8241.5070604@gmail.com> <75b1cacf-4d26-20f7-7c49-ae7f80892023@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7383590095285549065==" X-Trace: blaine.gmane.org 1531677162 10723 195.159.176.226 (15 Jul 2018 17:52:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2018 17:52:42 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 15 19:52:38 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1felCH-0002j6-TF for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jul 2018 19:52:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 12B9E434F6; Sun, 15 Jul 2018 19:54:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nHSjRRHEOU2l; Sun, 15 Jul 2018 19:54:25 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id B5947434E8; Sun, 15 Jul 2018 19:54:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0103C434E8 for ; Sun, 15 Jul 2018 19:54:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n8azdblejFPZ for ; Sun, 15 Jul 2018 19:54:23 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 31A6D434E7 for ; Sun, 15 Jul 2018 19:54:13 +0200 (CEST) Original-Received: from [192.168.201.199] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id 209D424D4D for ; Sun, 15 Jul 2018 13:54:11 -0400 (EDT) In-Reply-To: <75b1cacf-4d26-20f7-7c49-ae7f80892023@gmx.es> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:101231 Archived-At: This is a multi-part message in MIME format. --===============7383590095285549065== Content-Type: multipart/alternative; boundary="------------1069C76FE36035D85D02B34B" Content-Language: en-US This is a multi-part message in MIME format. --------------1069C76FE36035D85D02B34B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 7/15/2018 13:34, Pablo Rodriguez wrote: > On 07/15/2018 07:20 PM, Wolfgang Schuster wrote: > >> Hi Pablo, >> >> when you use the label mechanism to create a counter context ensures to >> print the right counter value in the table. > > Hi Wolfgang, > > would it be possible to provide me with a minimal sample? > > I don‘t use labels and I don’t know how to use them with counters in > xtables. > > Many thanks for your help, > > Pablo Easier than counters: \definelabel [QQ][text=,headcolor=red] \starttext \startxtable \startxrow \startxcell one \stopxcell \startxcell two \QQ[there] \stopxcell \stopxrow \startxrow \startxcell alpha \QQ\stopxcell \startxcell beta \QQ[here] \stopxcell \stopxrow \stopxtable See entry \in[here]. \stoptext -- Rik --------------1069C76FE36035D85D02B34B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 7/15/2018 13:34, Pablo Rodriguez wrote:
On 07/15/2018 07:20 PM, Wolfgang Schuster wrote:
Hi Pablo,

when you use the label mechanism to create a counter context ensures to
print the right counter value in the table.
Hi Wolfgang,

would it be possible to provide me with a minimal sample?

I don‘t use labels and I don’t know how to use them with counters in
xtables.

Many thanks for your help,

Pablo

Easier than counters:

\definelabel [QQ][text=,headcolor=red]
\starttext
\startxtable
  \startxrow
    \startxcell one \stopxcell
    \startxcell two \QQ[there] \stopxcell
  \stopxrow
  \startxrow
    \startxcell alpha \QQ\stopxcell
    \startxcell beta \QQ[here]  \stopxcell
  \stopxrow
\stopxtable

See entry \in[here].

\stoptext
--

Rik

--------------1069C76FE36035D85D02B34B-- --===============7383590095285549065== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============7383590095285549065==--