[NTG-context] atan2 function

2022-10-12 Thread Thangalin via ntg-context
Hi there, How is atan2 called? I rolled my own as follows: % SOT \startuseMPgraphic{HexGridBaseGraphic} vardef atantwo( expr ax, ay, bx, by ) = save theta; numeric dx; numeric dy; numeric theta; dx := bx - ax; dy := by - ay; theta := 0; if (dx > 0):

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Wolfgang Schuster via ntg-context
Alan Braslau schrieb am 13.10.2022 um 00:43: On 12/10/22 12/10/22, 14:25, Wolfgang Schuster via ntg-context wrote: Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks.

Re: [NTG-context] Spacing in \unit - degrees

2022-10-12 Thread Gavin via ntg-context
Hi Alan > On Oct 12, 2022, at 5:55 PM, Alan Braslau via ntg-context > wrote: > > \unit{135℃} adds a space after the digits 135. > I do not believe that this is correct > (for ℃ is *not* a "real" unit, unlike \unit{408.15 K} which *is* a real > unit). According to “Scientific Style and Format:

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Gavin via ntg-context
Hi Max and Rik > On Oct 12, 2022, at 4:49 PM, Max Chernoff wrote: > > This new output looks *much* better than the old one, thanks! Thank you! > My only comment is that the spacing around the multiplication sign looks > a little too tight to me. The original spacing was probably too large, >

Re: [NTG-context] Spacing in \unit - degrees

2022-10-12 Thread Alan Braslau via ntg-context
Further \unit question(s): \unit{135℃} adds a space after the digits 135. I do not believe that this is correct (for ℃ is *not* a "real" unit, unlike \unit{408.15 K} which *is* a real unit). Also, \unit{135°C} drops the "C". Is this a parsing bug? Related, \unit{90°} does not seem to introduce

Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-12 Thread Max Chernoff via ntg-context
On Wed, 2022-10-12 at 13:14 +0200, Leah Neukirchen wrote: > > Seeing that you're modifying the font encoding, could you perhaps > > reconsider supporting hinting in LMTX?  > > > >https://mailman.ntg.nl/pipermail/ntg-context/2022/106311.html > > > > Even with a high resolution screen, I can

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Max Chernoff via ntg-context
Hi Gavin, On Wed, 2022-10-12 at 15:54 -0600, Gavin wrote: > Hi Max, Alan, Bruce, Hans, et.al > > I solved my four issues with \unit spacing. In the process, I > prevented unwanted line breaks and removed an overzealous backspace > before division symbols. Below is a MWE that shows all of these >

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Alan Braslau via ntg-context
On 12/10/22 12/10/22, 14:25, Wolfgang Schuster via ntg-context wrote: Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks. \setupexternalfigure [location=default]

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Rik Kabel via ntg-context
On 2022-10-12 17:54, Gavin via ntg-context wrote: Hi Max, Alan, Bruce, Hans, et.al I solved my four issues with \unit spacing. In the process, I prevented unwanted line breaks and removed an overzealous backspace before division symbols. Below is a MWE that shows all of these issues, as well

Re: [NTG-context] Spacing in \unit - SOLVED

2022-10-12 Thread Gavin via ntg-context
Hi Max, Alan, Bruce, Hans, et.al I solved my four issues with \unit spacing. In the process, I prevented unwanted line breaks and removed an overzealous backspace before division symbols. Below is a MWE that shows all of these issues, as well as pictures of the result with the unmodified

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks. \setupexternalfigure [location=default] \setupdelimitedtext   [quotation]   [

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Rik Kabel via ntg-context
On 2022-10-11 15:06, Leah Neukirchen via ntg-context wrote: Henning Hraban Ramm via ntg-context writes: Am 11.10.22 um 20:00 schrieb Leah Neukirchen via ntg-context: Hello, I noticed the following problem: \showframe \startluacode fonts.protrusions.vectors.pure[0x201C] = { 1, 1 }

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Mittwoch, 12. Oktober 2022 21:12 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] \quotation, protrusion and linebreaking > > On 10/12/2022 8:49 PM,

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Hans Hagen via ntg-context
On 10/12/2022 8:49 PM, Denis Maier via ntg-context wrote: -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Henning Hraban Ramm via ntg-context Gesendet: Mittwoch, 12. Oktober 2022 10:15 An: ntg-context@ntg.nl Cc: Henning Hraban Ramm Betreff: Re: [NTG-context] \quotation,

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning > Hraban Ramm via ntg-context > Gesendet: Mittwoch, 12. Oktober 2022 10:15 > An: ntg-context@ntg.nl > Cc: Henning Hraban Ramm > Betreff: Re: [NTG-context] \quotation, protrusion and linebreaking > > Am 11.10.22 um

[NTG-context] Dimension atom in math? (was: Spacing in \unit)

2022-10-12 Thread Gavin via ntg-context
Hi List, I am trying to improve the spacing produced by the \unit command. I have solved three of my four issues by modifying phys-dim.mkxl, but the fourth issue has me stumped. Consider this example: \showmakeup[mathglue] \mathspacingmode=1 \starttext \startformula \unit{1.23e5 kg m^2/s^2}

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

2022-10-12 Thread Alain Delmotte via ntg-context
Hi, Unfortunately at that time I am not free. Have a very good meeting. All the best, Alain Le 9/10/2022 à 12:41, Henning Hraban Ramm via ntg-context a écrit : You’re invited to join on Wednesday, October 12th, 15:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but

Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-12 Thread Leah Neukirchen via ntg-context
Max Chernoff via ntg-context writes: > Hi Leah, > > >> > Leah and I are zooming in on the issue. It might relate to wrong font >> > matrix default behavior in the pdf printer driver, and GS got a fix >> > for that long ago, so maybe old printers with not-updated drivers can >> > be affected. >>

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

2022-10-12 Thread Henning Hraban Ramm via ntg-context
Reminder: That’s in less than 4 hours. Hoping to see you soon! Hraban Am 09.10.22 um 12:41 schrieb Henning Hraban Ramm via ntg-context: You’re invited to join on Wednesday, October 12th, 15:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter:

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Henning Hraban Ramm via ntg-context
Am 11.10.22 um 21:06 schrieb Leah Neukirchen: Henning Hraban Ramm via ntg-context writes: \setupdelimitedtext[quotation][method=font] That fixes both issues, thanks! Not sure where I should have learned this exists, however. ;) Oops, I answered only to Leah: I agree. Someone (Hans or