summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3msg.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3msg.dtx44
1 files changed, 25 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx b/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx
index aa3cf3ca654..44a558917aa 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3msg.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: l3msg.dtx Copyright (C) 2009-2013 The LaTeX3 Project
+%% File: l3msg.dtx Copyright (C) 2009-2014 The LaTeX3 Project
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -33,13 +33,14 @@
%%
%% -----------------------------------------------------------------------
%
+%<*driver>
+\documentclass[full]{l3doc}
+%</driver>
%<*driver|package>
-\RequirePackage{l3bootstrap}
-\GetIdInfo$Id: l3msg.dtx 4581 2013-07-28 08:38:50Z joseph $
+\GetIdInfo$Id: l3msg.dtx 4728 2014-05-04 13:25:37Z joseph $
{L3 Messages}
%</driver|package>
%<*driver>
-\documentclass[full]{l3doc}
\begin{document}
\DocInput{\jobname.dtx}
\end{document}
@@ -231,7 +232,7 @@
% message is given, using |#1| as the name of the \meta{module} to
% be included.
% \end{function}
-%
+%
% \begin{function}[EXP]{\msg_see_documentation_text:n}
% \begin{syntax}
% \cs{msg_see_documentation_text:n} \Arg{module}
@@ -239,7 +240,7 @@
% Produces the standard text
% \begin{quote}
% \ttfamily
-%
+%
% See the \meta{module} documentation for further information.
% \end{quote}
% This function can be redefined to alter the language in which the
@@ -768,17 +769,9 @@
% \begin{macrocode}
%<*initex|package>
% \end{macrocode}
-%
-% \begin{macrocode}
-%<@@=msg>
-% \end{macrocode}
%
% \begin{macrocode}
-%<*package>
-\ProvidesExplPackage
- {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
-\__expl_package_check:
-%</package>
+%<@@=msg>
% \end{macrocode}
%
% \begin{variable}{\l_@@_internal_tl}
@@ -905,9 +898,9 @@
\tl_const:Nn \c_msg_continue_text_tl
{ Type~<return>~to~continue }
\tl_const:Nn \c_msg_critical_text_tl
- { Reading~the~current~file~will~stop }
+ { Reading~the~current~file~will~stop. }
\tl_const:Nn \c_msg_fatal_text_tl
- { This~is~a~fatal~error:~LaTeX~will~abort }
+ { This~is~a~fatal~error:~LaTeX~will~abort. }
\tl_const:Nn \c_msg_help_text_tl
{ For~immediate~help~type~H~<return> }
\tl_const:Nn \c_msg_no_info_text_tl
@@ -1350,7 +1343,7 @@
% \begin{macrocode}
\group_end:
% \end{macrocode}
-%
+%
% \begin{macro}[aux]{\@@_class_chk_exist:nT}
% Checking that a message class exists. We build this from
% \cs{cs_if_free:cTF} rather than \cs{cs_if_exist:cTF} because that
@@ -1760,7 +1753,7 @@
\c_msg_return_text_tl
}
\@@_kernel_new:nnnn { kernel } { message-redirect-loop }
- {
+ {
Message~redirection~loop~caused~by~ {#1} ~=>~ {#2}
\tl_if_empty:nF {#3} { ~for~module~' \use_none:n #3 ' } .
}
@@ -1835,6 +1828,19 @@
LaTeX~has~been~asked~to~define~the~conditional~form~'#1'~of~
the~function~'#2',~but~only~'TF',~'T',~'F',~and~'p'~forms~exist.
}
+\bool_if:NT \l@expl@check@declarations@bool
+ {
+ \@@_kernel_new:nnnn { check } { non-declared-variable }
+ { The~variable~#1~has~not~been~declared~\msg_line_context:. }
+ {
+ Checking~is~active,~and~you~have~tried~do~so~something~like: \\
+ \ \ \tl_set:Nn ~ #1 ~ \{ ~ ... ~ \} \\
+ without~first~having: \\
+ \ \ \tl_new:N ~ #1 \\
+ \\
+ LaTeX~will~create~the~variable~and~continue.
+ }
+ }
\@@_kernel_new:nnnn { kernel } { scanmark-already-defined }
{ Scan~mark~#1~already~defined. }
{