[latex3-commits] [git/LaTeX3-latex3-latex3] luaintarray: Fix documentation typo (fab88af8d)

Marcel Fabian Krüger tex at 2krueger.de
Tue Aug 11 13:36:22 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : luaintarray
Link       : https://github.com/latex3/latex3/commit/fab88af8d5acf73f51fdb2032ff11eac037b8492

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

commit fab88af8d5acf73f51fdb2032ff11eac037b8492
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue Aug 11 13:10:33 2020 +0200

    Fix documentation typo


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

fab88af8d5acf73f51fdb2032ff11eac037b8492
 l3kernel/l3intarray.dtx | 15 ++++++++++-----
 l3kernel/l3luatex.dtx   |  2 +-
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/l3kernel/l3intarray.dtx b/l3kernel/l3intarray.dtx
index 8b1b64911..bb76425af 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -173,7 +173,7 @@
 %<@@=intarray>
 %    \end{macrocode}
 %
-% There are two implementations for this module: One \csname{fontdimen} based one
+% There are two implementations for this module: One \cs{fontdimen} based one
 % for more traditional \TeX\ engines and a Lua based one for engines with Lua support.
 %
 % \subsection{Lua implementation}
@@ -331,11 +331,15 @@ functions[intarray_count_func] = function()
   tex.write(#@@_table())
 end
 %</lua>
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 %<*tex>
 \cs_generate_variant:Nn \intarray_count:N { c }
 %</tex>
 %    \end{macrocode}
 % \end{macro}
+% \end{macro}
 %
 % \subsubsection{Array items}
 %
@@ -368,7 +372,7 @@ functions[@@_gset_func] = function()
 end
 %</lua>
 %    \end{macrocode}
-% \begin{end}
+% \end{macro}
 %
 % \begin{macro}{\intarray_gset:Nnn, \intarray_gset:cnn, \__kernel_intarray_gset:Nnn}
 %   Set the appropriate \tn{fontdimen}.  The
@@ -441,8 +445,9 @@ functions[@@_item_func] = function()
   tex.write(item or 0)
 end
 %</lua>
-%    \begin{macrocode}
 %    \end{macrocode}
+%
+%    \begin{macrocode}
 %<*tex>
 \cs_new:Npn \__kernel_intarray_item:Nn #1#2
   { \@@_item:NwF #1 #2 { } }
@@ -636,11 +641,11 @@ end
 % \end{macro}
 % \end{macro}
 %
-%    \end{macrocode}
+%    \begin{macrocode}
 %<*lua>
 end
 %</lua>
-%    \begin{macrocode}
+%    \end{macrocode}
 %
 % \subsection{Font dimension based implementation}
 %
diff --git a/l3kernel/l3luatex.dtx b/l3kernel/l3luatex.dtx
index 6227b8834..c606b3b70 100644
--- a/l3kernel/l3luatex.dtx
+++ b/l3kernel/l3luatex.dtx
@@ -631,8 +631,8 @@ luatexbase.add_to_callback("pre_dump", function()
     end
   end
 end
-% \end{macro}
 %    \end{macrocode}
+% \end{macro}
 %
 %    \begin{macrocode}
 %</lua>





More information about the latex3-commits mailing list.