From f9b28c30a3badc92aaacbb70c56e5114fc1d77ab Mon Sep 17 00:00:00 2001 From: Phil Holmes Date: Thu, 18 Aug 2011 12:38:07 +0100 Subject: [PATCH] Fixes overlapping boxes in docs: issue 1813 --- tex/texinfo.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tex/texinfo.tex b/tex/texinfo.tex index 91408263bc..caab907e0e 100644 --- a/tex/texinfo.tex +++ b/tex/texinfo.tex @@ -6051,6 +6051,12 @@ end \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip % Flag to tell @lisp, etc., not to narrow margin. \let\nonarrowing = t% + % + % If this cartouche directly follows a sectioning command, we need the + % \parskip glue (backspaced over by default) or the cartouche can + % collide with the section heading. + \ifnum\lastpenalty>10000 \vskip\parskip \fi + % \vbox\bgroup \baselineskip=0pt\parskip=0pt\lineskip=0pt \carttop -- 2.39.2