[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
On Aug 12, 2023, 4:20 PM -0600, Hans Hagen , wrote: > btw, no need for squeezine as there are virtual commands for scaling; not for > rotating From your original CLD template: local function topthing(characters,target,base,accent) --if not characters[target] then local data1 =

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
More precise \rlaps for the previous MWE: \hbox{\rlap{\ruledhbox {\transparentgreen\tfx c\symbol{glottalhamzah}c}}% \hskip-.075em \ruledhbox {\transparentred c\symbol{glottalhamzah}c}} \hbox{\rlap{\ruledhbox {\transparentgreen\tfx c\symbol{glottalayn}c}}% \hskip-.075em

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
On Aug 12, 2023, 3:49 PM -0600, Hans Hagen , wrote: > you'll figure it out, right? I hope so and I'm working on it -- with your help -) > the demo shows both: x/.y scaling and 90/180/270 rotation Yes, here is what I have so far: == % % Hans' original template % \startsetups

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hans Hagen
On 8/12/2023 11:33 PM, Hamid,Idris wrote: On Aug 12, 2023, 2:11 PM -0600, Hans Hagen via ntg-context , wrote: impossible to reply as impossible to see what is your and mine text here Hm.. This new/modern email client (forced to update by the university) supports inline replies, and I can

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
On Aug 12, 2023, 2:11 PM -0600, Hans Hagen via ntg-context , wrote: > impossible to reply as impossible to see what is your and mine text here Hm.. This new/modern email client (forced to update by the university) supports inline replies, and I can see the levels, but the distinctions between

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hans Hagen via ntg-context
On 8/12/2023 8:05 PM, Hamid,Idris wrote: On Aug 12, 2023, 9:35 AM -0600, Hans Hagen , wrote: ** Caution: EXTERNAL Sender ** On 8/12/2023 4:03 PM, Hamid,Idris wrote: \tfx causes a switch to computer modern. Indeed. Something I need to discuss with Wolfgang as double checking is needed before

[NTG-context] Re: Pass string into text background graphic

2023-08-12 Thread Hans Hagen via ntg-context
On 8/12/2023 7:19 PM, Thangalin wrote: Thanks Hans. The \newinteger approach would always increment the value, regardless of conditionals within the MetaPost code (i.e., it was like legend := "\ConcurrentTextGet" would always invoke the macro just be referencing the MPgraphic and nothing would

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
On Aug 12, 2023, 9:35 AM -0600, Hans Hagen , wrote: ** Caution: EXTERNAL Sender ** On 8/12/2023 4:03 PM, Hamid,Idris wrote: \tfx causes a switch to computer modern. Indeed. Something I need to discuss with Wolfgang as double checking is needed before I patch. Ah.. ok. But what if we want to

[NTG-context] Re: Pass string into text background graphic

2023-08-12 Thread Thangalin
Thanks Hans. The \newinteger approach would always increment the value, regardless of conditionals within the MetaPost code (i.e., it was like legend := "\ConcurrentTextGet" would always invoke the macro just be referencing the MPgraphic and nothing would prevent its execution). This meant that

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hans Hagen
On 8/12/2023 4:03 PM, Hamid,Idris wrote: \tfx causes a switch to computer modern. Indeed. Something I need to discuss with Wolfgang as double checking is needed before I patch. But what if we want to scale independently of font switching? There is no need to go lua here (esp when you have

[NTG-context] Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
Dear gang, I. In Context, as is well known, scaling a character is not independent of switching the font: === \startTEXpage[offset=1em] \definefont[Times][times @ 14pt] \Times Test \tfx Test \setupinterlinespace \Times Test \switchtobodyfont[x]Test \Times Test \high{Test} \stopTEXpage

[NTG-context] Re: Why overbar is so big

2023-08-12 Thread Hans Hagen via ntg-context
On 8/12/2023 10:10 AM, Xavier B. wrote: The font is the default: \setupbodyfont [modern, 12pt] % modern o cmr, 11pt I use Linux (arch derivative). if you want nicer math switch over to lmtx as mkiv is sort of frozen and efforts wrt math go into lmtx Hans

[NTG-context] Re: Why overbar is so big

2023-08-12 Thread Hans Hagen via ntg-context
On 8/12/2023 11:46 AM, Wolfgang Schuster wrote: Hans Hagen via ntg-context schrieb am 12.08.2023 um 11:13: On 8/12/2023 10:10 AM, Xavier B. wrote: The font is the default: \setupbodyfont [modern, 12pt] % modern o cmr, 11pt I use Linux (arch derivative). Looks ok here (see atached). Does the

[NTG-context] Re: Why overbar is so big

2023-08-12 Thread Wolfgang Schuster
Hans Hagen via ntg-context schrieb am 12.08.2023 um 11:13: On 8/12/2023 10:10 AM, Xavier B. wrote: The font is the default: \setupbodyfont [modern, 12pt] % modern o cmr, 11pt I use Linux (arch derivative). Looks ok here (see atached). Does the modern-math.lfg file have:    

[NTG-context] Re: Why overbar is so big

2023-08-12 Thread Hans Hagen via ntg-context
On 8/12/2023 10:10 AM, Xavier B. wrote: The font is the default: \setupbodyfont [modern, 12pt] % modern o cmr, 11pt I use Linux (arch derivative). Looks ok here (see atached). Does the modern-math.lfg file have: AccentTopShiftUp = -60,

[NTG-context] Re: Why overbar is so big

2023-08-12 Thread Xavier B.
The font is the default: \setupbodyfont [modern, 12pt] % modern o cmr, 11pt I use Linux (arch derivative). Xavier On Fri, 11 Aug 2023 21:38:00 +0200 "Xavier B." ha escrit: > If you run > > \starttext > > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod > tempor