![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
Hi, I uploaded a new lmtx ... not much done due to the heat (entered reading mode instead) but ... apart from some work in progress ... we now have some basic bitwise operations (maybe we need some more). So far we have: \startlines \meaning\bitwiseset \meaning\bitwisenot \meaning\bitwisenil \meaning\bitwiseand \meaning\bitwiseor \meaning\bitwisexor \meaning\ifbitwiseand \stoplines used as: \scratchcounter = \bitwiseand "01 "02 \uchexnumbers{\scratchcounter} \quad \scratchcounter = \bitwiseand "01 with "02 \uchexnumbers{\scratchcounter} \quad \scratchcounter = \bitwiseand "03 "02 \uchexnumbers{\scratchcounter} \par \scratchcounter = \bitwiseor "01 "02 \uchexnumbers{\scratchcounter} \quad \scratchcounter = \bitwiseor "01 with "02 \uchexnumbers{\scratchcounter} \quad \scratchcounter = \bitwiseor "03 "02 \uchexnumbers{\scratchcounter} \par \scratchcounter = \bitwisexor "01 "02 \uchexnumbers{\scratchcounter} \quad \scratchcounter = \bitwisexor "01 with "02 \uchexnumbers{\scratchcounter} \quad \scratchcounter = \bitwisexor "03 "02 \uchexnumbers{\scratchcounter} \par \scratchcounter = \bitwisenil \bitwisenil "0F "02 "01 \uchexnumbers{\scratchcounter} \par \scratchcounter = \bitwisenil \bitwisenil "0F with "02 with "01 \uchexnumbers{\scratchcounter} \par \scratchcounterone\zerocount \scratchcounterone \bitwiseset "FFFFFFF \ifbitwiseand \scratchcounterone "8000000 YES \else NOP \fi \ifbitwiseand \scratchcounterone "F000000 YES \else NOP \fi \ifbitwiseand \scratchcounterone "1000000 YES \else NOP \fi \scratchcounterone \bitwisenot \scratchcounterone \ifbitwiseand \scratchcounterone "8000000 YES \else NOP \fi \ifbitwiseand \scratchcounterone "F000000 YES \else NOP \fi \ifbitwiseand \scratchcounterone "1000000 YES \else NOP \fi \scratchcounter \bitwiseand "01 "02 \scratchcounter \numexpr "01+"02\relax \ifcase \bitwiseand \scratchcounterone \plusone \else \fi \ifbitwiseand \scratchcounterone \plusone \else \fi \ifnum \scratchcounterone=\plusone \else \fi A while ago I played with bitwise operator sin \numexpr but in the end removed that because it's messy with the symbols to be used, but I will look at that agaon if needed. 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 8/9/20 8:08 PM, Hans Hagen wrote:
Hi,
I uploaded a new lmtx ... not much done due to the heat (entered reading mode instead) but ... apart from some work in progress ... we now have some basic bitwise operations (maybe we need some more). So far we have:
I’m afraid that even "mtxrun --generate" gives an error message: lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to index a nil value (global 'tex') I think something is missing there. Many thhanks for your help, Pablo -- http://www.ousia.tk
![](https://secure.gravatar.com/avatar/23c65792d6f3eb5f6194f6ec9eadc2ac.jpg?s=120&d=mm&r=g)
On my computer mtxrun --generate works, but context --make fails and the command line outputs: tex error > tex error on line 448 in file lang-ini.mkxl: ! Undefined control sequence \dohyphens ->\hyphenationmode \plusthree l.448 \dohyphens <empty file> Jairo :) El dom., 9 de ago. de 2020 a la(s) 13:36, Pablo Rodriguez (oinos@gmx.es) escribió:
On 8/9/20 8:08 PM, Hans Hagen wrote:
Hi,
I uploaded a new lmtx ... not much done due to the heat (entered reading mode instead) but ... apart from some work in progress ... we now have some basic bitwise operations (maybe we need some more). So far we have:
I’m afraid that even "mtxrun --generate" gives an error message:
lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to index a nil value (global 'tex')
I think something is missing there.
Many thhanks for your help,
Pablo -- http://www.ousia.tk
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/23c65792d6f3eb5f6194f6ec9eadc2ac.jpg?s=120&d=mm&r=g)
Update: after cleaning the cache, I have the same problem as Pablo. Jairo :) El dom., 9 de ago. de 2020 a la(s) 13:45, Jairo A. del Rio ( jairoadelrio6@gmail.com) escribió:
On my computer mtxrun --generate works, but context --make fails and the command line outputs:
tex error > tex error on line 448 in file lang-ini.mkxl: ! Undefined control sequence
\dohyphens ->\hyphenationmode \plusthree l.448 \dohyphens
<empty file>
Jairo :)
El dom., 9 de ago. de 2020 a la(s) 13:36, Pablo Rodriguez (oinos@gmx.es) escribió:
On 8/9/20 8:08 PM, Hans Hagen wrote:
Hi,
I uploaded a new lmtx ... not much done due to the heat (entered reading mode instead) but ... apart from some work in progress ... we now have some basic bitwise operations (maybe we need some more). So far we have:
I’m afraid that even "mtxrun --generate" gives an error message:
lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to index a nil value (global 'tex')
I think something is missing there.
Many thhanks for your help,
Pablo -- http://www.ousia.tk
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 8/9/20 8:45 PM, Jairo A. del Rio wrote:
On my computer mtxrun --generate works, but context --make fails and the command line outputs:
I ran "mtxrun --script cache --erase" before running "mtxrun --generate" (as I do with each update). Just in case it helps, Pablo -- http://www.ousia.tk
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 8/9/2020 8:52 PM, Pablo Rodriguez wrote:
On 8/9/20 8:45 PM, Jairo A. del Rio wrote:
On my computer mtxrun --generate works, but context --make fails and the command line outputs:
I ran "mtxrun --script cache --erase" before running "mtxrun --generate" (as I do with each update). can you try again
(in case of a broken mtxrun, change the error line to "tex and tex.error") 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 8/9/20 10:09 PM, Hans Hagen wrote:
On 8/9/2020 8:52 PM, Pablo Rodriguez wrote:
On 8/9/20 8:45 PM, Jairo A. del Rio wrote:
On my computer mtxrun --generate works, but context --make fails and the command line outputs:
I ran "mtxrun --script cache --erase" before running "mtxrun --generate" (as I do with each update). can you try again
(in case of a broken mtxrun, change the error line to "tex and tex.error")
Many thanks for the fast reply, Hans. It works fine now. Pablo -- http://www.ousia.tk
participants (3)
-
Hans Hagen
-
Jairo A. del Rio
-
Pablo Rodriguez