[NTG-context] How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Ralph
Hello, I’m relatively new to ConTeXt (version 2024.05.31, LMTX, standalone) and really enjoy learning it so far, but I have one little problem with the appearance of horizontal bars in math mode. It seems the way ConTeXt displayed horizontal extensible bars in math mode some time ago (as us

[NTG-context] Prefix the text in an enumeration.

2024-06-13 Thread Gerion Entrup
Hi, is there a way to automatically prefix the text body in an enumeration? Consider this example: ``` \defineenumeration[question][ alternative=top, text=Question, title=yes, titleleft=, titleright=, right={:}, headstyle=bold, ] \starttext

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-13 Thread Wolfgang Schuster
Gerion Entrup schrieb am 13.06.2024 um 13:41: Hi, is there a way to automatically prefix the text body in an enumeration? Consider this example: ``` \defineenumeration[question][ alternative=top, text=Question, title=yes, titleleft=, titleright=,

[NTG-context] Re: get measures as dimension in Lua

2024-06-13 Thread Henning Hraban Ramm
Am 10.06.24 um 10:58 schrieb Henning Hraban Ramm: local namespace = tokens.getters.macro("??measure") function tex.getmeasure(name,asdimen) local value = tex.getdimensionvalue(namespace..name) if asdimen then return value .. "sp" else   

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Otared Kavian
Hi Ralph,I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get.Best regards: Otared fraction-bar-pixels.pdf Description: Adobe PDF document On 13 Jun 2024, at 13:10, Ralph wrote: Hello,

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Bruce Horrocks
> On 13 Jun 2024, at 21:04, Otared Kavian wrote: > > Hi Ralph, > > I don’t see any pixels in the PDF file when I typeset your code snipet (on > MacOS 11.7.10). Here is what I get. > > Best regards: Otared > > I see it on both - the original and Otared's. Otared: If open yours (on MacOS 1

[NTG-context] Re: get measures as dimension in Lua

2024-06-13 Thread Hans Hagen via ntg-context
On 6/13/2024 7:24 PM, Henning Hraban Ramm wrote: Am 10.06.24 um 10:58 schrieb Henning Hraban Ramm: local namespace = tokens.getters.macro("??measure") function tex.getmeasure(name,asdimen) local value = tex.getdimensionvalue(namespace..name) if asdimen then

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Hans Hagen via ntg-context
On 6/13/2024 10:04 PM, Otared Kavian wrote: Hi Ralph, I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get. No problems on windows on chrome-os either. Mikael S and I checked it on his linux box and one can indeed see anti aliasing when