diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-09 21:19:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-09 21:19:34 +0000 |
commit | 2ee93293504145f28f4163f084b29a23a0db3c74 (patch) | |
tree | aedc3f1eb6f3b41619a78457f022190354035371 /Master/texmf-dist | |
parent | cb174a113ff3add270e32f9f848c608d3695f630 (diff) |
iexec (9jan22)
git-svn-id: svn://tug.org/texlive/trunk@61551 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/iexec/iexec.pdf | bin | 124366 -> 124370 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/iexec/iexec.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/iexec/iexec.sty | 56 |
3 files changed, 30 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/latex/iexec/iexec.pdf b/Master/texmf-dist/doc/latex/iexec/iexec.pdf Binary files differindex 25fa196e423..2b9c52cd383 100644 --- a/Master/texmf-dist/doc/latex/iexec/iexec.pdf +++ b/Master/texmf-dist/doc/latex/iexec/iexec.pdf diff --git a/Master/texmf-dist/doc/latex/iexec/iexec.tex b/Master/texmf-dist/doc/latex/iexec/iexec.tex index 0b9d0470264..2af507e7b36 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.5.0 2022/01/08} +\date{0.5.1 2022/01/09} \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 a15cd50942a..e4cd6a57808 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}[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@stdout}% - \message{iexec: [#2 > \iexec@stdout]}% - \endgroup% - \ifdefined\iexec@quiet - \message{iexec: Due to 'quiet' we didn't read the content of '\iexec@stdout'}% - \else% - \input{\iexec@stdout}% - \message{iexec: The content of '\iexec@stdout' was included into the document}% - \fi% - \ifiexec@trace% - \message{iexec: Due to package option 'trace', the file '\iexec@stdout' was not deleted}% - \else% - \ifdefined\iexec@traceit% - \message{iexec: Due to 'trace' option, the file '\iexec@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@stdout}% + \message{^^Jiexec: [#2 > \iexec@stdout]^^J}% + \endgroup% + \ifdefined\iexec@quiet + \message{^^Jiexec: Due to 'quiet' we didn't read the content of '\iexec@stdout'^^J}% + \else% + \input{\iexec@stdout}% + \message{^^Jiexec: The content of '\iexec@stdout' was included into the document^^J}% + \fi% + \ifiexec@trace% + \message{^^Jiexec: Due to package option 'trace', the file '\iexec@stdout' was not deleted^^J}% \else% - \ShellEscape{rm \iexec@stdout}% - \message{iexec: The file '\iexec@stdout' was deleted}% + \ifdefined\iexec@traceit% + \message{^^Jiexec: Due to 'trace' option, the file '\iexec@stdout' was not deleted^^J}% + \else% + \ShellEscape{rm \iexec@stdout}% + \message{^^Jiexec: The file '\iexec@stdout' was deleted^^J}% + \fi% \fi% - \fi% + \endgroup }\makeatother \endinput |