[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Define missing function in ltluatex (00df196e)

Marcel Fabian Krüger tex at 2krueger.de
Wed Aug 11 02:12:27 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/00df196ee1d1345d30da62687ab24881a6c0447b

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

commit 00df196ee1d1345d30da62687ab24881a6c0447b
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Wed Aug 11 02:12:27 2021 +0200

    Define missing function in ltluatex
    
    Fixes #644.


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

00df196ee1d1345d30da62687ab24881a6c0447b
 base/changes.txt      | 6 ++++++
 base/doc/ltnews34.tex | 9 +++++++++
 base/ltluatex.dtx     | 4 +++-
 3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/base/changes.txt b/base/changes.txt
index 2c7c7a34..eb3d8cc2 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2021-08-11  Marcel Krüger  <Marcel.Krueger at latex-project.org>
+
+	* ltluatex.dtx:
+	Define missing local copy of flush_list in ltluatex.lua found
+	by Michal Vlasák.
+
 2021-07-31  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* ltoutput.dtx (subsubsection{Float control}):
diff --git a/base/doc/ltnews34.tex b/base/doc/ltnews34.tex
index 4f94269c..28358642 100644
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@ -324,6 +324,15 @@ that it can be used by \pkg{hyperref}.
 \githubissue{633}
 
 
+\subsection{Fix dropping math lists in Lua\TeX\ callbacks}
+
+The Lua\TeX\ callbacks \texttt{pre_mlist_to_hlist_filter}
+and \texttt{post_mlist_to_hlist_filter} no longer create an error if
+the callback handler indicates to remove the entire math block.
+%
+\githubissue{644}
+
+
 \subsection{???}
 
 %
diff --git a/base/ltluatex.dtx b/base/ltluatex.dtx
index 3b9a3377..2508f5a7 100644
--- a/base/ltluatex.dtx
+++ b/base/ltluatex.dtx
@@ -28,7 +28,7 @@
 \ProvidesFile{ltluatex.dtx}
 %</driver>
 %<*tex>
-[2021/04/18 v1.1t
+[2021/08/11 v1.1u
 %</tex>
 %<plain>  LuaTeX support for plain TeX (core)
 %<*tex>
@@ -912,12 +912,14 @@ local luatexbase = luatexbase
 % \end{macro}
 %
 % Some Lua best practice: use local versions of functions where possible.
+% \changes{v1.1u}{2021/08/11}{Define missing local function}
 %    \begin{macrocode}
 local string_gsub      = string.gsub
 local tex_count        = tex.count
 local tex_setattribute = tex.setattribute
 local tex_setcount     = tex.setcount
 local texio_write_nl   = texio.write_nl
+local flush_list       = node.flush_list
 %    \end{macrocode}
 % \changes{v1.0i}{2015/11/29}{Declare this as local before used in the module error definitions (PHG)}
 %    \begin{macrocode}





More information about the latex3-commits mailing list.