diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-09 03:00:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-09 03:00:53 +0000 |
commit | fbacb8167ccd172bb0b177974778f228ad41691d (patch) | |
tree | 8ad1c76a4dabddbc25abf75b1bc14238e811e9c4 /macros/latex/contrib/iexec/iexec.tex | |
parent | cd2e7ab7ef89a5c3c1935281009729bff0f357e2 (diff) |
CTAN sync 202201090300
Diffstat (limited to 'macros/latex/contrib/iexec/iexec.tex')
-rw-r--r-- | macros/latex/contrib/iexec/iexec.tex | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/macros/latex/contrib/iexec/iexec.tex b/macros/latex/contrib/iexec/iexec.tex index cc58780c23..0b9d047026 100644 --- a/macros/latex/contrib/iexec/iexec.tex +++ b/macros/latex/contrib/iexec/iexec.tex @@ -27,7 +27,7 @@ \usepackage{ffcode} \title{\ff{iexec}: \LaTeX{} Package \\ for Inputable Shell Executions} \author{Yegor Bugayenko} -\date{0.4.1 2022/01/02} +\date{0.5.0 2022/01/08} \begin{document} \pagenumbering{gobble} \raggedbottom @@ -66,7 +66,7 @@ The output of your code is saved into the file provided as the second optional argument of \ff{\char`\\iexec} (the default value is \ff{iexec.tmp}): \begin{ffcode} -Today is \iexec[date.txt]{date +\%e-\%b-\%Y | tr -d '\\n'}. +Today is \iexec[stdout=date.txt]{date +\%e-\%b-\%Y | tr -d '\\n'}. \end{ffcode} The tailing part of the command here removes all ends-of-line. @@ -75,6 +75,14 @@ The file specified will be deleted right after its usage. If you don't want this to happen, use \ff{trace} package option: all files will remain in the directory. +There are a few options you can provide for the \ff{\char`\\iexec} command: + +\begin{itemize} + \item \ff{trace}: to prevent the deletion of the file; + \item \ff{stdout=...}: to set the name of the file where the standard output of the command will be saved; + \item \ff{quiet}: to prevent including of the content into the document. +\end{itemize} + More details about this package you can find in the \ff{yegor256/iexec} GitHub repository. |