Re: [NTG-context] thousand separator space

2022-11-21 Thread Henning Hraban Ramm via ntg-context
Am 21.11.22 um 23:08 schrieb Max Chernoff via ntg-context: The TeXbook recommends that you wrap the comma in curly braces $x = 1{,}000$ but there's probably a ConTeXt \setupxxx command that would have the same effect. Use \digits: https://wiki.contextgarden.net/Command/digits

Re: [NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Max Chernoff via ntg-context
Hi Hans, > what you observe is likely a side effect of an increase in accuracy > which gives a bit less drift in the pdf; expansion is turned off (it > would increase runtime if turned on) It's not just in the PDF though, I can also see the change from Lua. Using this document:

Re: [NTG-context] thousand separator space

2022-11-21 Thread Max Chernoff via ntg-context
Hi Jan, > Why is there an additional space after the thousand separator in math mode? Because something like ${\mathbb N} = \{1,2,3,4,\dots\}$ would look quite bad without any space between the numbers. (The technical reason is that commas have the math class \mathpunct, meaning that

Re: [NTG-context] Horizontal spacing

2022-11-21 Thread Max Chernoff via ntg-context
Hi Steffen, > But how can I adjust in general the horizontal distance between glyphs > (I don't mean \kern, I am looking for a general setup)? You probably want \definecharacterkerning. See https://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf#page=171 for details on how to use it. --

[NTG-context] thousand separator space

2022-11-21 Thread Jan Willem Flamma via ntg-context
Dear list, Two silly short questions. Why is there an additional space after the thousand separator in math mode? And what can I do to get rid of the additional space? \starttext 1,000 \blank $1,000$ \stoptext Kind regards, Jan Willem Flamma

[NTG-context] Horizontal spacing

2022-11-21 Thread Steffen Wolfrum via ntg-context
Hi, these line can modify the space between words: \installtolerancemethod {horizontal} {MySpace} {\spaceskip2.75pt plus1.60pt minus1.10pt\relax} \setupalign[line,block]\setfalse\raggedonelinerstate% kein hz=expansion mehr? \setuptolerance[MySpace] But how can I adjust in general the

[NTG-context] Margin figure in itemize

2022-11-21 Thread Alexandre Christe via ntg-context
Dear list, With the following MWE I end up with big gaps between margin figures in an itemized list. Is there a way to remove that space in the text and place the figures in the margin one below the other the best one can? \setuppagenumbering [alternative=doublesided, location=margin]

Re: [NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Hans Hagen via ntg-context
On 11/21/2022 10:20 AM, Max Chernoff via ntg-context wrote: Hi Hans, Font expansion (hz) seems to be enabled by default with the latest upload. If I compile this document locally with ConTeXt "2022.11.18 13:22": \showframe % \definefontfeature[default][default][expansion=quality]

[NTG-context] Font expansion enabled by default with the latest upload

2022-11-21 Thread Max Chernoff via ntg-context
Hi Hans, Font expansion (hz) seems to be enabled by default with the latest upload. If I compile this document locally with ConTeXt "2022.11.18 13:22": \showframe % \definefontfeature[default][default][expansion=quality] % \usetypescript[modern-base] %

Re: [NTG-context] Xml filtering in Lua

2022-11-21 Thread Thomas A. Schmitz via ntg-context
On 11/20/22 19:19, Thomas A. Schmitz via ntg-context wrote: I load data from an external xml file (not the one I'm processing) and store some of it in a lua table. local examples = lxml.load ("my_examples", "examples.xml") Replying to myself, and sorry for the noise (this was fairly easy,