diff options
author | Phil Holmes <mail@philholmes.net> | 2011-08-18 12:38:07 +0100 |
---|---|---|
committer | Phil Holmes <mail@philholmes.net> | 2011-08-18 12:38:08 +0100 |
commit | f9b28c30a3badc92aaacbb70c56e5114fc1d77ab (patch) | |
tree | 07b24e1b98ada58592615208119dc556a2ca5374 /tex | |
parent | 9a0680df4d6b24876c54981e25cab02aceac3d53 (diff) |
Fixes overlapping boxes in docs: issue 1813
Diffstat (limited to 'tex')
-rw-r--r-- | tex/texinfo.tex | 6 |
1 files changed, 6 insertions, 0 deletions
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 |