[latex3-commits] [git/LaTeX3-latex3-latex3] l3text: Add a stub l3text source (7741b6c20)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Nov 25 12:39:51 CET 2019
Repository : https://github.com/latex3/latex3
On branch : l3text
Link : https://github.com/latex3/latex3/commit/7741b6c20a208c313f8b69b96e117cc1554ae9cb
>---------------------------------------------------------------
commit 7741b6c20a208c313f8b69b96e117cc1554ae9cb
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Nov 25 11:39:51 2019 +0000
Add a stub l3text source
>---------------------------------------------------------------
7741b6c20a208c313f8b69b96e117cc1554ae9cb
l3kernel/l3.ins | 1 +
l3kernel/l3format.ins | 1 +
l3kernel/{l3legacy.dtx => l3text.dtx} | 41 +++++++----------------------------
3 files changed, 10 insertions(+), 33 deletions(-)
diff --git a/l3kernel/l3.ins b/l3kernel/l3.ins
index d9c7f2e6c..59e2e6809 100644
--- a/l3kernel/l3.ins
+++ b/l3kernel/l3.ins
@@ -104,6 +104,7 @@ and all files in that bundle must be distributed together.
\from{l3coffins.dtx} {package}
\from{l3luatex.dtx} {package,tex}
\from{l3unicode.dtx} {package}
+ \from{l3text.dtx} {package}
\from{l3candidates.dtx} {package}
\from{l3legacy.dtx} {package}
\from{l3deprecation.dtx}{package,kernel}
diff --git a/l3kernel/l3format.ins b/l3kernel/l3format.ins
index fd68d03d2..7b66b24c4 100644
--- a/l3kernel/l3format.ins
+++ b/l3kernel/l3format.ins
@@ -104,6 +104,7 @@ and all files in that bundle must be distributed together.
\from{l3coffins.dtx} {initex}
\from{l3luatex.dtx} {initex,tex}
\from{l3unicode.dtx} {initex}
+ \from{l3text.dtx} {initex}
\from{l3candidates.dtx} {initex}
% ======== FORMAT ONLY =========
\from{l3final.dtx} {initex}
diff --git a/l3kernel/l3legacy.dtx b/l3kernel/l3text.dtx
similarity index 53%
copy from l3kernel/l3legacy.dtx
copy to l3kernel/l3text.dtx
index c49ac91e7..da472ed8e 100644
--- a/l3kernel/l3legacy.dtx
+++ b/l3kernel/l3text.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: l3legacy.dtx
+%% File: l3text.dtx
%
% Copyright (C) 2019 The LaTeX3 Project
%
@@ -30,8 +30,9 @@
%</driver>
% \fi
%
+%
% \title{^^A
-% The \textsf{l3legacy} package\\ Interfaces to legacy concepts^^A
+% The \textsf{l3text} package: text processing^^A
% }
%
% \author{^^A
@@ -49,50 +50,24 @@
%
% \begin{documentation}
%
-% There are a small number of \TeX{} or \LaTeXe{} concepts which are not used
-% in \pkg{expl3} code but which need to be manipulated when working as a \LaTeXe{}
-% package. To allow these to be integrated cleanly into \pkg{expl3} code, a set
-% of legacy interfaces are provided here.
-%
-% \begin{function}[EXP,pTF]{\legacy_if:n}
-% \begin{syntax}
-% \cs{legacy_if:nTF} \Arg{name} \Arg{true code} \Arg{false code}
-% \end{syntax}
-% Tests if the \LaTeXe{}/plain \TeX{} conditional (generated by \tn{newif})
-% if \texttt{true} or \texttt{false} and branches accordingly. The
-% \meta{name} of the conditional should \emph{omit} the leading \texttt{if}.
-% \end{function}
+% \section{\pkg{l3text} documentation}
%
% \end{documentation}
%
% \begin{implementation}
%
-% \section{\pkg{l3legacy} Implementation}
-%
-% \begin{macrocode}
-%<*package>
-% \end{macrocode}
+% \section{\pkg{l3text} implementation}
%
% \begin{macrocode}
-%<@@=legacy>
+%<*initex|package>
% \end{macrocode}
%
-% \begin{macro}[EXP,pTF]{\legacy_if:n}
-% A friendly wrapper.
% \begin{macrocode}
-\prg_new_conditional:Npnn \legacy_if:n #1 { p , T , F , TF }
- {
- \exp_args:Nc \if_meaning:w { if#1 } \iftrue
- \prg_return_true:
- \else:
- \prg_return_false:
- \fi:
- }
+%<@@=text>
% \end{macrocode}
-% \end{macro}
%
% \begin{macrocode}
-%</package>
+%</initex|package>
% \end{macrocode}
%
% \end{implementation}
More information about the latex3-commits
mailing list