[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
Thank you for your interest, Aditya. The error was kindly fixed by Hans
introducing the following fix at line 993 in
tex/texmf-context/tex/context/base/mkxl/back-exp-imp-mth.lmt:

function extras.msubsup(di,element,n,fulltag)
 local data = di.data
 local nuc = found(data)
 local sup = found(data,"sup")
 local sub = found(data,"sub")
 data[1] = nuc or dummy_nucleus
 data[2] = sub or dummy_nucleus
 data[3] = sup or dummy_nucleus
 data.__i__ = 3
 local sp = specifications[di.fulltag]
 if attributes then
 attributes.mathsupindex = sp.supshifted
 attributes.mathsubindex = sp.subshifted
 else
 di.attributes = {
 mathsupindex = sp.supshifted,
 mathsubindex = sp.subshifted,
 }
 end
 end

This solved the issue.

-- 
Andrés Conrado Montoya
Andi Kú
andresconr...@gmail.com
http://sesentaycuatro.com
http://messier87.com
http://chiquitico.org

Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.


“You develop an instant global consciousness, a people orientation, an
intense dissatisfaction with the state of the world, and a compulsion to do
something about it. From out there on the moon, international politics look
so petty. You want to grab a politician by the scruff of the neck and drag
him a quarter of a million miles out and say, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
Apologies, I sent the wrong file, this is the relevant log portion after
compiling with the change:

pages   > flushing realpage 133, userpage 133, subpage 133

푡
0.975
∗
   

푡
0.025
∗
   
pages   > flushing realpage 134, userpage 134, subpage 134
pages   > flushing realpage 135, userpage 135, subpage 135
structures  > bookmark: Prueba de homogeneidad
structure   > sectioning > section @ level 3 : 0.7.2 -> Prueba de
homogeneidad
structures  > bookmark: Hipótesis
structure   > sectioning > subsubsection @ level 5 : 0.7.2.0.1 ->
Hipótesis
structures  > bookmark: Estadístico de prueba
structure   > sectioning > subsubsection @ level 5 : 0.7.2.0.2 ->
Estadístico de prueba
structures  > bookmark: Aplicación de la homogeneidad
structure   > sectioning > subsection @ level 4 : 0.7.2.1 -> Aplicación
de la homogeneidad
pages   > flushing realpage 136, userpage 136, subpage 136
floatblocks > order disturbed
floatblocks > '51' placed (force)
pages   > flushing realpage 137, userpage 137, subpage 137
floatblocks > order disturbed
floatblocks > '52' placed (force)
pages   > flushing realpage 138, userpage 138, subpage 138
close source> level 2, order 29, name
'include/content/Aplicación-prueba-ji-cuadrado.tex'
pages   > flushing realpage 139, userpage 139, subpage 139

   ∑
  
tex error   > tex error on line 85 in file ./IntroEstadísticaNP.tex:

lua error:

registered function call [250]:
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:750: attempt to
index a nil value (local 'a2')
stack traceback:
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:750: in
upvalue 'expandone'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:284: in
upvalue 'expandfenced'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:585: in
upvalue 'expandone'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:798: in
upvalue 'expandone'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:350: in
upvalue 'expandone'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:952: in
upvalue 'expand'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:808: in
upvalue 'expandone'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:605: in
upvalue 'expandone'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:952: in
upvalue 'expand'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:899: in
upvalue 'expandone'
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:1019:
in field 'verbose'
...mtx/tex/texmf-context/tex/context/base/mkxl/math-tag.lmt:985: in
field 'gettextblob'
...mtx/tex/texmf-context/tex/context/base/mkxl/lpdf-tag.lmt:391: in
upvalue 'makeelement'
...mtx/tex/texmf-context/tex/context/base/mkxl/lpdf-tag.lmt:715: in
upvalue 'structures_tags_handler'
[string "local tonut  = nodes.tonut..."]:21: in function <[string
"local tonut  = nodes.tonut..."]:12>
(...tail calls...)
...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38: in
function <...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:37>
(...tail calls...)

El dom, 25 feb 2024 a las 16:41, Andres Conrado Montoya (<
andresconr...@gmail.com>) escribió:

> IntroEstadisticaNP-error.log:
>
> return {
>  ["filename"]="./IntroEstadísticaNP.tex",
>  ["lastcontext"]="",
>  ["lastluaerror"]="registered function call [250]:
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:490: attempt to
> index a nil value (local 'a2')\nstack traceback:\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:490: in upvalue
> 'expandone'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:261: in upvalue
> 'expandfenced'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:373: in upvalue
> 'expandone'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:532: in upvalue
> 'expandone'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:383: in upvalue
> 'expandone'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:669: in upvalue
> 'expand'\n ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:544:
> in upvalue 'expandone'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:383: in upvalue
> 'expandone'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:669: in upvalue
> 'expand'\n ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:621:
> in upvalue 'expandone'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:669: in upvalue
> 'expand'\n ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:727:
> in field 'verbose'\n
> ...mtx/tex/texmf-context/tex/context/base/mkxl/math-tag.lmt:939: in field
> 'gettextblob'\n
> 

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Aditya Mahajan
On Sun, 25 Feb 2024, Andres Conrado Montoya wrote:

> Another remark: It seems this behavior is consistent: if I comment out the
> last equation before the one I told you before, again the next formula
> works fine,

Would it be possible to create a reproducible example?

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
Another remark: It seems this behavior is consistent: if I comment out the
last equation before the one I told you before, again the next formula
works fine,

El dom, 25 feb 2024 a las 15:38, Andres Conrado Montoya (<
andresconr...@gmail.com>) escribió:

> A remark: A few lines above the error triggering point, I found a single
> digit presented as math: \math{5}. Removing this and leaving the 5 in text
> mode removes the error below it.
> Could it be a bug in the distribution?
>
> El dom, 25 feb 2024 a las 15:24, Andres Conrado Montoya (<
> andresconr...@gmail.com>) escribió:
>
>> I keep bumping into this error, I have no idea what may be causing it, in
>> a statistics book with lots of math:
>>
>> registered function call [250]:
>> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:749: attempt to
>> index a nil value (local 'a2')
>>
>> I have checked everything. I have tried commenting out many things and
>> the weird part is that it fails in a simple math expression: \math{E_{i}j}.
>> Even a simple $y$ or \math{a+b} will trigger the error. However, this same
>> file Im working on has many formulas before that, those work fine. I
>> changed all the $...$ to \math{...} just in case, but with no success.
>>
>> Already tried remaking, regenerating, updating the distribution.
>>
>> Do you have any ideas to work this out? I don't know how to provide a MWE
>> for this because it's a very big project (statistics book).
>>
>> I have tried 2 versions, the system-wide one, just upgraded:
>> mtx-context | ConTeXt Process Management 1.06
>> mtx-context | current version: 2024.02.22 18:31
>>
>> And a less recent version, attached to the project:
>> mtx-context | ConTeXt Process Management 1.05
>> mtx-context | current version: 2024.02.14 13:38
>>
>>
>> Any help will be much appreciated.
>>
>> --
>> Andrés Conrado Montoya
>> Andi Kú
>> andresconr...@gmail.com
>> http://sesentaycuatro.com
>> http://messier87.com
>> http://chiquitico.org
>> 
>> Los fines no justifican los medios, porque la medida verdadera de nuestro
>> carácter está dada por los medios que estamos dispuestos a utilizar, no por
>> los fines que proclamamos.
>> 
>>
>> “You develop an instant global consciousness, a people orientation, an
>> intense dissatisfaction with the state of the world, and a compulsion to do
>> something about it. From out there on the moon, international politics look
>> so petty. You want to grab a politician by the scruff of the neck and drag
>> him a quarter of a million miles out and say, ‘Look at that, you son of a
>> bitch.’” — Apollo 14 astronaut Edgar Mitchell
>>
>
>
> --
> Andrés Conrado Montoya
> Andi Kú
> andresconr...@gmail.com
> http://sesentaycuatro.com
> http://messier87.com
> http://chiquitico.org
> 
> Los fines no justifican los medios, porque la medida verdadera de nuestro
> carácter está dada por los medios que estamos dispuestos a utilizar, no por
> los fines que proclamamos.
> 
>
> “You develop an instant global consciousness, a people orientation, an
> intense dissatisfaction with the state of the world, and a compulsion to do
> something about it. From out there on the moon, international politics look
> so petty. You want to grab a politician by the scruff of the neck and drag
> him a quarter of a million miles out and say, ‘Look at that, you son of a
> bitch.’” — Apollo 14 astronaut Edgar Mitchell
>


-- 
Andrés Conrado Montoya
Andi Kú
andresconr...@gmail.com
http://sesentaycuatro.com
http://messier87.com
http://chiquitico.org

Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.


“You develop an instant global consciousness, a people orientation, an
intense dissatisfaction with the state of the world, and a compulsion to do
something about it. From out there on the moon, international politics look
so petty. You want to grab a politician by the scruff of the neck and drag
him a quarter of a million miles out and say, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm

Am 25.02.24 um 20:24 schrieb Roger Mason:

Hello Hraban,

Henning Hraban Ramm  writes:


Am 25.02.24 um 17:08 schrieb Roger Mason:



Do I need mtxrun?  If so, where are the sources and how do I build
it?


Yes, you need it, but it’s just an alias to luametatex:

~/context/tex/texmf-osx-64/bin $ ll
total 7704
-rw-r--r--@ 1 hraban  staff   6,0K 14 Dez 19:11 .DS_Store
lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 context@ -> luametatex
-rw-r--r--  1 hraban  staff   1,3K 10 Aug  2023 context.lua
-rwxr-xr-x  1 hraban  staff   2,9M 22 Feb 18:47 luametatex*
lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 mtxrun@ -> luametatex
-rw-r--r--  1 hraban  staff   685K 22 Feb 18:47 mtxrun.lua

The mtxrun in ~/context/bin is only used during installation.


What else do I need in ~/context/tex?  Currently I have

.
├── texmf-context
│   └── web2c
│   └── contextcnf.lua
└── texmf-freebsd-amd64
 └── bin
 ├── context -> luametatex
 ├── context.lua
 ├── luametatex
 ├── mtxrun -> luametatex
 └── mtxrun.lua


I guess you’re lacking the main distribution package.

My installation (tree -dL 4, partly shortened):

.
├── bin (installation only)
└── tex
├── texmf-cache (necessary, but auto-created?)
│   ├── luametatex-cache
│   │   └── context
│   └── luatex-cache
│   └── context
├── texmf-context (main tree)
│   ├── colors
│   │   └── icc
│   ├── context
│   │   └── data
│   ├── doc
│   │   ├── context
│   │   └── fonts
│   ├── fonts// (etc.)
│   ├── metapost
│   │   └── context
│   ├── scripts
│   │   └── context
│   ├── source
│   │   └── luametatex
│   ├── tex
│   │   ├── context
│   │   └── generic
│   └── web2c
├── texmf-fonts (not necessary)
├── texmf-local (not necessary)
│   └── doc
│   └── context
├── texmf-modules (not necessary)
│   ├── doc// (etc.)
│   ├── fonts// (etc.)
│   ├── metapost
│   │   └── context
│   ├── scripts
│   │   ├── context
│   │   └── pgfplots
│   ├── source
│   │   ├── context
│   │   └── luatex
│   ├── tex
│   │   ├── context
│   │   ├── generic
│   │   └── luatex
│   └── tpm
├── texmf-osx-64
│   └── bin
└── texmf-project (not necessary)

HTH

Hraban

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
A remark: A few lines above the error triggering point, I found a single
digit presented as math: \math{5}. Removing this and leaving the 5 in text
mode removes the error below it.
Could it be a bug in the distribution?

El dom, 25 feb 2024 a las 15:24, Andres Conrado Montoya (<
andresconr...@gmail.com>) escribió:

> I keep bumping into this error, I have no idea what may be causing it, in
> a statistics book with lots of math:
>
> registered function call [250]:
> ...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:749: attempt to
> index a nil value (local 'a2')
>
> I have checked everything. I have tried commenting out many things and the
> weird part is that it fails in a simple math expression: \math{E_{i}j}.
> Even a simple $y$ or \math{a+b} will trigger the error. However, this same
> file Im working on has many formulas before that, those work fine. I
> changed all the $...$ to \math{...} just in case, but with no success.
>
> Already tried remaking, regenerating, updating the distribution.
>
> Do you have any ideas to work this out? I don't know how to provide a MWE
> for this because it's a very big project (statistics book).
>
> I have tried 2 versions, the system-wide one, just upgraded:
> mtx-context | ConTeXt Process Management 1.06
> mtx-context | current version: 2024.02.22 18:31
>
> And a less recent version, attached to the project:
> mtx-context | ConTeXt Process Management 1.05
> mtx-context | current version: 2024.02.14 13:38
>
>
> Any help will be much appreciated.
>
> --
> Andrés Conrado Montoya
> Andi Kú
> andresconr...@gmail.com
> http://sesentaycuatro.com
> http://messier87.com
> http://chiquitico.org
> 
> Los fines no justifican los medios, porque la medida verdadera de nuestro
> carácter está dada por los medios que estamos dispuestos a utilizar, no por
> los fines que proclamamos.
> 
>
> “You develop an instant global consciousness, a people orientation, an
> intense dissatisfaction with the state of the world, and a compulsion to do
> something about it. From out there on the moon, international politics look
> so petty. You want to grab a politician by the scruff of the neck and drag
> him a quarter of a million miles out and say, ‘Look at that, you son of a
> bitch.’” — Apollo 14 astronaut Edgar Mitchell
>


-- 
Andrés Conrado Montoya
Andi Kú
andresconr...@gmail.com
http://sesentaycuatro.com
http://messier87.com
http://chiquitico.org

Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.


“You develop an instant global consciousness, a people orientation, an
intense dissatisfaction with the state of the world, and a compulsion to do
something about it. From out there on the moon, international politics look
so petty. You want to grab a politician by the scruff of the neck and drag
him a quarter of a million miles out and say, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
I keep bumping into this error, I have no idea what may be causing it, in a
statistics book with lots of math:

registered function call [250]:
...mtx/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:749: attempt to
index a nil value (local 'a2')

I have checked everything. I have tried commenting out many things and the
weird part is that it fails in a simple math expression: \math{E_{i}j}.
Even a simple $y$ or \math{a+b} will trigger the error. However, this same
file Im working on has many formulas before that, those work fine. I
changed all the $...$ to \math{...} just in case, but with no success.

Already tried remaking, regenerating, updating the distribution.

Do you have any ideas to work this out? I don't know how to provide a MWE
for this because it's a very big project (statistics book).

I have tried 2 versions, the system-wide one, just upgraded:
mtx-context | ConTeXt Process Management 1.06
mtx-context | current version: 2024.02.22 18:31

And a less recent version, attached to the project:
mtx-context | ConTeXt Process Management 1.05
mtx-context | current version: 2024.02.14 13:38


Any help will be much appreciated.

-- 
Andrés Conrado Montoya
Andi Kú
andresconr...@gmail.com
http://sesentaycuatro.com
http://messier87.com
http://chiquitico.org

Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.


“You develop an instant global consciousness, a people orientation, an
intense dissatisfaction with the state of the world, and a compulsion to do
something about it. From out there on the moon, international politics look
so petty. You want to grab a politician by the scruff of the neck and drag
him a quarter of a million miles out and say, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello Hraban,

Henning Hraban Ramm  writes:

> Am 25.02.24 um 17:08 schrieb Roger Mason:

>> Do I need mtxrun?  If so, where are the sources and how do I build
>> it?
>
> Yes, you need it, but it’s just an alias to luametatex:
>
> ~/context/tex/texmf-osx-64/bin $ ll
> total 7704
> -rw-r--r--@ 1 hraban  staff   6,0K 14 Dez 19:11 .DS_Store
> lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 context@ -> luametatex
> -rw-r--r--  1 hraban  staff   1,3K 10 Aug  2023 context.lua
> -rwxr-xr-x  1 hraban  staff   2,9M 22 Feb 18:47 luametatex*
> lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 mtxrun@ -> luametatex
> -rw-r--r--  1 hraban  staff   685K 22 Feb 18:47 mtxrun.lua
>
> The mtxrun in ~/context/bin is only used during installation.

What else do I need in ~/context/tex?  Currently I have

.
├── texmf-context
│   └── web2c
│   └── contextcnf.lua
└── texmf-freebsd-amd64
└── bin
├── context -> luametatex
├── context.lua
├── luametatex
├── mtxrun -> luametatex
└── mtxrun.lua

and mtxrun --generate says

resolvers   | resolving | variable 'SELFAUTOLOC' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64/bin'
resolvers   | resolving | variable 'SELFAUTODIR' set to 
'/usr/home/rmason/context/tex/texmf-freebsd-amd64'
resolvers   | resolving | variable 'SELFAUTOPARENT' set to 
'/usr/home/rmason/context/tex'
resolvers   | resolving | variable 'TEXMFCNF' set to ''
resolvers   | resolving | variable 'TEXMF' set to ''
resolvers   | resolving | variable 'TEXOS' set to 'texmf-freebsd-amd64'
resolvers   | resolving |
resolvers   | resolving | using configuration specification 
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | looking for regular 'texmfcnf.lua' on given path 
'/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/home/rmason/texmf/web2c' from specification 'home:texmf/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf-context/web2c' from specification 
'selfautoparent:/texmf-context/web2c'
resolvers   | resolving | found fallback configuration file 
'/usr/home/rmason/context/tex/texmf-context/web2c/contextcnf.lua'
resolvers   | resolving | looking for fallback 'contextcnf.lua' on given 
path '/usr/home/rmason/context/tex/texmf/web2c' from specification 
'selfautoparent:/texmf/web2c'
resolvers   | resolving |
resolvers   | resolving | skipping configuration file 
'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format)
resolvers   | resolving | no texmf paths are defined (using TEXMF)
resolvers   | resolving |
mtxrun  |
mtxrun  | elapsed lua time: 0.045 seconds

I infer something (possibly a lot) is missing that the install.sh
normally sets up.

Thanks,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm

Am 25.02.24 um 17:08 schrieb Roger Mason:

I see that the build does not provide the mtxrun binary that the
installer uses.  Does that mean I dont need mtxrun?


Do I need mtxrun?  If so, where are the sources and how do I build it?


Yes, you need it, but it’s just an alias to luametatex:

~/context/tex/texmf-osx-64/bin $ ll
total 7704
-rw-r--r--@ 1 hraban  staff   6,0K 14 Dez 19:11 .DS_Store
lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 context@ -> luametatex
-rw-r--r--  1 hraban  staff   1,3K 10 Aug  2023 context.lua
-rwxr-xr-x  1 hraban  staff   2,9M 22 Feb 18:47 luametatex*
lrwxr-xr-x  1 hraban  staff10B 22 Feb 18:47 mtxrun@ -> luametatex
-rw-r--r--  1 hraban  staff   685K 22 Feb 18:47 mtxrun.lua

The mtxrun in ~/context/bin is only used during installation.

Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello,

Roger Mason  writes:

> Hello Henning, Mojca,
>
> Mojca Miklavec  writes:
>
>> There were some troubles with our infrastructure which led Hans to
>> build the binaries himself without paying extra attention to
>> compatibility with older systems.
>>
>> You can find the binaries here:
>> https://build.contextgarden.net/dl/luametatex/
>>
>> but I hope that Hans will rebuild the installer in order to make the
>> older systems functional again.
>>
>> Other than that, building luametatex is relatively straightforward with 
>> CMake.
>> The sources can be found either inside ConTeXt or separately inside
>> https://github.com/contextgarden/luametatex
>
> I see that the build does not provide the mtxrun binary that the
> installer uses.  Does that mean I dont need mtxrun?

Do I need mtxrun?  If so, where are the sources and how do I build it?

Thanks,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Henning Hraban Ramm

Am 25.02.24 um 13:12 schrieb Hans Hagen:
We could add a flag to the installer that doesn't update the binaries 
but intead (advices) to build the bins but it assumes Cmake and gcc to 
be installed (we could cheat and use an existing cmake made make file).


Yes please! A platform-independent download would be great.

Hraban

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Roger Mason
Hello Henning, Mojca,

Mojca Miklavec  writes:

> There were some troubles with our infrastructure which led Hans to
> build the binaries himself without paying extra attention to
> compatibility with older systems.
>
> You can find the binaries here:
> https://build.contextgarden.net/dl/luametatex/
>
> but I hope that Hans will rebuild the installer in order to make the
> older systems functional again.
>
> Other than that, building luametatex is relatively straightforward with CMake.
> The sources can be found either inside ConTeXt or separately inside
> https://github.com/contextgarden/luametatex

I see that the build does not provide the mtxrun binary that the
installer uses.  Does that mean I dont need mtxrun?

Thanks,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Mojca Miklavec
On Sun, 25 Feb 2024 at 13:12, Hans Hagen wrote:
>
> Can freebsd 14 work with older bins?

Yes, definitely.

> The previous method of these hard coded version numbers was a pain

You  might be mixing up FreeBSD and OpenBSD.

FreeBSD is (fully) compatible, OpenBSD is totally incompatible.

(I'm even a bit surprised that binaries compiled on 14 don't work on
13, but well ...)

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: FreeBSD 13.2

2024-02-25 Thread Hans Hagen

On 2/24/2024 4:28 PM, Mojca Miklavec wrote:

Dear Roger,

On Sat, 24 Feb 2024 at 15:34, Roger Mason wrote:


After unpacking, running the install scripts results in:

ld-elf.so.1: /home/rmason/Software/Context/bin/mtxrun: Undefined symbol
"__libc_start1@FBSD_1.7"

I assume this is because mtxrun is compiled for FreeBSD 14.0.


There were some troubles with our infrastructure which led Hans to
build the binaries himself without paying extra attention to
compatibility with older systems.


Can freebsd 14 work with older bins?

The previosu method of these hard coded version numbers was a pain as i 
have to adapt different scripts and the websit to newer versions so and 
i don't want that.


(We could put more bins in the installer for a platform and then let the 
install.sh choose what bins to fetch but even then the question is how 
far do we go back in time.)



You can find the binaries here:
 https://build.contextgarden.net/dl/luametatex/

but I hope that Hans will rebuild the installer in order to make the
older systems functional again.

Other than that, building luametatex is relatively straightforward with CMake.
The sources can be found either inside ConTeXt or separately inside
 https://github.com/contextgarden/luametatex
We could add a flag to the installer thaqt doesn't update the binaries 
but intead (advices) to build the bins but it assumes Cmake and gcc to 
be installed (we could cheat and use an existing cmake made make file).


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___