l3sys-query__source

System queries for LaTeX using Lua

Version:
Copyright:
The LaTeX3 Project
License:
mit
Packaged on:
04/11/2024 09:06:24
Number of files:
4
Size on disk:
14.56 kB

The l3sys-query script provides a method for TeX runs to obtain system information via shell escape to Lua. The facilities are more limited than the similar Java script texosquery, but since it uses Lua, l3sys-query can be used out of the box; with any installed TeX system. The script is written taking account of TeX Live security requirements; it is therefore suitable for use with restricted shell escape, the standard setting when installing a TeX system. The supported queries are lsDirectory listing supporting a range of options pwdObtaining details of the current working directory