We can obtain the current lfs version by running luatex '\directlua{tex.write(lfs._VERSION)}\bye' && open texput.pdf Then we must remove texput.pdf and texput.log. This is a bit cumbersome. It would be great if this information could be in the credits: luatex --credits luajittex --credits BTW, is lfs 1.8 planned in forthcoming? (1.7 does not play with windows very well)
On Tue, Feb 1, 2022 at 2:25 PM Jérôme LAURENS
We can obtain the current lfs version by running
luatex '\directlua{tex.write(lfs._VERSION)}\bye' && open texput.pdf
also luatex --fmt=plain '\directlua{print(lfs._VERSION);}\bye'|grep LuaFileSystem (if grep is available ) Then we must remove texput.pdf and texput.log.
This is a bit cumbersome.
It would be great if this information could be in the credits:
luatex --credits luajittex --credits
we have several lua libs (lfs, socket, lpeg md5 ...); you can always make a script -- ver.lua print(lfs._VERSION) $>luatex --luaonly ver.lua
BTW, is lfs 1.8 planned in forthcoming? (1.7 does not play with windows very well)
hm could be. -- luigi
On 2/1/2022 2:19 PM, Jérôme LAURENS wrote:
We can obtain the current lfs version by running
luatex '\directlua{tex.write(lfs._VERSION)}\bye' && open texput.pdf
if you use print there is no pdf made luatex --ini "\catcode`\{=1 \catcode`\}=2 \directlua{print(lfs._VERSION)}"
Then we must remove texput.pdf and texput.log.
echo print(lfs._VERSION) ; os.remove("_temp_.lua") > _temp_.lua & luatex --luaonly _temp_.lua
This is a bit cumbersome.
such is tex ... logs files are part of the game .. normally you query a version (if at all) inside a tex or lua run so then there is nothing to clean up
It would be great if this information could be in the credits:
luatex --credits luajittex --credits
no need
BTW, is lfs 1.8 planned in forthcoming? (1.7 does not play with windows very well) no plans
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 (3)
-
Hans Hagen
-
Jérôme LAURENS
-
luigi scarso