[latex3-commits] [l3svn] r7078 - Documentation, code formatting

noreply at latex-project.org noreply at latex-project.org
Wed Apr 12 20:32:14 CEST 2017


Author: bruno
Date: 2017-04-12 20:32:14 +0200 (Wed, 12 Apr 2017)
New Revision: 7078

Modified:
   trunk/l3experimental/l3str/l3regex.dtx
   trunk/l3experimental/xgalley/l3galley.dtx
   trunk/l3kernel/l3int.dtx
Log:
Documentation, code formatting


Modified: trunk/l3experimental/l3str/l3regex.dtx
===================================================================
--- trunk/l3experimental/l3str/l3regex.dtx	2017-04-12 18:15:50 UTC (rev 7077)
+++ trunk/l3experimental/l3str/l3regex.dtx	2017-04-12 18:32:14 UTC (rev 7078)
@@ -1432,7 +1432,7 @@
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
-% ^^A todo: use char_generate in the rest of the file
+%
 % \begin{macro}[aux]{\@@_escape_x_test:N, \@@_escape_x_testii:N}
 %   Find out whether the first character is a left brace (allowing any
 %   number of hexadecimal digits), or not (allowing up to two
@@ -5124,7 +5124,8 @@
 %   wrapper for our purposes. The first argument is the null character
 %   with various catcodes. The second and third arguments are grabbed
 %   from the input stream: |#3| is the character whose character code to
-%   reproduce.
+%   reproduce.  We could use \cs{char_generate:nn} but only for some
+%   catcodes (active characters and spaces are not supported).
 %    \begin{macrocode}
   \cs_new_protected:Npn \@@_replacement_char:nNN #1#2#3
     {

Modified: trunk/l3experimental/xgalley/l3galley.dtx
===================================================================
--- trunk/l3experimental/xgalley/l3galley.dtx	2017-04-12 18:15:50 UTC (rev 7077)
+++ trunk/l3experimental/xgalley/l3galley.dtx	2017-04-12 18:32:14 UTC (rev 7078)
@@ -1284,7 +1284,7 @@
 \cs_new_protected:Npn \galley_par:n #1
   {
     \s__par_omit
-    \bool_if:nF \g_@@_begin_level_bool
+    \bool_if:NF \g_@@_begin_level_bool
       {
         #1
         \galley_par:

Modified: trunk/l3kernel/l3int.dtx
===================================================================
--- trunk/l3kernel/l3int.dtx	2017-04-12 18:15:50 UTC (rev 7077)
+++ trunk/l3kernel/l3int.dtx	2017-04-12 18:32:14 UTC (rev 7078)
@@ -1322,7 +1322,7 @@
 %   code seen with token list variables.
 %    \begin{macrocode}
 \cs_new_protected:Npn \int_set:Nn #1#2
-  { #1 ~ \@@_eval:w #2\@@_eval_end: }
+  { #1 ~ \@@_eval:w #2 \@@_eval_end: }
 \cs_new_protected:Npn \int_gset:Nn { \tex_global:D \int_set:Nn }
 \cs_generate_variant:Nn \int_set:Nn  { c }
 \cs_generate_variant:Nn \int_gset:Nn { c }



More information about the latex3-commits mailing list