Hi,
It seems that using tex.linebreak in the linebreak_filter callback produces
a different result (compared to the default with no callback): it changes
the spacing between paragraphs.
Consider the following:
\documentclass{article}
\usepackage{luatexbase}
\usepackage{lipsum}
\setlength\parskip{0pt}
\begin{document}
% \directlua{ luatexbase.add_to_callback("linebreak_filter", tex.linebreak,
"texlinebreak") }
\lipsum[1-5]
\end{document}
By setting parskip to 0pt this typesets the text on a grid. But uncomment
the \directlua call and you get additional space between paragraphs.
Is this known behavior? How can I build the paragraphs with tex.linebreak
and still get the expected vertical spacing?
Thanks,
Jeremie Knuesel