]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fixes overlapping boxes in docs: issue 1813
authorPhil Holmes <mail@philholmes.net>
Thu, 18 Aug 2011 11:38:07 +0000 (12:38 +0100)
committerPhil Holmes <mail@philholmes.net>
Thu, 18 Aug 2011 11:38:08 +0000 (12:38 +0100)
tex/texinfo.tex

index 91408263bc9c8ab0ad735c0974872d2f1cf58dc0..caab907e0ed808d5acee717a06bce3579d98e8a1 100644 (file)
@@ -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