Hi all, After more than a decade of mkiv and luatex it's time to move on to a new stage. After all, nowadays a ten-year old program is considered to be really old, especially for those who consider a manual typeset three years ago as an indication of lack of progress. Therefore: welcome to lua(meta)tex 2.00 and context lmtx, the follow up on luatex and mkiv, if you dare. It has many deep-down changes but aims to be a simple evolution. The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try: http://www.pragma-ade.nl/install.htm Of course you should keep your current installation too. We're sure that there will be issues so when you run into unexpected surprises, you can blame us (and fall-back on the current Context beta and luatex). Of course with the proper mwe's (tex, metapost, lua, or a combination of these) we will try to solve them all, we have been testing. In due time more about this project will be revealed. Hans Hagen & Alan Braslau ----------------------------------------------------------------- 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 01/04/2019 15:55, Hans Hagen wrote:
Hi all,
After more than a decade of mkiv and luatex it's time to move on to a new stage. After all, nowadays a ten-year old program is considered to be really old, especially for those who consider a manual typeset three years ago as an indication of lack of progress. Therefore: welcome to lua(meta)tex 2.00 and context lmtx, the follow up on luatex and mkiv, if you dare. It has many deep-down changes but aims to be a simple evolution.
The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try:
http://www.pragma-ade.nl/install.htm
Of course you should keep your current installation too. We're sure that there will be issues so when you run into unexpected surprises, you can blame us (and fall-back on the current Context beta and luatex). Of course with the proper mwe's (tex, metapost, lua, or a combination of these) we will try to solve them all, we have been testing. In due time more about this project will be revealed.
Hans Hagen & Alan Braslau
Hi Hans, Thanks for the link to the code. A quick install suggests that a 'hello world' is working nicely from ConTeXt. However, if I try what you might expect from me luametatex --ini latex.ltx things go a bit wrong: This is LuaMetaTeX, Version 2.00.0 (INITEX) ! error: (system): missing find_write_file callback (I also notice there is no plain-like format for testing, or at least that just "luametatex" yields an error.) Clearly things work for ConTeXt, so there must be some early Lua magic or similar required. Any thoughts? (I don't get a .log or any other output.) Joseph
On 4/1/2019 5:36 PM, Joseph Wright wrote:
On 01/04/2019 15:55, Hans Hagen wrote:
Hi all,
After more than a decade of mkiv and luatex it's time to move on to a new stage. After all, nowadays a ten-year old program is considered to be really old, especially for those who consider a manual typeset three years ago as an indication of lack of progress. Therefore: welcome to lua(meta)tex 2.00 and context lmtx, the follow up on luatex and mkiv, if you dare. It has many deep-down changes but aims to be a simple evolution.
The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try:
http://www.pragma-ade.nl/install.htm
Of course you should keep your current installation too. We're sure that there will be issues so when you run into unexpected surprises, you can blame us (and fall-back on the current Context beta and luatex). Of course with the proper mwe's (tex, metapost, lua, or a combination of these) we will try to solve them all, we have been testing. In due time more about this project will be revealed.
Hans Hagen & Alan Braslau
Hi Hans,
Thanks for the link to the code. A quick install suggests that a 'hello world' is working nicely from ConTeXt. However, if I try what you might expect from me
luametatex --ini latex.ltx
things go a bit wrong:
This is LuaMetaTeX, Version 2.00.0 (INITEX) ! error: (system): missing find_write_file callback
(I also notice there is no plain-like format for testing, or at least that just "luametatex" yields an error.)
i might cook up something plain but it has a very low priority, after all, plain works with luatex
Clearly things work for ConTeXt, so there must be some early Lua magic or similar required. Any thoughts? (I don't get a .log or any other output.) it's a stripped down "lean and mean" engine so it's very unlikely to work with plain and latex or other macro packages out of the box
a manual will come available around the context meeting, articles will be published the coming months and reveal a bit more (all this involved over half a year of development and exploration, which itself is documented which will also surface around the ctx meeting or when i feel the need) 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 Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try:
Fantastic! I’m pleased to report the first issue: on Mac OS Mojave (10.14.3) and the font Pagella, the letter ‘u’ isn’t displayed with Apple Preview -- we can’t see anything at all. Copypasting does work, though. This is more likely to be an issue with the font or Preview since the document is displayed correctly with Acrobat Reader, I just thought I’d report it :-) Best, Arthur
On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try:
Fantastic! I’m pleased to report the first issue: on Mac OS Mojave (10.14.3) and the font Pagella, the letter ‘u’ isn’t displayed with Apple Preview -- we can’t see anything at all. Copypasting does work, though. This is more likely to be an issue with the font or Preview since the document is displayed correctly with Acrobat Reader, I just thought I’d report it :-) The question is why. In a pdf glyphs are referred to by index in a font so basically there should be no issue with viewing unless a viewer does something magic. If the document views ok in another viewer .. does the
On 4/1/2019 8:35 PM, Arthur Reutenauer wrote: page print? For those curious ... there is a new pdf backend in place in lmtx. 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 Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
http://www.pragma-ade.nl/install.htm
Of course you should keep your current installation too. We're sure that there will be issues so when you run into unexpected surprises, you can blame us ...
Hello All, I run cautiously the full path /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex and got: sh: 1: luametatex: not found mtx-context | fatal error: return code: 32512 Rudolf
On Tue, Apr 02, 2019 at 09:57:40AM +0200, Rudolf Bahr wrote:
I run cautiously the full path
/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex
and got:
sh: 1: luametatex: not found
That’s because the luametatex binary (to which mtxrun actually only is a symbolic link) is in the same directory. You really need to add that location to your PATH. Best, Arthur
On 4/2/2019 10:07 AM, Arthur Reutenauer wrote:
On Tue, Apr 02, 2019 at 09:57:40AM +0200, Rudolf Bahr wrote:
I run cautiously the full path
/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex
and got:
sh: 1: luametatex: not found
That’s because the luametatex binary (to which mtxrun actually only is a symbolic link) is in the same directory. You really need to add that location to your PATH. Ah, so should one make it a full path link then (if possible)? It would make the tree not moveable so better not imo.
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 Tue, Apr 02, 2019 at 10:19:36AM +0200, Hans Hagen wrote:
Ah, so should one make it a full path link then (if possible)?
No, it doesn’t make any difference, the binary is found anyway. The problem is that mtx-context itself calls luametatex, so it needs to be in the path. Best, Arthur
On 4/2/2019 9:57 AM, Rudolf Bahr wrote:
On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
http://www.pragma-ade.nl/install.htm
Of course you should keep your current installation too. We're sure that there will be issues so when you run into unexpected surprises, you can blame us ...
Hello All,
I run cautiously the full path
/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex
and got:
sh: 1: luametatex: not found mtx-context | fatal error: return code: 32512 Did you use the installer? I assume so. What happens if you just add /home/sam/context-lmtx/tex/texmf-linux-64/bin to your path?
There is a rather fundamental difference between a regular luatex/mkiv setup and luametatex/lmtx: - in lmtx we only have one program, nothing else gets installed, there is no jit variant (and there will never be as we move on with lua: we use lua 5.4 here) - mtxrun and context are both (on all platforms) symlinks to luametatex (can you check that? the installer should manage that) - when installing there are no dependencies on other programs so missing programs cannot be a reason for a failed install (Mojca will set up the garden and that will then be the primary source; the installer which is also the updater already know this.) 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 Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
/home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex
and got:
sh: 1: luametatex: not found mtx-context | fatal error: return code: 32512
Did you use the installer? I assume so. What happens if you just add /home/sam/context-lmtx/tex/texmf-linux-64/bin to your path?
There is a rather fundamental difference between a regular luatex/mkiv setup and luametatex/lmtx:
- in lmtx we only have one program, nothing else gets installed, there is no jit variant (and there will never be as we move on with lua: we use lua 5.4 here)
- mtxrun and context are both (on all platforms) symlinks to luametatex (can you check that? the installer should manage that)
- when installing there are no dependencies on other programs so missing programs cannot be a reason for a failed install
(Mojca will set up the garden and that will then be the primary source; the installer which is also the updater already know this.)
Hans
Hi Hans, thank you for your response. Yes, I did use the installer and followed the advice under "Linux 64 bit". After having export PATH="/home/sam/context-lmtx/tex/texmf-linux-64/bin:/home/sam/context/tex/texmf-linux-64/bin:$PATH" as well as export PATH="/home/sam/context-lmtx/tex/texmf-linux-64/bin:/home/sam/context-lmtx/bin:/home/sam/context-lmtx/tex/texmf-linux-64/bin:" in my .bashrc and not forgotten "source ~/.bashrc" ofcourse :-) my (old) mkiv context runs well: context ABCD-Helmstedt-Lauf.tex but /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ABCD-Helmstedt-Lauf.tex fails still with sh: 1: luametatex: not found mtx-context | fatal error: return code: 32512 Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and lua5.2 are installed. whereis mtxrun gives: mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun whereis context gives: context: /usr/local/context /home/sam/context/tex/texmf-linux-64/bin/context Rudolf
On 4/2/2019 11:34 AM, Rudolf Bahr wrote:
Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and lua5.2 are installed. No, there are no such depencies. All is built in the binary. (The whole idea is to be independent of what eslse is installed.)
Does it work in a console? 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 Tue, Apr 02, 2019 at 11:41:08AM +0200, Hans Hagen wrote:
On 4/2/2019 11:34 AM, Rudolf Bahr wrote:
Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and lua5.2 are installed. No, there are no such depencies. All is built in the binary. (The whole idea is to be independent of what eslse is installed.)
Does it work in a console?
Hans
What do you mean exactly? All my context invoking is done in a console (and not within an editor or whatelse). BTW, what will be the short command in invoking lmtx-context? When I do "context prog.tex" I'm still invoking my mkiv context. Rudolf
On 4/2/2019 12:01 PM, Rudolf Bahr wrote:
On Tue, Apr 02, 2019 at 11:41:08AM +0200, Hans Hagen wrote:
On 4/2/2019 11:34 AM, Rudolf Bahr wrote:
Could it have something to do with the lack of lua5.4 in my PC? lua5.3 and lua5.2 are installed. No, there are no such depencies. All is built in the binary. (The whole idea is to be independent of what eslse is installed.)
Does it work in a console?
Hans
What do you mean exactly? All my context invoking is done in a console (and not within an editor or whatelse).
BTW, what will be the short command in invoking lmtx-context? When I do "context prog.tex" I'm still invoking my mkiv context. i assume that you have an independent install, i.e. not write lmtx over an existing one .. your bin path should only have
luametatex mtxrun -> luametatex context -> luametatex mtxrun.lua context.lua nothing more (in non lmtx installations mtxrun is actually a copy of mtxrun.lua) 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 Tue, Apr 02, 2019 at 12:50:40PM +0200, Hans Hagen wrote:
i assume that you have an independent install, i.e. not write lmtx over an existing one .. your bin path should only have
luametatex mtxrun -> luametatex context -> luametatex mtxrun.lua context.lua
nothing more (in non lmtx installations mtxrun is actually a copy of mtxrun.lua)
Hans
Yes, independent installation! "ls -l ./context-lmtx/tex/texmf-linux-64/bin/" gives the following: lrwxrwxrwx 1 sam sam 10 Apr 2 09:15 context -> luametatex -rw-r--r-- 1 sam sam 1315 Apr 2 09:15 context.lua -rwxr--r-- 1 sam sam 2798240 Apr 2 09:15 luametatex lrwxrwxrwx 1 sam sam 10 Apr 2 09:15 mtxrun -> luametatex -rw-r--r-- 1 sam sam 684787 Apr 2 09:15 mtxrun.lua Rudolf
On 02.04.19 11:34, Rudolf Bahr wrote:
whereis mtxrun gives: mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun
whereis context gives: context: /usr/local/context /home/sam/context/tex/texmf-linux-64/bin/context
Hmm - you're still using your old context, it should say /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun Which shell are you running?
On Tue, Apr 02, 2019 at 12:11:00PM +0200, Thomas A. Schmitz wrote:
On 02.04.19 11:34, Rudolf Bahr wrote:
whereis mtxrun gives: mtxrun: /home/sam/context/tex/texmf-linux-64/bin/mtxrun
whereis context gives: context: /usr/local/context /home/sam/context/tex/texmf-linux-64/bin/context
Hmm - you're still using your old context, it should say /home/sam/context-lmtx/tex/texmf-linux-64/bin/mtxrun
Which shell are you running?
I'm running "bash" shell. Rudolf
On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try:
I would love to try LMTX, but all of my computers are 32-bit. Is there
any chance of a 32-bit compile for Linux?
Thanks in advance,
Paul.
--
Paul Hoffman
On 4/2/2019 3:15 PM, Paul Hoffman wrote:
On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try:
I would love to try LMTX, but all of my computers are 32-bit. Is there any chance of a 32-bit compile for Linux? I tried to compile one but have no clue if it works so you need to check it.
----------------------------------------------------------------- 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 Tue, Apr 02, 2019 at 04:41:40PM +0200, Hans Hagen wrote:
On 4/2/2019 3:15 PM, Paul Hoffman wrote:
On Mon, Apr 01, 2019 at 04:55:11PM +0200, Hans Hagen wrote:
The average user will probably not notice many differences but nevertheless, when you are in for something new, you can give it a try:
I would love to try LMTX, but all of my computers are 32-bit. Is there any chance of a 32-bit compile for Linux? I tried to compile one but have no clue if it works so you need to check it.
It doesn't work for me:
------------------------------------------------------------------------
# sh install.sh
/usr/local/lmtx/bin/mtxrun: /lib/libm.so.6: version `GLIBC_2.23' not found (required by /usr/local/lmtx/bin/mtxrun)
cp: cannot stat '/usr/local/lmtx/tex/texmf-linux/bin/mtxrun': No such file or directory
cp: cannot stat '/usr/local/lmtx/tex/texmf-context/scripts/context/lua/mtxrun.lua': No such file or directory
cp: cannot stat '/usr/local/lmtx/tex/texmf-context/scripts/context/lua/mtx-install.lua': No such file or directory
If you want to run ConTeXt everywhere, you need to adapt the path, like:
export PATH=/usr/local/lmtx/tex/texmf-linux/bin:/usr/local/lmtx/bin:/usr/local/lmtx/tex/texmf-linux/bin:/root/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/qt/bin:/usr/local/rvm/bin:/usr/share/texmf/bin:/net/sw/bin
If you run from an editor you can specify the full path to mtxrun:
/usr/local/lmtx/tex/texmf-linux/bin/mtxrun --autogenerate --script context --autopdf ...
The following settings were used:
server : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl
instance : install-lmtx
extras :
ownpath : /usr/local/lmtx
platform : linux
------------------------------------------------------------------------
And here's what ldd reports:
------------------------------------------------------------------------
# ldd -v bin/mtxrun
bin/mtxrun: /lib/libm.so.6: version `GLIBC_2.23' not found (required by bin/mtxrun)
linux-gate.so.1 (0xffffe000)
libm.so.6 => /lib/libm.so.6 (0xb71bf000)
libdl.so.2 => /lib/libdl.so.2 (0xb71ba000)
libc.so.6 => /lib/libc.so.6 (0xb702e000)
/lib/ld-linux.so.2 (0xb778d000)
Version information:
bin/mtxrun:
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libc.so.6 (GLIBC_2.15) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.7) => /lib/libc.so.6
libc.so.6 (GLIBC_2.17) => /lib/libc.so.6
libc.so.6 (GLIBC_2.11) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.4) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libm.so.6 (GLIBC_2.23) => not found
libm.so.6 (GLIBC_2.1) => /lib/libm.so.6
libm.so.6 (GLIBC_2.0) => /lib/libm.so.6
/lib/libm.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
/lib/libdl.so.2:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libc.so.6:
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
------------------------------------------------------------------------
I don't think I can upgrade glibc, however -- I'm stuck on Slackware
14.1 for now.
Oh well, it's no big deal for me.
Paul.
--
Paul Hoffman
V tor., 2. apr. 2019 19:35 je oseba Paul Hoffman
It doesn't work for me:
------------------------------------------------------------------------ # sh install.sh /usr/local/lmtx/bin/mtxrun: /lib/libm.so.6: version `GLIBC_2.23' not found (required by /usr/local/lmtx/bin/mtxrun)
This should be fixed once we set up the automatic builds on the build farm. Mojca
participants (7)
-
Arthur Reutenauer
-
Hans Hagen
-
Joseph Wright
-
Mojca Miklavec
-
Paul Hoffman
-
Rudolf Bahr
-
Thomas A. Schmitz