"Phil Holmes" <m...@philholmes.net> writes:

> ----- Original Message ----- 
> From: "James Lowe" <james.l...@datacore.com>
> To: "Werner LEMBERG" <w...@gnu.org>; <m...@philholmes.net>
> Cc: <lilypond-devel@gnu.org>
> Sent: Friday, August 05, 2011 1:42 PM
> Subject: RE: Ugliness in the Learning Manual
>
>
> Hello,
>
> )-----Original Message-----
> )From: lilypond-devel-bounces+james.lowe=datacore....@gnu.org
> )[mailto:lilypond-devel-bounces+james.lowe=datacore....@gnu.org] On
> )Behalf Of Werner LEMBERG
> )Sent: 05 August 2011 13:19
> )To: m...@philholmes.net
> )Cc: lilypond-devel@gnu.org
> )Subject: Re: Ugliness in the Learning Manual
> )
> )
> )> Please see the attached image of page 2 of the LM.  Anyone know why
> )> this collision occurs and how to fix it?
> )
> )Looks like a bug in texinfo.  Can you try to isolate this as much as
> possible?
> )What about using the most recent version of texinfo.tex (attached)?
> )
> )
>
> I'm sure Graham will know but it is 'probably ' to do with the
> warning/note box construction coming immediately after the Node
> without anything in between.
>
> Did you check the CG to see if we mention anything like this - there
> are some formatting 'known issues' in that where HTML and PDF don't
> always play in the same way.
>
> James
>
> ========================
>
> Nothing in the CG I can see.  I think the simplest fix is probably to
> put a forced new line after the heading.  This avoids the problem.
> See the attached.  I could make a patch with these line breaks
> included if you want?

Would the following patch help?

diff --git a/tex/texinfo.tex b/tex/texinfo.tex
index 9140826..b3d1412 100644
--- a/tex/texinfo.tex
+++ b/tex/texinfo.tex
@@ -6038,6 +6038,7 @@ end
 \newskip\lskip\newskip\rskip
 
 \envdef\cartouche{%
+  \ifvmode\the\everypar\fi % trigger headers
   \ifhmode\par\fi  % can't be in the midst of a paragraph.
   \startsavinginserts
   \lskip=\leftskip \rskip=\rightskip

-- 
David Kastrup
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to