diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-16 17:28:57 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-18 18:18:51 +0200 |
commit | 8619d89e2aa921f623bd61cac7fa723e1a9d4b40 (patch) | |
tree | 4c28c6472eedc6d6933372e612d4fa8131690752 /gnu/packages | |
parent | 04e7983502e54916161641315ac26581ed86e912 (diff) | |
download | guix-8619d89e2aa921f623bd61cac7fa723e1a9d4b40.tar.gz guix-8619d89e2aa921f623bd61cac7fa723e1a9d4b40.zip |
gnu: Add texlive-texosquery.
* gnu/packages/tex.scm (texlive-texosquery): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/tex.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index e64048dcab..2a4377385b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6551,6 +6551,55 @@ no file is specified), filters out less relevant messages, and displays a summary report.") (license license:gpl3+))) +(define-public texlive-texosquery + (package + (name "texlive-texosquery") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/support/texosquery/" + "scripts/texosquery/" + "source/support/texosquery/" + "tex/latex/texosquery/") + (base32 + "17s947p011qar5aaz11ysby3nqqrnk0qv4m26hsl5y6divqb2dan"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments + (list #:link-scripts + #~(list "texosquery-jre5.sh" "texosquery-jre8.sh" "texosquery.sh"))) + (home-page "https://ctan.org/pkg/texosquery") + (synopsis "Java application to query OS information") + (description + "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: + +@itemize +@item locale and codeset, +@item current working directory, +@item user home directory +@item temporary directory, +@item OS name, arch and version, +@item current date and time in PDF format (for TeX formats that don't provide +@code{\\pdfcreationdate}), +@item date-time stamp of a file in PDF format (for TeX formats that don't +provide @code{\\pdffilemoddate}), +@item size of a file in bytes (for TeX formats that don't provide +@code{\\pdffilesize}), +@item contents of a directory (captured as a list), +@item directory contents filtered by regular expression (captured as a list), +@item 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 +@code{\\includegraphics}. +@end itemize + +There are files provided for easy access in TeX documents. +@file{texosquery.tex} provides generic TeX code, whereas @file{texosquery.sty} +is a LaTeX package, which provides commands to run @command{texosquery} using +TeX's shell escape mechanism and capture the result in a control sequence.") + (license license:lppl1.3+))) + (define-public texlive-ticollege (package (name "texlive-ticollege") |