Re: [NTG-context] new hash for buffer (as file)

2022-09-25 Thread Max Chernoff via ntg-context
Hi Pablo, > But now I don’t understand is the following issue: if the saved file > contains "\r\n", why does basic Notepad the new lines? > > "\r\n" are the chars to get new lines in Windows. Or what am I missing here? I'm not too sure what you're asking here, but Notepad was somewhat-

Re: [NTG-context] new hash for buffer (as file)

2022-09-25 Thread Pablo Rodriguez via ntg-context
On 9/23/22 17:06, Pablo Rodriguez via ntg-context wrote: > On 9/23/22 06:01, Max Chernoff via ntg-context wrote: >> […] >>return utilities.sha2.hash256( >>str:gsub(string.char(0x0D), string.char(0x0A)) >>) > […] > this works perfectly fine with Linux

Re: [NTG-context] PDF viewer

2022-09-25 Thread Pablo Rodriguez via ntg-context
On 9/25/22 17:24, juh via ntg-context wrote: > Am Thu, Sep 22, 2022 at 06:47:50PM -0600 schrieb Max Chernoff via ntg-context: >> I think that pdf.js (the Firefox PDF viewer) meets most of these >> requirements. There are a few requirements that it doesn't meet, but >> it's open source and written

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Bruce Horrocks via ntg-context
> On 25 Sep 2022, at 14:30, Gavin via ntg-context wrote: > > Hello list, > > I have a few questions about space produced by the unit command. Consider > this MWE > > \starttext > \unit{3.00e8 kg m/s} > > $\unit{3.00e8 kg m/s}$ > \stoptext > > The dot between “kg” and “m” has different

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Hans Hagen via ntg-context
On 9/25/2022 5:29 PM, Gavin via ntg-context wrote: Hi Hans, I also just noticed that the space between the number and the unit is missing when I typeset with ConTeXt ver: 2022.09.11 20:44 LMTX fmt: 2022.9.25. This space was present in with the ConTeXt version I was using earlier, from a

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
Hi Hans, I also just noticed that the space between the number and the unit is missing when I typeset with ConTeXt ver: 2022.09.11 20:44 LMTX fmt: 2022.9.25. This space was present in with the ConTeXt version I was using earlier, from a couple months ago. Thanks for putting it on the math todo

Re: [NTG-context] PDF viewer

2022-09-25 Thread juh via ntg-context
Am Thu, Sep 22, 2022 at 06:47:50PM -0600 schrieb Max Chernoff via ntg-context: > I think that pdf.js (the Firefox PDF viewer) meets most of these > requirements. There are a few requirements that it doesn't meet, but > it's open source and written in JavaScript, so we should be able to add >

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Hans Hagen via ntg-context
On 9/25/2022 3:30 PM, Gavin via ntg-context wrote: Hello list, I have a few questions about space produced by the unit command. Consider this MWE \starttext \unit{3.00e8 kg m/s} $\unit{3.00e8 kg m/s}$ \stoptext The dot between “kg” and “m” has different spacing depending on whether the

[NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
Hello list, I have a few questions about space produced by the unit command. Consider this MWE \starttext \unit{3.00e8 kg m/s} $\unit{3.00e8 kg m/s}$ \stoptext The dot between “kg” and “m” has different spacing depending on whether the \unit command is in text or math mode. I think that the

[NTG-context] Is there an "align with item on facing page" option?

2022-09-25 Thread Bruce Horrocks via ntg-context
Is there a way to align text with an item on the facing page? I'm typesetting author biographies for a book and I'm doing two per page. The author's name appears on a line of its own in \tfa size and then the bio text follows. Ideally I'd like their names aligned so that all four (on a two page

Re: [NTG-context] line numbering for \setuptyping

2022-09-25 Thread Pablo Rodriguez via ntg-context
On 9/24/22 19:56, Pablo Rodriguez via ntg-context wrote: > [...] > Which \setuplinenumbering is applied to typing fragments? > > Just in case my question isn’t clear: how can I get "step=3" in the > sample above? Hi there, I reply this question myself: "step" is a key in "\setuptyping"