diff options
author | Norbert Preining <norbert@preining.info> | 2021-08-02 03:02:40 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-08-02 03:02:40 +0000 |
commit | 7c20aed48e20b439ef64f417a7e32ce7fda44d18 (patch) | |
tree | 13cc29cf9941f8b282c5a95dcb8910f1aef9dbd5 /macros/latex/contrib/iexec/iexec.sty | |
parent | 956b25a304207d06fe012f8c8efcb13cc66e3eec (diff) |
CTAN sync 202108020302
Diffstat (limited to 'macros/latex/contrib/iexec/iexec.sty')
-rw-r--r-- | macros/latex/contrib/iexec/iexec.sty | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/macros/latex/contrib/iexec/iexec.sty b/macros/latex/contrib/iexec/iexec.sty index 34898e324c..2f8cd15bb0 100644 --- a/macros/latex/contrib/iexec/iexec.sty +++ b/macros/latex/contrib/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 |