diff options
Diffstat (limited to 'Master/texmf-dist/source/latex-dev/base/ltexpl.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex-dev/base/ltexpl.dtx | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex-dev/base/ltexpl.dtx b/Master/texmf-dist/source/latex-dev/base/ltexpl.dtx index e86b80acaf6..5e726298b26 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltexpl.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltexpl.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltexpl.dtx} - [2020-03-05 v1.1 LaTeX Kernel (expl3-dependent code)] + [2020-05-03 v1.2b LaTeX Kernel (expl3-dependent code)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltfinal.dtx} @@ -75,7 +75,8 @@ % \changes{v1.0a}{2020/03/02} % {Don't load expl3 if already in the format (gh/295)} % \changes{v1.1}{2020/03/05} -% {Load xparse.ltx if \cs{NewDocumentCommand} is not defined by expl3.ltx} +% {Load xparse.ltx if \cs{NewDocumentCommand} is not defined +% by expl3.ltx} % \begin{macrocode} \expandafter\ifx\csname tex\string _let:D\endcsname\relax \IfFileExists{expl3.ltx} @@ -111,6 +112,44 @@ \fi %</2ekernel|latexrelease> %<latexrelease>\EndIncludeInRelease +% \end{macrocode} +% +% \subsection{Using expl3 code} +% +% \begin{macrocode} +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2020/10/01}% +%<latexrelease> {\@expl@tl@trim@spaces@apply@@nN} +%<latexrelease> {l3 macro for use in include}% +% \end{macrocode} +% In order to ease the implemantation of some new features in +% \LaTeXe\ we may (temporarily) use some coding based on the +% \pkg{expl3}-code. +% Such macros will eventually vanish and may be changed +% unannounced. They are there for internal use in the \LaTeXe\ +% kernel and are not meant to be used in third-party +% packages. These macros will always have the \verb|@expl@| +% prefix in their name. +% +% \changes{v1.2a}{2020/05/02} +% {Define a macro based on l3 language to support inclusion of +% files with space in the name (gh/217)} +% \begin{macrocode} +\ExplSyntaxOn +\cs_new_eq:NN \@expl@tl@trim@spaces@apply@@nN \tl_trim_spaces_apply:nN +\ExplSyntaxOff +% \end{macrocode} +% +% \begin{macrocode} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}% +%<latexrelease> {\@expl@tl@trim@spaces@apply@@nN} +%<latexrelease> {l3 macro for use in include}% +%<latexrelease> +%<latexrelease>\let\@expl@tl@trim@spaces@apply@@nN\@undefined +%<latexrelease> +%<latexrelease>\EndIncludeInRelease %<*2ekernel> % \end{macrocode} % |