Re: [NTG-context] Error: your system "Linux aarch64" is not supported yet.

2019-09-26 Thread Mojca Miklavec
On Fri, 27 Sep 2019 at 00:49, luigi scarso  wrote:
>
> ..but aarch is in texlive already from  while ...

Having it in TL is usually not sufficient, we should usually be able
to build it ourselves to get the latest version of luatex etc. (But I
could use the binaries from TL as a starting point.)

That's either cross-compiling, but probably easier to simply put some
proper hardware in place, so that we can also run the test suite.

I was thinking of getting hold of another Raspberry and trying to
install a 64-bit system on it. Or maybe dig out my super old Pine64
and build on that one. Nobody ever asked for binaries, so we were not
in a hurry.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] passing variables/data between context and lua

2019-09-26 Thread Martin Althoff
Hi, I am trying to pass variables/data between context and lua. Lua would be 
used for
calculations on data coming from context.

Unfortunately I can't figure out what to do. The code below doesn't work, but 
is there to
illustrate my idea. 

Any help would be much appreciated. Thanks, Martin 


\define\question{44}

\starttext

\startluacode
local points = \question * 92
-- do some calculations with points and return to to context
answer=42
\stopluacode

% lots of Text in between 
The answer is \answer

\stoptext

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Error: your system "Linux aarch64" is not supported yet.

2019-09-26 Thread luigi scarso
..but aarch is in texlive already from  while ...

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___