summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/iexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-12 20:16:27 +0000
committerKarl Berry <karl@freefriends.org>2021-07-12 20:16:27 +0000
commit0aafae20bbd78e6199bd9117baf7fcb44edd1b98 (patch)
tree080d2509f9ab37411fc8226d5793da3c76ac5a2f /Master/texmf-dist/doc/latex/iexec
parenta2d9c82a09cb7c4b4ee9fe7e23a69d0252488f46 (diff)
iexec (12jul21)
git-svn-id: svn://tug.org/texlive/trunk@59909 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/iexec')
-rw-r--r--Master/texmf-dist/doc/latex/iexec/README.md3
-rw-r--r--Master/texmf-dist/doc/latex/iexec/iexec.pdfbin108202 -> 108132 bytes
-rw-r--r--Master/texmf-dist/doc/latex/iexec/iexec.tex12
3 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/iexec/README.md b/Master/texmf-dist/doc/latex/iexec/README.md
index 2025d21ebd0..226069a29f4 100644
--- a/Master/texmf-dist/doc/latex/iexec/README.md
+++ b/Master/texmf-dist/doc/latex/iexec/README.md
@@ -2,7 +2,8 @@
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/iexec/blob/master/LICENSE.txt)
This LaTeX package helps you execute commands from the document and then input
-their output. The package uses [`ShellEscape`](https://ctan.org/pkg/ShellEscape) package.
+their output. The package uses [`shellesc`](https://ctan.org/pkg/shellesc) package.
+The development of this package was motivated by [this](https://stackoverflow.com/questions/3252957).
First, [install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages)
from [CTAN](https://ctan.org/pkg/iexec)
diff --git a/Master/texmf-dist/doc/latex/iexec/iexec.pdf b/Master/texmf-dist/doc/latex/iexec/iexec.pdf
index 044e9bea678..a47a9869fd6 100644
--- a/Master/texmf-dist/doc/latex/iexec/iexec.pdf
+++ b/Master/texmf-dist/doc/latex/iexec/iexec.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/iexec/iexec.tex b/Master/texmf-dist/doc/latex/iexec/iexec.tex
index 150c8fa8821..098a297045e 100644
--- a/Master/texmf-dist/doc/latex/iexec/iexec.tex
+++ b/Master/texmf-dist/doc/latex/iexec/iexec.tex
@@ -27,7 +27,7 @@
\usepackage{ffcode}
\title{\ff{iexec}: \LaTeX{} Package \\ for Inputable Shell Executions}
\author{Yegor Bugayenko}
-\date{0.3.0 2021/07/10}
+\date{0.3.1 2021/07/12}
\begin{document}
\pagenumbering{gobble}
\raggedbottom
@@ -47,17 +47,17 @@ document and then put their output to the document:
\documentclass{article}
\usepackage{iexec}
\begin{document}
-Today is \iexec{date +\%e-\%b-\%Y}.
+Today is \iexec{date +\%e-\%b-\%Y}
\end{document}
\end{ffcode}
\columnbreak
-Today is \iexec{date +\%e-\%b-\%Y}.
+Today is \iexec{date +\%e-\%b-\%Y | tr -d '\\n'}
\end{multicols}
You have to run \ff{pdflatex} (or just \ff{latex}) with the \ff{--shell-escape} flag
-in order to let \ff{ShellEscape} (the package we use) to run shell.
+in order to let \ff{shellesc} (the package we use) to run shell.
If you don't want the output to be visible,
use \ff{\char`\\phantom\char`\{\char`\\iexec\char`\{...\char`\}\char`\}}.
@@ -66,9 +66,11 @@ 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}.
+Today is \iexec[date.txt]{date +\%e-\%b-\%Y | tr -d '\\n'}.
\end{ffcode}
+The tailing part of the command here removes all ends-of-line.
+
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.