This package browser is in early development. Mind the rough edges.

texlive-texosquery

Java application to query OS information

This package provides a Java application to query OS information designed for use in TeX'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 TeX formats that don't provide \pdfcreationdate),

  • date-time stamp of a file in PDF format (for TeX formats that don't provide \pdffilemoddate),

  • size of a file in bytes (for TeX 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 or 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 TeX documents. texosquery.tex provides generic TeX code, whereas texosquery.sty is a LaTeX package, which provides commands to run texosquery using TeX's shell escape mechanism and capture the result in a control sequence.

Installation

Install the latest version of texlive-texosquery as follows:

guix install texlive-texosquery

Or install a particular version:

guix install texlive-texosquery@2024.2

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

HTML: <a href='http://127.0.0.1:3000/packages/texlive-texosquery/'><img src='http://127.0.0.1:3000/packages/texlive-texosquery/badges/latest-version.svg'></img></a>
Markdown: [![GNU Guix](http://127.0.0.1:3000/packages/texlive-texosquery/badges/latest-version.svg)](http://127.0.0.1:3000/packages/texlive-texosquery/)
Org: [[http://127.0.0.1:3000/packages/texlive-texosquery/][http://127.0.0.1:3000/packages/texlive-texosquery/badges/latest-version.svg]]