[latex3-commits] [latex3/latex3] e-type: Switch from x- to e-type in l3sys (2c7fc83f6)
github at latex-project.org
github at latex-project.org
Tue Oct 10 11:58:44 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : e-type
Link : https://github.com/latex3/latex3/commit/2c7fc83f69ae44359459ecb36f8464f09265182a
>---------------------------------------------------------------
commit 2c7fc83f69ae44359459ecb36f8464f09265182a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Sep 26 15:02:16 2023 +0100
Switch from x- to e-type in l3sys
>---------------------------------------------------------------
2c7fc83f69ae44359459ecb36f8464f09265182a
l3experimental/l3sys-shell/l3sys-shell.dtx | 10 +++++-----
l3kernel/l3sys.dtx | 14 ++++++++------
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/l3experimental/l3sys-shell/l3sys-shell.dtx b/l3experimental/l3sys-shell/l3sys-shell.dtx
index c6621e40d..77e327454 100644
--- a/l3experimental/l3sys-shell/l3sys-shell.dtx
+++ b/l3experimental/l3sys-shell/l3sys-shell.dtx
@@ -217,7 +217,7 @@
{
\sys_if_shell_unrestricted:T
{
- \sys_shell_now:x
+ \sys_shell_now:e
{
\sys_if_platform_unix:T
{
@@ -244,7 +244,7 @@
{
\sys_if_shell_unrestricted:T
{
- \sys_shell_now:x
+ \sys_shell_now:e
{
\sys_if_platform_unix:T
{ mkdir~-p~ \exp_not:N \tl_to_str:n {#1} }
@@ -268,7 +268,7 @@
{
\sys_if_shell_unrestricted:T
{
- \sys_shell_now:x
+ \sys_shell_now:e
{
\sys_if_platform_unix:T
{
@@ -295,7 +295,7 @@
{
\sys_if_shell_unrestricted:T
{
- \sys_shell_now:x
+ \sys_shell_now:e
{
\sys_if_platform_unix:T
{ rm~-f~ \exp_not:N \tl_to_str:n {#1} }
@@ -316,7 +316,7 @@
\sys_if_shell_unrestricted:T
{
\sys_shell_mkdir:n {#1}
- \sys_shell_now:x
+ \sys_shell_now:e
{
\sys_if_platform_unix:T
{ rm~-rf~ \exp_not:N \tl_to_str:n {#1} }
diff --git a/l3kernel/l3sys.dtx b/l3kernel/l3sys.dtx
index f8bb7e061..55921a572 100644
--- a/l3kernel/l3sys.dtx
+++ b/l3kernel/l3sys.dtx
@@ -302,14 +302,16 @@
% shell escape is enabled use \cs{sys_if_shell:}.
% \end{function}
%
-% \begin{function}[added = 2017-05-27]{\sys_shell_now:n, \sys_shell_now:x}
+% \begin{function}[added = 2017-05-27]
+% {\sys_shell_now:n, \sys_shell_now:e, \sys_shell_now:x}
% \begin{syntax}
% \cs{sys_shell_now:n} \Arg{tokens}
% \end{syntax}
% Execute \meta{tokens} through shell escape immediately.
% \end{function}
%
-% \begin{function}[added = 2017-05-27]{\sys_shell_shipout:n, \sys_shell_shipout:x}
+% \begin{function}[added = 2017-05-27]
+% {\sys_shell_shipout:n, \sys_shell_shipout:e, \sys_shell_shipout:x}
% \begin{syntax}
% \cs{sys_shell_shipout:n} \Arg{tokens}
% \end{syntax}
@@ -767,7 +769,7 @@
% \end{macrocode}
% \end{variable}
%
-% \begin{macro}{\sys_shell_now:n}
+% \begin{macro}{\sys_shell_now:n, \sys_shell_now:e, \sys_shell_now:x}
% \begin{macro}{\@@_shell_now:e}
% Execute commands through shell escape immediately.
%
@@ -805,13 +807,13 @@ do
\cs_new_protected:Npn \sys_shell_now:n #1
{ \iow_now:Nn \c_@@_shell_stream_int {#1} }
}
-\cs_generate_variant:Nn \sys_shell_now:n { x }
+\cs_generate_variant:Nn \sys_shell_now:n { e, x }
%</tex>
% \end{macrocode}
% \end{macro}
% \end{macro}
%
-% \begin{macro}{\sys_shell_shipout:n}
+% \begin{macro}{\sys_shell_shipout:n, \sys_shell_shipout:e, \sys_shell_shipout:x}
% \begin{macro}{\@@_shell_shipout:e}
% Execute commands through shell escape at shipout.
%
@@ -851,7 +853,7 @@ end
\cs_new_protected:Npn \sys_shell_shipout:n #1
{ \iow_shipout:Nn \c_@@_shell_stream_int {#1} }
}
-\cs_generate_variant:Nn \sys_shell_shipout:n { x }
+\cs_generate_variant:Nn \sys_shell_shipout:n { e , x }
% \end{macrocode}
% \end{macro}
% \end{macro}
More information about the latex3-commits
mailing list.