Hi, I uploaded a fresh lmtx. There is some new stuff in there: - upgraded mysql and sqlite support (more about that later as i need to check it some more) - upgraded support for barcodes using libzint (at some point we will provide this in the installation) - support for gnuplot as in: \usemodule[gnuplot] \starttext \externalfigure[gpdemo.gp][conversion=svg,width=4cm] \externalfigure[gpdemo.gp][conversion=svg,width=8cm] stoptext a new terminal feature is under investigation by Mojca and me but this is a start - support for ecmascript for those who think thayt javascript is better than lua (of course only to find out at some point that it's not true in the perspective of context but it migh tmake a transition easier). For the impatient: http://www.pragma-ade.com/general/manuals/ecmascript-mkiv.pdf http://www.pragma-ade.com/context/latest/texmf-win64-lib.zip (after unzipping in the right spot, yuou need to run mtxrun --generate) other platforms will follow once Mojca and I have dealt with them on the compile farm so windows users have the scoop here). So \startecmacode texsprint("\\startpacked"); for (var i = 1; i <= MyMax; i++) { texprint( "Here is some rather dumb math test:" + Math.sqrt(i/MyMax) + "!\\par" ); } texsprint("\\stoppacked"); \stopecmacode is the alternative for javascript lovers then (no access to tex internals, once someone wants that lua is the way to go!) 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 -----------------------------------------------------------------
On 11-02-2020 17:00, Hans Hagen wrote:
- support for ecmascript for those who think thayt javascript is better than lua (of course only to find out at some point that it's not true in the perspective of context but it migh tmake a transition easier). For the impatient:
http://www.pragma-ade.com/general/manuals/ecmascript-mkiv.pdf
to (further) promote the usage of lua, it might help if the examples given in the pdf documentation will also include the (better) lua version... .F
On 2/11/2020 5:18 PM, Floris van Manen wrote:
On 11-02-2020 17:00, Hans Hagen wrote:
- support for ecmascript for those who think thayt javascript is better than lua (of course only to find out at some point that it's not true in the perspective of context but it migh tmake a transition easier). For the impatient:
http://www.pragma-ade.com/general/manuals/ecmascript-mkiv.pdf
to (further) promote the usage of lua, it might help if the examples given in the pdf documentation will also include the (better) lua version...
sure but actually it can be that users have (or find) javascript code someplace that can help them do something without conversion (and introducing errors) ... of course assuming proper ecmascript the interface in lmtx provides a way to pipe into tex (with catcode support) as well as access to files in the tex ecosystem (controlled) so it just provides the few interfaces needed on top of a basic engine conforming the 'standard' 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 -----------------------------------------------------------------
With the latest just uploaded I'm running into the following on Linux,
after trying all these:
mtxrun --script cache --erase --make
mtxrun --generate
context --make
I've also tried manually deleting the cache but the result is the
same.
Does anyone know what might be wrong?
I'm attaching the log.
Best, Richard
--
Richard Mahoney | Indica et Buddhica
Littledene Bay Road Oxford NZ
T: +6433121699 M: +64210640216
r.mahoney@indica-et-buddhica.org
https://indica-et-buddhica.org/
-----Original Message-----
From: Hans Hagen
On 11-02-2020 17:00, Hans Hagen wrote:
- support for ecmascript for those who think thayt javascript is better than lua (of course only to find out at some point that it's not true in the perspective of context but it migh tmake a transition easier). For the impatient:
http://www.pragma-ade.com/general/manuals/ecmascript-mkiv.pdf
to (further) promote the usage of lua, it might help if the examples given in the pdf documentation will also include the (better) lua version...
sure but actually it can be that users have (or find) javascript code someplace that can help them do something without conversion (and introducing errors) ... of course assuming proper ecmascript the interface in lmtx provides a way to pipe into tex (with catcode support) as well as access to files in the tex ecosystem (controlled) so it just provides the few interfaces needed on top of a basic engine conforming the 'standard' 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 / 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 ______________________________________________________________________ _____________
Actually, I've just seen that the file that seemed to be causing the
issue:
error loading file: util-tab.lua
contains the following:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not
understand.<br />
</p>
<hr>
<address>Apache Server at 87.195.107.53 Port 80</address>
</body></html>
/home/rbm49/lmtx/tex/texmf-context/tex/context/base/mkiv/util-tab.lua
byte 289/289 (END)
I installed, and reinstalled, the update using lmtx "install.sh". Was
"util-tab.lua" not in the archive by any chance?
Best, Richard
--
Richard Mahoney | Indica et Buddhica
Littledene Bay Road Oxford NZ
T: +6433121699 M: +64210640216
r.mahoney@indica-et-buddhica.org
https://indica-et-buddhica.org/
-------- Forwarded Message --------
From: Richard Mahoney | Indica et Buddhica <
r.mahoney@indica-et-buddhica.org>
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] upload
Date: Wed, 12 Feb 2020 10:09:42 +1300
Mailer: Evolution 3.32.5
Organization: Indica et Buddhica
With the latest just uploaded I'm running into the following on Linux,
after trying all these:
mtxrun --script cache --erase --make
mtxrun --generate
context --make
I've also tried manually deleting the cache but the result is the
same.
Does anyone know what might be wrong?
I'm attaching the log.
Best, Richard
--
Richard Mahoney | Indica et Buddhica
Littledene Bay Road Oxford NZ
T: +6433121699 M: +64210640216
r.mahoney@indica-et-buddhica.org
https://indica-et-buddhica.org/
-----Original Message-----
From: Hans Hagen
On 11-02-2020 17:00, Hans Hagen wrote:
- support for ecmascript for those who think thayt javascript is better than lua (of course only to find out at some point that it's not true in the perspective of context but it migh tmake a transition easier). For the impatient:
http://www.pragma-ade.com/general/manuals/ecmascript-mkiv.pdf
to (further) promote the usage of lua, it might help if the examples given in the pdf documentation will also include the (better) lua version... sure but actually it can be that users have (or find) javascript code someplace that can help them do something without conversion (and introducing errors) ... of course assuming proper ecmascript
the interface in lmtx provides a way to pipe into tex (with catcode support) as well as access to files in the tex ecosystem (controlled) so it just provides the few interfaces needed on top of a basic engine conforming the 'standard' 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 / 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 ______________________________________________________________________ _____________
On 2/11/2020 10:19 PM, Richard Mahoney | Indica et Buddhica wrote:
Actually, I've just seen that the file that seemed to be causing the issue:
error loading file: util-tab.lua
contains the following:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>400 Bad Request</title> </head><body> <h1>Bad Request</h1> <p>Your browser sent a request that this server could not understand.<br /> </p> <hr> <address>Apache Server at 87.195.107.53 Port 80</address> </body></html> /home/rbm49/lmtx/tex/texmf-context/tex/context/base/mkiv/util-tab.lua byte 289/289 (END)
I installed, and reinstalled, the update using lmtx "install.sh". Was "util-tab.lua" not in the archive by any chance? hm, strange, i need to check that
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 -----------------------------------------------------------------
Il 11/02/20 17:00, Hans Hagen ha scritto:
Hi,
I uploaded a fresh lmtx. There is some new stuff in there:
I'm a little bit confused about versions. 1) GIT MIRROR The last commit in the branch "beta" is 2020-01-26 18:37:00. I've seen no update since your "upload" message (the one i'm replying to). (Hans, I know it's not you updating it) 2) CONTEXT MKIV I've just updated the "latest" ConTeXt MkIV, i mean the one you update with first-setup.sh ... Once updated, this is the output of "context --version": mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /home/massi/context/latest/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.01.30 14:13 mtx-context | main context file: /home/massi/context/latest/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.01.30 14:13 3) LMTX After ./install.sh and setting the PATH, "context --version" gives: mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /home/massi/context/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2019.07.24 11:31 mtx-context | main context file: /home/massi/context/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkxl mtx-context | current version: 2020.02.11 16:41 "2020.02.11 16:41" for MKXL looks right to me, since it's the version you are talking of in your message. But what about "2019.07.24 11:31" for MKIV? It's even older than the one you get with first-setup.sh. Maybe it's the version when MKXL and MKIV split, and "2020.01.30 14:13" is the latest version of MKIV with the backporting of some of the enhancements that took place in MKXL. Is it like that? Best greetings, Massi
On 2/13/2020 11:28 AM, mf wrote:
Il 11/02/20 17:00, Hans Hagen ha scritto:
Hi,
I uploaded a fresh lmtx. There is some new stuff in there:
I'm a little bit confused about versions.
1) GIT MIRROR
The last commit in the branch "beta" is 2020-01-26 18:37:00.
I've seen no update since your "upload" message (the one i'm replying to).
(Hans, I know it's not you updating it)
2) CONTEXT MKIV
I've just updated the "latest" ConTeXt MkIV, i mean the one you update with first-setup.sh ...
Once updated, this is the output of "context --version":
mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /home/massi/context/latest/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2020.01.30 14:13 mtx-context | main context file: /home/massi/context/latest/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2020.01.30 14:13
3) LMTX
After ./install.sh and setting the PATH, "context --version" gives:
mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file: /home/massi/context/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2019.07.24 11:31 mtx-context | main context file: /home/massi/context/lmtx/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context | current version: 2020.02.11 16:41
"2020.02.11 16:41" for MKXL looks right to me, since it's the version you are talking of in your message.
But what about "2019.07.24 11:31" for MKIV? It's even older than the one you get with first-setup.sh.
Maybe it's the version when MKXL and MKIV split, and "2020.01.30 14:13" is the latest version of MKIV with the backporting of some of the enhancements that took place in MKXL. Is it like that? if you fetch from the web site you need to use /latest as we no longer have lpha, beta current ... maybe somthing got messed up in the git sync, i don't know
it occasionally can be that there is some difference with lmtx but not that large 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 -----------------------------------------------------------------
participants (4)
-
Floris van Manen
-
Hans Hagen
-
mf
-
Richard Mahoney | Indica et Buddhica