texlive[61551] Master/texmf-dist: iexec (9jan22)

commits+karl at tug.org commits+karl at tug.org
Sun Jan 9 22:19:35 CET 2022


Revision: 61551
          http://tug.org/svn/texlive?view=revision&revision=61551
Author:   karl
Date:     2022-01-09 22:19:34 +0100 (Sun, 09 Jan 2022)
Log Message:
-----------
iexec (9jan22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/iexec/iexec.pdf
    trunk/Master/texmf-dist/doc/latex/iexec/iexec.tex
    trunk/Master/texmf-dist/tex/latex/iexec/iexec.sty

Modified: trunk/Master/texmf-dist/doc/latex/iexec/iexec.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/iexec/iexec.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/iexec/iexec.tex	2022-01-09 21:19:22 UTC (rev 61550)
+++ trunk/Master/texmf-dist/doc/latex/iexec/iexec.tex	2022-01-09 21:19:34 UTC (rev 61551)
@@ -27,7 +27,7 @@
 \usepackage{ffcode}
 \title{\ff{iexec}: \LaTeX{} Package \\ for Inputable Shell Executions}
 \author{Yegor Bugayenko}
-\date{0.5.0 2022/01/08}
+\date{0.5.1 2022/01/09}
 \begin{document}
 \pagenumbering{gobble}
 \raggedbottom

Modified: trunk/Master/texmf-dist/tex/latex/iexec/iexec.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/iexec/iexec.sty	2022-01-09 21:19:22 UTC (rev 61550)
+++ trunk/Master/texmf-dist/tex/latex/iexec/iexec.sty	2022-01-09 21:19:34 UTC (rev 61551)
@@ -21,7 +21,7 @@
 % SOFTWARE.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{iexec}[2022/01/08 0.5.0 Inputable Shell Executions]
+\ProvidesPackage{iexec}[2022/01/09 0.5.1 Inputable Shell Executions]
 
 \RequirePackage{shellesc}
 \RequirePackage{pgfkeys}
@@ -42,34 +42,36 @@
 }\makeatother
 
 \makeatletter\newcommand\iexec[2][]{%
-  \pgfkeys{/iexec, #1}%
-  \ifnum\pdfshellescape=1\else%
-    \PackageError{iexec}{You must run latex with --shell-escape option}{}%
-  \fi%
-  \begingroup%
-    \let\%\@percentchar%
-    \let\\\@backslashchar%
-    \let\{\@charlb%
-    \let\}\@charrb%
-    \ShellEscape{#2 > \iexec at stdout}%
-    \message{iexec: [#2 > \iexec at stdout]}%
-  \endgroup%
-  \ifdefined\iexec at quiet
-    \message{iexec: Due to 'quiet' we didn't read the content of '\iexec at stdout'}%
-  \else%
-    \input{\iexec at stdout}%
-    \message{iexec: The content of '\iexec at stdout' was included into the document}%
-  \fi%
-  \ifiexec at trace%
-    \message{iexec: Due to package option 'trace', the file '\iexec at stdout' was not deleted}%
-  \else%
-    \ifdefined\iexec at traceit%
-      \message{iexec: Due to 'trace' option, the file '\iexec at stdout' was not deleted}%
+  \begingroup
+    \pgfqkeys{/iexec}{#1}%
+    \ifnum\pdfshellescape=1\else%
+      \PackageError{iexec}{You must run latex with --shell-escape option}{}%
+    \fi%
+    \begingroup%
+      \let\%\@percentchar%
+      \let\\\@backslashchar%
+      \let\{\@charlb%
+      \let\}\@charrb%
+      \ShellEscape{#2 > \iexec at stdout}%
+      \message{^^Jiexec: [#2 > \iexec at stdout]^^J}%
+    \endgroup%
+    \ifdefined\iexec at quiet
+      \message{^^Jiexec: Due to 'quiet' we didn't read the content of '\iexec at stdout'^^J}%
     \else%
-      \ShellEscape{rm \iexec at stdout}%
-      \message{iexec: The file '\iexec at stdout' was deleted}%
+      \input{\iexec at stdout}%
+      \message{^^Jiexec: The content of '\iexec at stdout' was included into the document^^J}%
     \fi%
-  \fi%
+    \ifiexec at trace%
+      \message{^^Jiexec: Due to package option 'trace', the file '\iexec at stdout' was not deleted^^J}%
+    \else%
+      \ifdefined\iexec at traceit%
+        \message{^^Jiexec: Due to 'trace' option, the file '\iexec at stdout' was not deleted^^J}%
+      \else%
+        \ShellEscape{rm \iexec at stdout}%
+        \message{^^Jiexec: The file '\iexec at stdout' was deleted^^J}%
+      \fi%
+    \fi%
+  \endgroup
 }\makeatother
 
 \endinput



More information about the tex-live-commits mailing list.