Discussion:
TL'18: LuaTeX and Lua version
(too old to reply)
Joseph Wright
2018-01-19 09:27:09 UTC
Permalink
Raw Message
Hello all,

As binary building for TL'18 has started, I've been testing LuaTeX v1.07
against the LaTeX kernel test suite (using the W32TeX binaries: thanks
Akira). Currently, I believe the plan is that TL'18 will use LuaTeX with
Lua 5.2 with a second binary for Lua 5.3 for testing.

I can understand the desire for stability in the Lua version, but at the
same time I'm not sure how much testing Lua 5.3 will get here. To use it
you'll need to select the right binary, which at least as I understand
it will be plain/iniTeX only, making using LaTeX with it a bit more 'fun'.

I've gone for the approach of simply swapping my luatex.dll and
rebuilding everything, which works for me but isn't that general. At the
same time, my understanding of the Lua 5.3 changes is that they are
largely quite specialised, and at least in initial testing don't break
e.g. luaotfload.

I wonder if

- There is a need to not simply make the change and use LuaTeX with
Lua 5.3
- That being the case, if a mechanism to 'swap' what version
"luatex"/"lualatex" point to could be arranged (symlinks/swapping
.dlls/whatever)

Joseph
Norbert Preining
2018-01-19 13:45:28 UTC
Permalink
Raw Message
Hi JOseph,
Post by Joseph Wright
- There is a need to not simply make the change and use LuaTeX with
Lua 5.3
This is up to the maintainers of luatex. Please contact them and ask
them to explain their decision.
Post by Joseph Wright
- That being the case, if a mechanism to 'swap' what version
"luatex"/"lualatex" point to could be arranged (symlinks/swapping
.dlls/whatever)
That is not easily possible, but what is possible is that we add formats
for the luatex53.

It would be much easier if the binaries are named luatex-devel or so
(as far as I remember), because fmtutil already supports this kind of
-dev binaries/formats (specifically done for luatex last or two years
ago!).

Best

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
David Carlisle
2018-01-19 14:54:38 UTC
Permalink
Raw Message
Post by Norbert Preining
Hi JOseph,
Post by Joseph Wright
- There is a need to not simply make the change and use LuaTeX with
Lua 5.3
This is up to the maintainers of luatex. Please contact them and ask
them to explain their decision.
Post by Joseph Wright
- That being the case, if a mechanism to 'swap' what version
"luatex"/"lualatex" point to could be arranged (symlinks/swapping
.dlls/whatever)
That is not easily possible, but what is possible is that we add formats
for the luatex53.
It would be much easier if the binaries are named luatex-devel or so
(as far as I remember), because fmtutil already supports this kind of
-dev binaries/formats (specifically done for luatex last or two years
ago!).
Best
Norbert
we wondered about that but in practice that makes it harder for any
real people to use as
editors and ide's etc need to then be set up to know about the new
formats, so we'll have a
year of telling people how to do that in help forums followed by a
year of telling
people why the button they set up this year fails next year when
(presumably) we go back to
just having one flavour of luatex again.

even if it wasn't integrated into tlmgr but just an add on script or
batch file or whatever, in my own setup
the easiest way of testing luatex53 seemed to be just to copy it in to
the existing (texlive 2017) bin area
as luatex and then let fmtutil(-sys) rebuild everything. I could of
course have set up texlua53 and lualatex53
as separate commands but then I'd have to configure test suites and
editors etc to use them.

David
Akira Kakuto
2018-01-19 21:05:28 UTC
Permalink
Raw Message
Hi Norbert,
Post by Norbert Preining
That is not easily possible, but what is possible is
that we add formats for the luatex53.
In order to use luatex53 as a TeX engine, with the
other luatex on lua-5.2, a little more change is needed.
I asked developers what is their plan.
They asked that luatex53 is not intended to use as above.
It is provided only for tests of lua-5.3 scripts.

If you discard luatex on lua-5.2, then it is possible to
use the present luatex53 as a TeX engine.
You have to rename it as luatex.

In W32TeX, luatex on lua-5.3, with format files, is provided
for tests and for ConTeXt:
luatex-exp-w32.tar.xz
luatex-exp-w64.tar.xz

Best,
Akira

Loading...