[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks: Make debugging global (ae75da94)
Frank Mittelbach
frank.mittelbach at latex-project.org
Mon Jul 13 17:29:40 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : lthooks
Link : https://github.com/latex3/latex2e/commit/ae75da94ba23d928edf210a237d706687290cc07
>---------------------------------------------------------------
commit ae75da94ba23d928edf210a237d706687290cc07
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Mon Jul 13 17:29:40 2020 +0200
Make debugging global
>---------------------------------------------------------------
ae75da94ba23d928edf210a237d706687290cc07
base/ltshipout.dtx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/base/ltshipout.dtx b/base/ltshipout.dtx
index d6e198bd..bf783cd7 100644
--- a/base/ltshipout.dtx
+++ b/base/ltshipout.dtx
@@ -17,8 +17,8 @@
% for those people who are interested or want to report an issue.
%
% \begin{macrocode}
-\providecommand\ltshipoutversion{v0.6b}
-\providecommand\ltshipoutdate{2020/07/11}
+\providecommand\ltshipoutversion{v0.6c}
+\providecommand\ltshipoutdate{2020/07/13}
% \end{macrocode}
%
%<*driver>
@@ -460,10 +460,10 @@
%
% \subsection{Debugging}
%
-% \begin{macro}{\l_@@_debug_bool}
+% \begin{macro}{\g_@@_debug_bool}
% Holds the current debugging state.
% \begin{macrocode}
-\bool_new:N \l_@@_debug_bool
+\bool_new:N \g_@@_debug_bool
% \end{macrocode}
% \end{macro}
%
@@ -475,18 +475,18 @@
\cs_new_eq:NN \@@_debug:n \use_none:n
\cs_new_protected:Npn \shipout_debug_on:
{
- \bool_set_true:N \l_@@_debug_bool
+ \bool_gset_true:N \g_@@_debug_bool
\@@_debug_gset:
}
\cs_new_protected:Npn \shipout_debug_off:
{
- \bool_set_false:N \l_@@_debug_bool
+ \bool_gset_false:N \g_@@_debug_bool
\@@_debug_gset:
}
\cs_new_protected:Npn \@@_debug_gset:
{
\cs_gset_protected:Npx \@@_debug:n ##1
- { \bool_if:NT \l_@@_debug_bool {##1} }
+ { \bool_if:NT \g_@@_debug_bool {##1} }
}
% \end{macrocode}
% \end{macro}
More information about the latex3-commits
mailing list.