[NTG-context] Re: QR Code (Henning Hraban Ramm)

2024-04-29 Thread Benjamin Buchmuller
Hi Hraban, Downgrading zint to 2.12.0 worked for me. Many thanks! In case someone is experiencing similar issues, I ran: brew remove zint curl https://raw.githubusercontent.com/Homebrew/homebrew-core/962d789d26c9d8f760affe272689f21388f7d3e2/Formula/z/zint.rb > zint.rb brew install zint.rb

[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Wolfgang Schuster
Alan Bowen schrieb am 29.04.2024 um 19:37: I used TeXShop and PopChar Pro to get the letter ר so that it is l2r. Not a great solution but it works when one is working in r2l text. (Thank heaven for Unicode.) I will have a look at Visual Studio Code. I tested a few text editors with better

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
On 4/29/24 19:32, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 18:21: >> Is \protected the same as \unexpanded? > > Yes they are the same (\protected is the primitive and \unexpanded is a > copy) but this wasn't always the case. > > Original TeX didn't

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 18:21: On 4/29/24 18:04, Wolfgang Schuster wrote: Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 17:22: [...] Which is the right way to use "interfaces.definecommand" to get a simple command as in standard TeX? I mean, no a

[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Wolfgang Schuster
Alan Bowen schrieb am 29.04.2024 um 18:27: I discovered what the problem was. Just in case someone else may also wonder how to do this, one way (not necessarily the best) is to insert: {ר}high\ where the letter in parentheses (resh) should be entered in a l2r context, not r2l. Which editor

[NTG-context] Re: Why Difference Between \placefloat and \definefloat

2024-04-29 Thread Wolfgang Schuster
urba...@ca.rr.com schrieb am 28.04.2024 um 19:54: I swear I used to understand this stuff.  I plead old age.   Why do I get two different results from the float placements here: \definefloat[mysidebar][mysidebars]

[NTG-context] Re: ConteXt commands in an rtl environment

2024-04-29 Thread Alan Bowen
I discovered what the problem was. Just in case someone else may also wonder how to do this, one way (not necessarily the best) is to insert: {ר}high\ where the letter in parentheses (resh) should be entered in a l2r context, not r2l. Alan On Sun, Apr 28, 2024 at 4:23 PM Alan Bowen wrote: > I

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
On 4/29/24 18:04, Wolfgang Schuster wrote: > Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 17:22: >> [...] >> Which is the right way to use "interfaces.definecommand" to get a simple >> command as in standard TeX? >> >> I mean, no a non \permanent or non \protected command. > > You

[NTG-context] Re: unprotecting when defining in Lua

2024-04-29 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 29.04.2024 um 17:22: Dear list, I have the following sample: \starttext \startluacode function document.test(str) context(str) end interfaces.definecommand { name = "testing", protected = false, macro

[NTG-context] unprotecting when defining in Lua

2024-04-29 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode function document.test(str) context(str) end interfaces.definecommand { name = "testing", protected = false, macro = document.test, } \stopluacode \meaningfull\testing

[NTG-context] Re: statistical charts module re-published

2024-04-29 Thread Tomáš Hála
Hi Hraban, > published the new version to https://modules.contextgarden.net (i.e. > installation with > "mtxrun --script install-modules --install > statistical-charts" thank you, this is very userful. Tomáš ___

[NTG-context] Re: QR Code

2024-04-29 Thread Henning Hraban Ramm
Hi Ben, I’m not sure if this is your issue, but the zint library’s API used to change with every version, so that ConTeXt supports only the “latest” few, and probably that’s still 2.10 to 2.12. I still have 2.12 via MacPorts on MacOS 10.15, and it works. Can you try an older zint version?