[NTG-context] ConTeXt beginners workshop

2024-10-09 Thread Henning Hraban Ramm
Hi, a bit short notice, but there’ll be a ConTeXt beginners workshop at “Chily Con Chaos” near Wetzlar (Germany, Hesse) this saturday. https://chilyconchaos.de/ (No fee, no online access.) Hraban ___ If your questio

[NTG-context] Re: equation to right margin

2024-10-09 Thread Mikael Sundqvist
Hi, A. Bowen: The cases are meant for when you divide something into cases, as in the example below with the absolute value. It is a kind of inline part of a formula, and I would claim that when you number an equation, you do not number one case of a cases, but the equation. If you refer to it, yo

[NTG-context] Re: equation to right margin

2024-10-09 Thread Alan Braslau via ntg-context
It is common, when writing a system of equations, to put a brace on the left. It could make sense to number this system of equations with a single number, on the right and aligned with the right margin. It would also make sense for this number to be aligned with the middle of the two equations of t

[NTG-context] Re: widows and orphans in \definestartstop?

2024-10-09 Thread Wolfgang Schuster
Florian Grammel schrieb am 09.10.2024 um 13:48: I have defined a simple environment for verse within prose-context. Obviously I never want the first or last lines of the verses to stand as widows or orphans. I could just add \nobreak to every first and last line of verse to achieve this. But I

[NTG-context] Re: Lua <-> TeXShop

2024-10-09 Thread Hans Hagen
On 10/9/2024 5:29 PM, Thomas Meyer wrote: Hello Hans and Otared, thank you for your answers. Context can run Lua. The output then ends up somewhere in the console output between the other specifications. LuaLaTeX can execute Lua. The output is then the only one in the console. Console output w

[NTG-context] Re: Downsampling images (again)

2024-10-09 Thread Henning Hraban Ramm
Am 22.09.24 um 09:06 schrieb Peter Münster: On Sat, Sep 21 2024, Henning Hraban Ramm wrote: How can a converter function access … – the final (scaled) size of a placed image Hi, I use "figures.current().request" in my module (here attached). – the original pixel size of an image ? I use

[NTG-context] Re: Lua <-> TeXShop

2024-10-09 Thread Hans Hagen via ntg-context
On 10/9/2024 6:11 PM, Bruce Horrocks wrote: On 9 Oct 2024, at 16:29, Thomas Meyer wrote: Hello Hans and Otared, thank you for your answers. Context can run Lua. The output then ends up somewhere in the console output between the other specifications. LuaLaTeX can execute Lua. The output is

[NTG-context] Re: equation to right margin

2024-10-09 Thread Alan Bowen
I understand. The reasoning makes sense to me and, as editor of a paper in which this appears, I will ask the author to consider dropping the brace. I wonder of there is some similar thinking underlying the fact that \startcases... puts the equation number so close to the equation itself and not a

[NTG-context] Re: Lua <-> TeXShop

2024-10-09 Thread Bruce Horrocks
> On 9 Oct 2024, at 16:29, Thomas Meyer wrote: > > Hello Hans and Otared, > > thank you for your answers. > Context can run Lua. The output then ends up somewhere in the console output > between the other specifications. > LuaLaTeX can execute Lua. The output is then the only one in the conso

[NTG-context] Re: equation to right margin

2024-10-09 Thread Mikael Sundqvist
Hi, I think what you ask for was never supported in ConTeXt, for a reason. The idea is that either one groups a set of equations with a brace and numbers them with one number, or one does not group, and then one can number each line separately/independently. Grouping on the left with a brace and n

[NTG-context] Re: Lua <-> TeXShop

2024-10-09 Thread Thomas Meyer
Hello Hans and Otared, thank you for your answers. Context can run Lua. The output then ends up somewhere in the console output between the other specifications. LuaLaTeX can execute Lua. The output is then the only one in the console. Console output was not what I wanted. However, I was naive

[NTG-context] Re: equation to right margin

2024-10-09 Thread Alan Bowen
Thank you, Mikael. That is very helpful and much appreciated. What I now have is: \startplaceformula \startformula \startalign \NC \[21-(9 - n^2)\NC =□^\prime\] \NR[eq:1] \NC n^2+12 \NC=□^\prime. \NR[eq:2] \stopalign \stopformula \stopplaceformula which put the n

[NTG-context] Re: widows and orphans in \definestartstop?

2024-10-09 Thread Hans Hagen via ntg-context
On 10/9/2024 1:48 PM, Florian Grammel wrote: I have defined a simple environment for verse within prose-context. Obviously I never want the first or last lines of the verses to stand as widows or orphans. I could just add \nobreak to every first and last line of verse to achieve this. But I wa

[NTG-context] Re: fixing kerning and substitutions

2024-10-09 Thread Hans Hagen via ntg-context
On 10/9/2024 12:22 PM, Florian Grammel wrote: I am trying to reuse code of a project from 2017 with TL23 context. (Other questions probably coming up...) Back then I used font handlers to fix some smaller problems in the font, i.e. a wrongly placed small capital and missing kerning for the sma

[NTG-context] Re: equation to right margin

2024-10-09 Thread Mikael Sundqvist
Hi, On Mon, Oct 7, 2024 at 11:45 PM Alan Bowen wrote: > > I have the following which works, except for the fact that the equation > number does not go to the right margin. > > \startplaceformula > \startformula[align=middle, prefix=no] > \startcases[distance=2pt] > \NC \[21-(9 - n^2)\NC =□^\prim

[NTG-context] widows and orphans in \definestartstop?

2024-10-09 Thread Florian Grammel
I have defined a simple environment for verse within prose-context. Obviously I never want the first or last lines of the verses to stand as widows or orphans. I could just add \nobreak to every first and last line of verse to achieve this. But I was wondering whether I could change anything of

[NTG-context] fixing kerning and substitutions

2024-10-09 Thread Florian Grammel
I am trying to reuse code of a project from 2017 with TL23 context. (Other questions probably coming up...) Back then I used font handlers to fix some smaller problems in the font, i.e. a wrongly placed small capital and missing kerning for the small caps. The following code works with context

[NTG-context] Re: regular online meet-up

2024-10-09 Thread Henning Hraban Ramm
Reminder: This is tonight! Am 05.10.24 um 19:29 schrieb Henning Hraban Ramm: You’re invited to our regular online meet-up, this upcoming Wednesday, October 9, 19:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all