Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Aditya Mahajan
On Sun, 21 Mar 2021, Hans Hagen wrote: > On 3/20/2021 10:03 PM, Aditya Mahajan wrote: > > On Sat, 20 Mar 2021, Hans Hagen wrote: > > > > > > > > > > I wonder if we could have an environment, say \startluatemplate ... > > > > \stopluatemplate, which is evaluated on the fly rather than when

Re: [NTG-context] XML/MathML namespace handling bug

2021-03-20 Thread Hans Hagen
On 3/20/2021 10:52 PM, Hugo Landau wrote: Thanks for ConTeXt, it is an amazing system. The following test case demonstrates the bug. \usemodule[mathml] \starttext \xmlprocessdata{}{ http://www.example.com/ns/foo; xmlns:m="http://www.w3.org/1998/Math/MathML;> ab

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Hans Hagen
On 3/20/2021 10:03 PM, Aditya Mahajan wrote: On Sat, 20 Mar 2021, Hans Hagen wrote: I wonder if we could have an environment, say \startluatemplate ... \stopluatemplate, which is evaluated on the fly rather than when loading a file. define 'evaluated on the fly' Consider the following

[NTG-context] Formula numbering including all prefix segments

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*]

[NTG-context] (no subject)

2021-03-20 Thread Adam Reviczky
Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext \setupcaption[figure][way=bytext,prefixsegments=1:*]

[NTG-context] XML/MathML namespace handling bug

2021-03-20 Thread Hugo Landau
Thanks for ConTeXt, it is an amazing system. The following test case demonstrates the bug. \usemodule[mathml] \starttext \xmlprocessdata{}{ http://www.example.com/ns/foo; xmlns:m="http://www.w3.org/1998/Math/MathML;> ab ab }{} \stoptext No output is

Re: [NTG-context] Build fails on fresh installs

2021-03-20 Thread Pablo Rodriguez
On 3/20/21 8:11 PM, Thangalin wrote: > [...] > Actual > Build fails. > > resolvers       > lua > loading file > '/home/username/context/tex/texmf-context/tex/context/base/mkxl/spac-hor.lmt' > succeeded > tex error       > tex error on line 25 in file spac-hor.mkxl: Undefined > control sequence >

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Aditya Mahajan
On Sat, 20 Mar 2021, Hans Hagen wrote: > > > > I wonder if we could have an environment, say \startluatemplate ... > > \stopluatemplate, which is evaluated on the fly rather than when loading a > > file. > > define 'evaluated on the fly' Consider the following example: \enablemode[A]

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Hans Hagen
On 3/20/2021 9:23 PM, Aditya Mahajan wrote: On Sat, 20 Mar 2021, Hans Hagen wrote: On 3/20/2021 4:00 PM, Christoph Reller wrote: On Sat, Mar 20, 2021 at 12:12 PM Hans Hagen mailto:j.ha...@xs4all.nl>> wrote: On 3/20/2021 8:24 AM, Aditya Mahajan wrote: > On Sat, 20 Mar 2021,

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Aditya Mahajan
On Sat, 20 Mar 2021, Hans Hagen wrote: > On 3/20/2021 4:00 PM, Christoph Reller wrote: > > On Sat, Mar 20, 2021 at 12:12 PM Hans Hagen > > wrote: > > > > On 3/20/2021 8:24 AM, Aditya Mahajan wrote: > > > On Sat, 20 Mar 2021, Christoph Reller wrote: > > >>

[NTG-context] Build fails on fresh installs

2021-03-20 Thread Thangalin
VirtualBox 6.1.18 + ConTeXt Perform OS installations using defaults and the following values: - Set regular username to: username - Set guest computer name to: computer Use ConTeXt binaries appropriate for OS: - FreeBSD -

Re: [NTG-context] Problems with new ConTeXt in Linux

2021-03-20 Thread Pablo Rodriguez
On 3/20/21 2:41 PM, Wolfgang Schuster wrote: > Jairo A. del Rio schrieb am 20.03.2021 um 14:21: >> I deleted the .tma files. I'm still having the same issue. > > You have to wait for newer binaries but you can also try the ones I put > online (will be deleted in a few days): > >

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Hans Hagen
On 3/20/2021 4:00 PM, Christoph Reller wrote: On Sat, Mar 20, 2021 at 12:12 PM Hans Hagen > wrote: On 3/20/2021 8:24 AM, Aditya Mahajan wrote: > On Sat, 20 Mar 2021, Christoph Reller wrote: >> Of course we can do this in lua: >> >> if

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Christoph Reller
On Sat, Mar 20, 2021 at 12:12 PM Hans Hagen wrote: > On 3/20/2021 8:24 AM, Aditya Mahajan wrote: > > On Sat, 20 Mar 2021, Christoph Reller wrote: > >> Of course we can do this in lua: > >> > >> if tex.modes["A"] and not tex.modes{"B"] then > >> ... > >> end > > > > ... which means that you can

Re: [NTG-context] Problems with new ConTeXt in Linux

2021-03-20 Thread Jairo A. del Rio
Thank you very much. For the moment, it solves the problem. Jairo El sáb, 20 de mar. de 2021 a la(s) 08:41, Wolfgang Schuster ( wolfgang.schuster.li...@gmail.com) escribió: > Jairo A. del Rio schrieb am 20.03.2021 um 14:21: > > I deleted the .tma files. I'm still having the same issue. > > You

Re: [NTG-context] Problems with new ConTeXt in Linux

2021-03-20 Thread Werner Hennrich
not a Linux related Problem IMHO - I'm having none of that kind under both Arch and Debian. HTH! W Am 20.03.21 um 08:13 schrieb Jairo A. del Rio: When I update to ConTeXt LMTX version 2021.03.20 01:07, the following happens during format generation: tex error       > tex error on line 25 in

Re: [NTG-context] Problems with new ConTeXt in Linux

2021-03-20 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 20.03.2021 um 14:21: I deleted the .tma files. I'm still having the same issue. You have to wait for newer binaries but you can also try the ones I put online (will be deleted in a few days):

Re: [NTG-context] Problems with new ConTeXt in Linux

2021-03-20 Thread Jairo A. del Rio
I deleted the .tma files. I'm still having the same issue. Jairo El sáb, 20 de mar. de 2021 a la(s) 06:00, Hans Hagen (j.ha...@xs4all.nl) escribió: > On 3/20/2021 8:13 AM, Jairo A. del Rio wrote: > > When I update to ConTeXt LMTX version 2021.03.20 01:07, the following > > happens during format

Re: [NTG-context] Keeping track of hyphenations

2021-03-20 Thread Hans Hagen
On 3/19/2021 9:49 PM, denis.ma...@ub.unibe.ch wrote: Wow, Hans, that looks awesome. Thanks a lot. This is a nice example: \setuplayout[tight] \usebodyfont[modern] \usebodyfont[pagella] \usebodyfont[ebgaramond] \usebodyfont[dejavu] % \enabletrackers[hyphenation.applied]

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Hans Hagen
On 3/20/2021 8:24 AM, Aditya Mahajan wrote: On Sat, 20 Mar 2021, Christoph Reller wrote: Of course we can do this in lua: if tex.modes["A"] and not tex.modes{"B"] then ... end ... which means that you can use that at the context end as well (old feature). Save the following as test.mkix (or

Re: [NTG-context] Error "double-free glue_spec"

2021-03-20 Thread Hans Hagen
On 3/20/2021 7:16 AM, Christoph Reller wrote: Hi, For one of my projects ConTeXt LMTX 2021.03.17 17:46 fails with: error (nodes): attempt to double-free glue_spec node 145, ignored mtx-context     | fatal error: return code: 1 long time not seen, that one Unfortunately, when I try to

Re: [NTG-context] Problems with new ConTeXt in Linux

2021-03-20 Thread Hans Hagen
On 3/20/2021 8:13 AM, Jairo A. del Rio wrote: When I update to ConTeXt LMTX version 2021.03.20 01:07, the following happens during format generation: tex error       > tex error on line 25 in file spac-hor.mkxl: Undefined control sequence \bitwiseflip \normalizelinemode

Re: [NTG-context] RE : Zero size kerns with latest LMTX beta 2020-03-17

2021-03-20 Thread Hans Hagen
On 3/20/2021 10:00 AM, Joseph wrote: Cheers, thanks a lot, would you advice to use that directive from now on ? i uploaded a fix the advance directive is kind of experimental but should work ok so you can test with it another font related experiment is \enableexperiments[fonts.compact]

[NTG-context] RE : Zero size kerns with latest LMTX beta 2020-03-17

2021-03-20 Thread Joseph
Cheers, thanks a lot, would you advice to use that directive from now on ?BestJoseph De : Hans HagenEnvoyé le :vendredi 19 mars 2021 22:50À : mailing list for ConTeXt users; JosephObjet :Re: [NTG-context] Zero size kerns with latest LMTX beta 2020-03-17 On 3/19/2021 10:11 PM, Joseph wrote:> Dear

Re: [NTG-context] Typing within doifmode leads to error

2021-03-20 Thread Aditya Mahajan
On Sat, 20 Mar 2021, Christoph Reller wrote: > Of course we can do this in lua: > > if tex.modes["A"] and not tex.modes{"B"] then > ... > end ... which means that you can use that at the context end as well (old feature). Save the following as test.mkix (or add "% macros=mkix" as the first

[NTG-context] Problems with new ConTeXt in Linux

2021-03-20 Thread Jairo A. del Rio
When I update to ConTeXt LMTX version 2021.03.20 01:07, the following happens during format generation: tex error > tex error on line 25 in file spac-hor.mkxl: Undefined control sequence \bitwiseflip \normalizelinemode \flattendiscretionariescode So, what is happening here? Jairo

[NTG-context] Error "double-free glue_spec"

2021-03-20 Thread Christoph Reller
Hi, For one of my projects ConTeXt LMTX 2021.03.17 17:46 fails with: error (nodes): attempt to double-free glue_spec node 145, ignored mtx-context | fatal error: return code: 1 Unfortunately, when I try to minimize the project, the error vanishes. I guess I have to send Hans the whole