texlive[68521] Master/texmf-dist: iexec (12oct23)

commits+karl at tug.org commits+karl at tug.org
Thu Oct 12 22:26:28 CEST 2023


Revision: 68521
          https://tug.org/svn/texlive?view=revision&revision=68521
Author:   karl
Date:     2023-10-12 22:26:27 +0200 (Thu, 12 Oct 2023)
Log Message:
-----------
iexec (12oct23)

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

Modified: trunk/Master/texmf-dist/doc/latex/iexec/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/iexec/DEPENDS.txt	2023-10-12 20:26:03 UTC (rev 68520)
+++ trunk/Master/texmf-dist/doc/latex/iexec/DEPENDS.txt	2023-10-12 20:26:27 UTC (rev 68521)
@@ -1,4 +1,19 @@
-hard shellesc
-hard pgfkeys
 hard xkeyval
-hard expl3
+soft catchfile
+soft docshots
+soft environ
+soft ffcode
+soft framed
+soft fvextra
+soft href-ul
+soft hypdoc
+soft l3build
+soft libertine
+soft minted
+soft pgf
+soft pgfopts
+soft scheme-basic
+soft tcolorbox
+soft tools
+soft xetex
+soft xstring

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

Modified: trunk/Master/texmf-dist/source/latex/iexec/iexec.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/iexec/iexec.dtx	2023-10-12 20:26:03 UTC (rev 68520)
+++ trunk/Master/texmf-dist/source/latex/iexec/iexec.dtx	2023-10-12 20:26:27 UTC (rev 68521)
@@ -50,7 +50,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{iexec}
 %<*package>
-[2022-11-01 0.11.4 Inputable Shell Executions]
+[2023-10-12 0.12.0 Inputable Shell Executions]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
@@ -94,7 +94,7 @@
 % \pagestyle{empty}
 % \begin{document}
 % Today is \textbf{%
-%   \iexec{date +\%e-\%b-\%Y}}
+%   \iexec{date +\%e-\%b-\%Y}}\unskip!
 % \end{document}
 % \end{docshot}
 
@@ -114,7 +114,7 @@
 % \DescribeMacro{quiet}
 % If you don't want the output to be visible,
 % use |\phantom\{\iexec{...}}|.
-% Otherwise, you can use |quiet| option:
+% Otherwise, you can use the ``|quiet|'' option:
 %\iffalse
 %<*verb>
 %\fi
@@ -130,7 +130,7 @@
 
 % \DescribeMacro{stdout}
 % The output of your code is saved into the file provided as an
-% optional argument of |\iexec| (the default value is |iexec.tmp|):
+% optional argument of |\iexec| (the default value is ``|iexec.tmp|''):
 %\iffalse
 %<*verb>
 %\fi
@@ -145,7 +145,7 @@
 % \DescribeMacro{stderr}
 % The error output of the code is saved into the file provided as an
 % optional argument of |\iexec| (by default the error output
-% is streamed into |stdout|):
+% is streamed into ``|stdout|''):
 %\iffalse
 %<*verb>
 %\fi
@@ -157,8 +157,8 @@
 %\fi
 
 % \DescribeMacro{exit}
-% The exit code of the command it saved into a file. You can change the name of it
-% using |exit| option:
+% The exit code of the command is saved into a file. You can change the name of it
+% using the ``|exit|'' option:
 %\iffalse
 %<*verb>
 %\fi
@@ -171,10 +171,10 @@
 
 % \DescribeMacro{trace}
 % The file specified will be deleted right after its usage. If you don't
-% want this to happen, use |trace| package option: all files will remain
+% want this to happen, use the ``|trace|'' package option: all files will remain
 % in the directory where they were created.
-% It's possible to turn tracing on globbaly, for the entire document, using
-% |trace| option of the package:
+% It's possible to turn on the tracing globbaly, for the entire document, using
+% the ``|trace|'' option of the package:
 %\iffalse
 %<*verb>
 %\fi
@@ -190,7 +190,7 @@
 %\fi
 
 % \DescribeMacro{append}
-% The stdout produced will be appended to the file specified:
+% The ``stdout'' produced will be appended to the file specified:
 %\iffalse
 %<*verb>
 %\fi
@@ -207,8 +207,25 @@
 %</verb>
 %\fi
 
+% \DescribeMacro{unskip}
+% In order to remove the tailing spacing after the content, you may use |unskip| package option,
+% which will append |\unskip| commmand to every |\iexec|:
+%\iffalse
+%<*verb>
+%\fi
+\begin{verbatim}
+\documentclass{article}
+\usepackage[unskip]{iexec}
+\begin{document}
+Today is \iexec{date +\%Y}!
+\end{document}
+\end{verbatim}
+%\iffalse
+%</verb>
+%\fi
+
 % \DescribeMacro{log}
-% The stdout produced will be printed in \TeX{} log:
+% The ``stdout'' produced will be printed in the \TeX{} log:
 %\iffalse
 %<*verb>
 %\fi
@@ -220,7 +237,7 @@
 %\fi
 
 % \DescribeMacro{null}
-% The stdout of the command will be sent to |/dev/null|:
+% The ``stdout'' of the command will be sent to ``|/dev/null|'':
 %\iffalse
 %<*verb>
 %\fi
@@ -232,8 +249,8 @@
 %\fi
 
 % \DescribeMacro{ignore}
-% By default, we report an error if exit code is not equal to zero. You can suppress
-% this with |ignore| option:
+% By default, we report an error if the exit code is not equal to zero. You can suppress
+% this with the ``|ignore|'' option:
 %\iffalse
 %<*verb>
 %\fi
@@ -269,6 +286,7 @@
 % \changes{0.7.0}{2022/09/25}{The option "append" was introduced --- if it's turned on, stdout will be appended to the file, instead of rewriting it (this is how it was before).}
 % \changes{0.7.0}{2022/09/25}{The option ``\texttt{log}'' was introduced, to turn on log/debug messages in TeX log (they were all visible always, which was sometimes annoying. Also, this option enables printing of the entire content of stdout to the log too (this may be pretty convenient for debugging).}
 % \changes{0.11.0}{2022/10/22}{The option ``\texttt{exit}'' allows to change the name of the file with exit code.}
+% \changes{0.12.0}{2023/10/12}{The option ``\texttt{unskip}'' adds \texttt{\char`\\unskip} after each \texttt{\char`\\iexec}, in order to trip the tailing end of line space.}
 %    \begin{macrocode}
 \RequirePackage{pgfkeys}
 \makeatletter\pgfkeys{
@@ -283,6 +301,7 @@
   append/.store in = \iexec at append,
   log/.store in = \iexec at log,
   null/.store in = \iexec at null,
+  unskip/.store in = \iexec at unskip,
   quiet/.store in = \iexec at quiet,
   ignore/.store in = \iexec at ignore,
   stdout,exit
@@ -423,6 +442,7 @@
         {\iexec at stdout} bytes)\fi...^^J}%
       \fi%
       \input{\iexec at stdout}%
+      \ifdefined\iexec at unskip\unskip\fi%
       \message{iexec: The content of '\iexec at stdout'
       was included into the document^^J}%
     \fi\fi%

Modified: trunk/Master/texmf-dist/tex/latex/iexec/iexec.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/iexec/iexec.sty	2023-10-12 20:26:03 UTC (rev 68520)
+++ trunk/Master/texmf-dist/tex/latex/iexec/iexec.sty	2023-10-12 20:26:27 UTC (rev 68521)
@@ -31,7 +31,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{iexec}
-[2022-11-01 0.11.4 Inputable Shell Executions]
+[2023-10-12 0.12.0 Inputable Shell Executions]
 
 
 
@@ -48,6 +48,7 @@
 
 
 
+
 \RequirePackage{shellesc}
 
 \RequirePackage{xkeyval}
@@ -70,6 +71,7 @@
   append/.store in = \iexec at append,
   log/.store in = \iexec at log,
   null/.store in = \iexec at null,
+  unskip/.store in = \iexec at unskip,
   quiet/.store in = \iexec at quiet,
   ignore/.store in = \iexec at ignore,
   stdout,exit
@@ -160,6 +162,7 @@
         {\iexec at stdout} bytes)\fi...^^J}%
       \fi%
       \input{\iexec at stdout}%
+      \ifdefined\iexec at unskip\unskip\fi%
       \message{iexec: The content of '\iexec at stdout'
       was included into the document^^J}%
     \fi\fi%



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