----- Original Message ----- From: "David Kastrup" <d...@gnu.org>
To: "Phil Holmes" <m...@philholmes.net>
Cc: <lilypond-devel@gnu.org>
Sent: Saturday, August 06, 2011 11:26 AM
Subject: Re: Ugliness in the Learning Manual


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

Would the following patch help?

\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


I edited the texinfo.tex file in src/tex and recreated the LM.  No
difference.

Thanks.  It was worth a try, and I currently don't have the time for a
more thorough analysis.

--
David Kastrup


Actually, I've just been looking at this, and your patch almost solves the problem - *if I change the correct file*. I already have texinfo installed on my system, and I noticed that when I run it, part of the output is

(./WarningProb.texi (/usr/share/texmf/tex/texinfo/texinfo.tex

so it's looking at a different texinfo.tex than the one in my lily-git directory. This applies whether I run in inside the git directory or not. After a bit of messing about teaching myself how to change permissions so I could edit that file, I made your change to the texinfo.tex. It was successful in moving the text of my test file below the header, but not the box (i.e. it shifted it down about 1 line space).

--
Phil Holmes



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

Reply via email to