lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ugliness in the Learning Manual


From: David Kastrup
Subject: Re: Ugliness in the Learning Manual
Date: Fri, 05 Aug 2011 18:31:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

"Phil Holmes" <address@hidden> writes:

> ----- Original Message ----- 
> From: "James Lowe" <address@hidden>
> To: "Werner LEMBERG" <address@hidden>; <address@hidden>
> Cc: <address@hidden>
> Sent: Friday, August 05, 2011 1:42 PM
> Subject: RE: Ugliness in the Learning Manual
>
>
> Hello,
>
> )-----Original Message-----
> )From: address@hidden
> )[mailto:address@hidden On
> )Behalf Of Werner LEMBERG
> )Sent: 05 August 2011 13:19
> )To: address@hidden
> )Cc: address@hidden
> )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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]