[latex3-commits] [git/LaTeX3-latex3-latex2e] apdf161: Document why the strange name (9925a64e)

PhelypeOleinik phelype.oleinik at latex-project.org
Wed Sep 9 16:11:11 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : apdf161
Link       : https://github.com/latex3/latex2e/commit/9925a64e95c26bada0c86aad39dcfee93a7cfc5c

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

commit 9925a64e95c26bada0c86aad39dcfee93a7cfc5c
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed Sep 9 11:11:11 2020 -0300

    Document why the strange name


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

9925a64e95c26bada0c86aad39dcfee93a7cfc5c
 base/lthooks.dtx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 52649351..8f37d17f 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -1659,6 +1659,10 @@
 %    when the hook is called in the document is stored in this token
 %    list. It is constructed from the code chunks applying the
 %    information.
+%    This token list is named like that so that in case of an error
+%    inside the hook, the reported token list in the error is shorter,
+%    and to make it simpler to normalize hook names in
+%    \cs{@@_make_name:n}.
 %
 %    \item[\cs{g_@@_\meta{name}_reversed_tl}] Some hooks are
 %    \enquote{reversed}.  This token list stores a |-| for such hook





More information about the latex3-commits mailing list.