From 7c20aed48e20b439ef64f417a7e32ce7fda44d18 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Aug 2021 03:02:40 +0000 Subject: CTAN sync 202108020302 --- macros/latex/contrib/iexec/iexec.sty | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'macros/latex/contrib/iexec/iexec.sty') 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 -- cgit v1.2.3