[latex3-commits] [git/LaTeX3-latex3-latex3] luacmd: Simplify docstrip guards (470e70a11)

Marcel Fabian Krüger tex at 2krueger.de
Fri Aug 21 17:55:10 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : luacmd
Link       : https://github.com/latex3/latex3/commit/470e70a110ef832fb1d5b8b1c7d49c86a7c32659

>---------------------------------------------------------------

commit 470e70a110ef832fb1d5b8b1c7d49c86a7c32659
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Fri Aug 21 17:55:10 2020 +0200

    Simplify docstrip guards


>---------------------------------------------------------------

470e70a110ef832fb1d5b8b1c7d49c86a7c32659
 l3kernel/l3names.dtx | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/l3kernel/l3names.dtx b/l3kernel/l3names.dtx
index 702b6f5b3..4f18437a8 100644
--- a/l3kernel/l3names.dtx
+++ b/l3kernel/l3names.dtx
@@ -75,11 +75,7 @@
 % \section{\pkg{l3names} implementation}
 %
 %    \begin{macrocode}
-%<*package>
-%    \end{macrocode}
-%
-%    \begin{macrocode}
-%<*tex>
+%<*package&tex>
 %    \end{macrocode}
 %
 % The prefix here is \texttt{kernel}.  A few places need |@@| to be left
@@ -115,8 +111,7 @@
 %
 % To allow extracting \enquote{just the names}, a bit of DocStrip fiddling.
 %    \begin{macrocode}
-%</tex>
-%</package>
+%</package&tex>
 %<*names|tex>
 %<*names|package>
 %    \end{macrocode}





More information about the latex3-commits mailing list.