summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-01 20:36:49 +0000
committerKarl Berry <karl@freefriends.org>2021-08-01 20:36:49 +0000
commit65317a9dc9ff76702305df532d23e0c514b79ed7 (patch)
treef03e4b744726c4089f688fccf1e0c32aa385afe4 /Master
parente7ffd7cea985cd4bb7789a935203c73843dcd804 (diff)
iexec (1aug21)
git-svn-id: svn://tug.org/texlive/trunk@60138 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/iexec/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/iexec/iexec.pdfbin108132 -> 107917 bytes
-rw-r--r--Master/texmf-dist/doc/latex/iexec/iexec.tex2
-rw-r--r--Master/texmf-dist/tex/latex/iexec/iexec.sty9
4 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/iexec/README.md b/Master/texmf-dist/doc/latex/iexec/README.md
index 226069a29f4..b147ac146cd 100644
--- a/Master/texmf-dist/doc/latex/iexec/README.md
+++ b/Master/texmf-dist/doc/latex/iexec/README.md
@@ -13,7 +13,7 @@ and then use in the preamble:
\documentclass{article}
\usepackage{iexec}
\begin{document}
-Today is \iexec{date +\%e-\%b-\%Y}.
+Today is \iexec{date +\%e-\%b-\%Y | tr -d '\\n'}.
\end{document}
```
diff --git a/Master/texmf-dist/doc/latex/iexec/iexec.pdf b/Master/texmf-dist/doc/latex/iexec/iexec.pdf
index a47a9869fd6..ad364b67dee 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 098a297045e..4929b996313 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.1 2021/07/12}
+\date{0.4.0 2021/08/01}
\begin{document}
\pagenumbering{gobble}
\raggedbottom
diff --git a/Master/texmf-dist/tex/latex/iexec/iexec.sty b/Master/texmf-dist/tex/latex/iexec/iexec.sty
index 34898e324c0..2f8cd15bb0d 100644
--- a/Master/texmf-dist/tex/latex/iexec/iexec.sty
+++ b/Master/texmf-dist/tex/latex/iexec/iexec.sty
@@ -21,7 +21,7 @@
% SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{iexec}[2021/07/12 0.3.1 Inputable Shell Executions]
+\ProvidesPackage{iexec}[2021/08/01 0.4.0 Inputable Shell Executions]
\RequirePackage{shellesc}
@@ -30,7 +30,10 @@
\DeclareOptionX{trace}{\tracetrue}
\ProcessOptionsX\relax
-\makeatletter\newcommand\iexec[2][iexec.tmp]{%
+\newcommand\iexec[2][iexec.tmp]{%
+ \ifnum\pdfshellescape=1\else
+ \PackageError{iexec}{You must run latex with --shell-escape option}{}
+ \fi
\begingroup%
\let\%\@percentchar%
\let\\\@backslashchar%
@@ -41,6 +44,6 @@
\endgroup%
\input{#1}%
\iftrace\else\ShellEscape{rm #1}\fi%
-}\makeatother
+}
\endinput