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 -----------------------------------------------------------------