Directory macros/latex/contrib/iexec
This LaTeX package helps you execute commands from the document and then input their output. The package uses shellesc
package. The development of this package was motivated by this.
First, install it from CTAN and then use in the preamble:
\documentclass{article} \usepackage[unskip]{iexec} \begin{document} Today is \iexec{date +\%e-\%b-\%Y}. \end{document}
Otherwise, you can download iexec.sty
and add to your project.
The full example and all commands are available in the iexec.pdf
file.
If you want to contribute yourself, make a fork, then create a branch, then run make
in the root directory. It should compile everything without errors. If not, submit an issue and wait. Otherwise, make your changes and then run make
again. If the build is still clean, submit a pull request.
Download the contents of this package in one zip archive (335.2k).
iexec – Execute shell commands and input their output
With the help of the \iexec command, you can execute a shell command and then input its output into your document. This package also lets you use any special symbols inside your command.
Package | iexec |
Repository | https://github.com/yegor256/iexec |
Version | 0.14.0 2024-01-14 |
Licenses | MIT License |
Copyright | 2021–2024 Yegor Bugayenko |
Maintainer | Yegor Bugayenko |
Contained in | TeX Live as iexec MiKTeX as iexec |
Topics | Sys supp Exec foreign |