[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Make new_graf exclusive (80105d01)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Aug 2 20:13:10 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/80105d0114ad257cc379441b2eaff98467ba46bd
>---------------------------------------------------------------
commit 80105d0114ad257cc379441b2eaff98467ba46bd
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Aug 2 20:13:10 2020 +0200
Make new_graf exclusive
>---------------------------------------------------------------
80105d0114ad257cc379441b2eaff98467ba46bd
base/changes.txt | 3 +++
base/doc/ltnews32.tex | 10 ++++++++++
base/ltluatex.dtx | 5 +++--
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index bf471ae8..f23b31ff 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -12,6 +12,9 @@ are not part of the distribution.
* fontdef.dtx, inputenc.dtx, ltfinal.dtx, ltluatex.dtx:
More consistently use \Umathcode to check for Unicode-aware engines. (gh/279)
+ * ltluatex.dtx:
+ new_graf callback type changed to exclusive
+
2020-07-27 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* ltpage.dtx (section| command.):
diff --git a/base/doc/ltnews32.tex b/base/doc/ltnews32.tex
index fdea39b6..3adcfdab 100644
--- a/base/doc/ltnews32.tex
+++ b/base/doc/ltnews32.tex
@@ -594,6 +594,16 @@ protected glyph nodes which is not affected by font shaping.
%
\githubissue{165}
+\subsection{Lua\TeX\ callback \texttt{new_graf} made \texttt{exclusive}}
+
+Corrected an incorrect callback type which caused return values from the
+\texttt{new_graf} callback to be ignored and paragraph indentation to be
+suppressed. In the new version, only one \texttt{new_graf} callback handler
+can be active at a time which allows this handler to take full control of
+paragraph indentation.
+%
+\githubissue{188}
+
\section{Changes to packages in the \pkg{graphics} category}
diff --git a/base/ltluatex.dtx b/base/ltluatex.dtx
index bf80ad25..1cda2931 100644
--- a/base/ltluatex.dtx
+++ b/base/ltluatex.dtx
@@ -28,7 +28,7 @@
\ProvidesFile{ltluatex.dtx}
%</driver>
%<*tex>
-[2020/08/01 v1.1o
+[2020/08/01 v1.1p
%</tex>
%<plain> LuaTeX support for plain TeX (core)
%<*tex>
@@ -1322,6 +1322,7 @@ local callbacktypes = callbacktypes or {
% \changes{v1.1k}{2019/10/02}{process\_rule is \texttt{exclusive}}
% \changes{v1.1k}{2019/10/02}{mlist\_to\_hlist is \texttt{exclusive}}
% \changes{v1.1l}{2020/02/02}{post\_linebreak\_filter is \texttt{reverselist}}
+% \changes{v1.1p}{2020/08/01}{new\_graf is \texttt{exclusive}}
% \begin{macrocode}
contribute_filter = simple,
buildpage_filter = simple,
@@ -1343,7 +1344,7 @@ local callbacktypes = callbacktypes or {
pre_mlist_to_hlist_filter = list,
mlist_to_hlist = exclusive,
post_mlist_to_hlist_filter = reverselist,
- new_graf = simple,
+ new_graf = exclusive,
% \end{macrocode}
% Section 8.5: information reporting callbacks.
% \changes{v1.0m}{2016/02/11}{show\_warning\_message added}
More information about the latex3-commits
mailing list.