CTAN Comprehensive TeX Archive Network

CTAN update: texosquery

Date: February 6, 2020 3:10:44 PM CET
Nicola Talbot submitted an update to the texosquery package. Version number: 1.7 2020-02-04 License type: lppl1.3 Summary description: Cross-platform Java application to query OS information Announcement text:
- Renamed scratch variable to avoid conflict. - The default version set in texosquery.cfg is now texosquery-jre8 since Java 7 has long passed its end of life and texosquery-jre8 has been on the restricted list since 2017. (If you have Java 5, 6 or 7 or if you don't have texosquery-jre8 on your restricted list then you need to edit your texosquery.cfg file to reflect your system settings.) - Modified bash scripts to improve cygwin support.
This package is located at http://mirror.ctan.org/support/texosquery More information is at https://www.ctan.org/pkg/texosquery
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

texosquery – Cross-platform Java application to query OS information

This package provides a cross-platform Java application to query OS information designed for use in ’s shell escape mechanism.

The application can query the following:

  • locale and codeset
  • current working directory
  • user home directory
  • temporary directory
  • OS name, arch and version
  • Current date and time in PDF format (for formats that don’t provide \pdfcreationdate)
  • Date-time stamp of a file in PDF format (for formats that don't provide \pdffilemoddate)
  • Size of a file in bytes (for formats that don’t provide \pdffilesize)
  • Contents of a directory (captured as a list)
  • Directory contents filtered by regular expression (captured as a list)
  • URI of a file
  • Canonical path of a file

All paths use a forward slash as directory divider so results can be used, for example, in commands like \includegraphics.

There are files provided for easy access in documents:

  • texosquery.tex: generic code
  • texosquery.sty: package

This provides commands to run texosquery using ’s shell escape mechanism and capture the result in a control sequence. The category code of most of ’s default special characters (and some other potentially problematic characters) is temporarily changed to 12 while reading the result.

Packagetexosquery
Version1.7 2020-02-04
Copyright2016–2020 Nicola Talbot
MaintainerNicola Talbot

Announcements

more

Guest Book Sitemap Contact Contact Author