<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>Consider the following:</div><div><br></div><div><div>\documentclass{article}</div><div>\usepackage{luatexbase}</div><div>\usepackage{lipsum}</div><div>\setlength\parskip{0pt}</div><div>\begin{document}</div><div>% \directlua{ luatexbase.add_to_callback("linebreak_filter", tex.linebreak, "texlinebreak") }</div><div>\lipsum[1-5]</div><div>\end{document}</div></div><div><br></div><div>By setting parskip to 0pt this typesets the text on a grid. But uncomment the \directlua call and you get additional space between paragraphs.</div><div><br></div><div>Is this known behavior? How can I build the paragraphs with tex.linebreak and still get the expected vertical spacing?</div><div><br></div><div>Thanks,</div><div><br></div><div>Jeremie Knuesel</div><div><br></div></div>