From: Thangalin <thangalin@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Pass string into text background graphic
Date: Sun, 13 Aug 2023 12:33:22 -0700 [thread overview]
Message-ID: <CAANrE7o7yf-3JCEQDCnWrdgd9vLDyZVwuZZoRDVr-_JT6aJiaw@mail.gmail.com> (raw)
In-Reply-To: <b3d9ac7f-3f84-663e-9903-bc92ce220099@freedom.nl>
[-- Attachment #1.1: Type: text/plain, Size: 583 bytes --]
Hi again,
you could remove the \localcontrolled around the advance
>
I thought I tried that, but the counter incremented to 6, instead of 4.
Using higher-level primitives seems more like the ConTeXt way.
> why twice ? you only have to typeset the text once, right?
> >
> {text:\number\numexpr1+\rawcountervalue[ConcurrentTextGetCounter]/2\relax}}
>
I don't know why the counter is incremented twice for each concurrent
environment; the document is typeset once, in three passes. Dividing by two
solves the issue, if there's a deeper issue, I'm at a loss to explain it.
Greets!
[-- Attachment #1.2: Type: text/html, Size: 1106 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2023-08-13 19:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 19:57 [NTG-context] " Thangalin
2023-08-11 21:53 ` [NTG-context] " Hans Hagen
2023-08-12 17:19 ` Thangalin
2023-08-12 20:04 ` Hans Hagen via ntg-context
2023-08-13 19:33 ` Thangalin [this message]
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=CAANrE7o7yf-3JCEQDCnWrdgd9vLDyZVwuZZoRDVr-_JT6aJiaw@mail.gmail.com \
--to=thangalin@gmail.com \
--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).