[latex3-commits] [git/LaTeX3-latex3-latex3] l3bitset-2: move messages (c3819bf80)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Dec 23 00:30:03 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : l3bitset-2
Link       : https://github.com/latex3/latex3/commit/c3819bf80f4eb324947c670936a16231545c8011

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

commit c3819bf80f4eb324947c670936a16231545c8011
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Dec 23 00:30:03 2020 +0100

    move messages


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

c3819bf80f4eb324947c670936a16231545c8011
 l3experimental/l3bitset/l3bitset.dtx | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/l3experimental/l3bitset/l3bitset.dtx b/l3experimental/l3bitset/l3bitset.dtx
index efc1aef7b..dcafaed5c 100644
--- a/l3experimental/l3bitset/l3bitset.dtx
+++ b/l3experimental/l3bitset/l3bitset.dtx
@@ -484,7 +484,7 @@
   {
     \__kernel_chk_defined:NT #2
       {
-        #1 { LaTeX/kernel } { show-bitset }
+        #1 { LaTeX/bitset } { show-bitset }
            { \token_to_str:N #2 }
            { \bitset_to_bin:N #2  }
            { \bitset_to_arabic:N #2  }
@@ -526,7 +526,7 @@
           }
       }
       {
-        \__kernel_msg_warning:nnxx { kernel } { bitset-unknown-key }
+        \__kernel_msg_warning:nnxx { bitset } { bitset-unknown-key }
           { \token_to_str:N #1 }
           { \tl_to_str:n { #2} }
       }
@@ -542,7 +542,7 @@
           }
       }
       {
-         \__kernel_msg_warning:nnxx { kernel } { bitset-unknown-key }
+         \__kernel_msg_warning:nnxx { bitset } { bitset-unknown-key }
            { \token_to_str:N #1 }
            { \tl_to_str:n { #2} }
 
@@ -569,7 +569,7 @@
           }
       }
       {
-        \__kernel_msg_warning:nnxx { kernel } { bitset-unknown-key }
+        \__kernel_msg_warning:nnxx { bitset } { bitset-unknown-key }
           { \token_to_str:N #1 }
           { \tl_to_str:n { #2} }
       }
@@ -585,7 +585,7 @@
           }
       }
       {
-        \__kernel_msg_warning:nnxx { kernel } { bitset-unknown-key }
+        \__kernel_msg_warning:nnxx { bitset } { bitset-unknown-key }
           { \token_to_str:N #1 }
           { \tl_to_str:n { #2} }
       }
@@ -616,6 +616,18 @@
   }
 \cs_generate_variant:Nn \bitset_key:Nn  {cn}
 %    \end{macrocode}
+% \subsection{Messages}
+%    \begin{macrocode}
+ \__kernel_msg_new:nnn { bitset } { show-bitset }
+  {
+    The~bitset~#1~has~the~representation: \\
+    >~binary:~#2  \\
+    >~arabic:~#3 .
+  }
+\__kernel_msg_new:nnn { bitset } { bitset-unknown-key }
+  { The~key~'#2'~is~unknown~for~bitset~\tl_to_str:n {#1} }
+
+%    \end{macrocode}
 %    \begin{macrocode}
 %</package>
 %    \end{macrocode}





More information about the latex3-commits mailing list.