bug-lilypond
[Top][All Lists]

## Re: font map problem solved BUT another bug found in lilypond book 2.5.1

 From: Bernard Hurley Subject: Re: font map problem solved BUT another bug found in lilypond book 2.5.19 Date: Thu, 14 Apr 2005 14:06:38 +0100

On Thu, 2005-04-14 at 14:30 +0200, Mats Bengtsson wrote:
>
> Bernard Hurley wrote:
> > to the dvips call BUT all the systems display ON THE SAME LINE in the
> > final postscript file.
>
> That's what it should do! The idea is that you should be able to
> insert a small musical example in the middle of a text line.
> This is completely analogous with how you can include any other
> graphics file in a LaTeX document using \includegraphics.
> If you want your example in a separate paragraph, add a blank
> line before and after it (or use the \preLilyPondExample and
> \postLilyPondExample macros to do it for all the scores in your
> file.
>

There is some confusion here. I am not taking about several fragments
being on the same line but a score that lilypond-book has split up into
several systems being rendered all on the same line.

in my latex file but I had used the command:

\lilypondfile[indent=1.2\cm]{prelude-d.ly}

When prelude-d.ly is rendered by lilypond, it takes up about two pages
of A4 on six separate systems. These are the systems referred to in the
file lily-xxxxxxxxx-systems.tex  which is input into the final latex
file that lilypond-book builds. They should all of which should be on
separate lines, and is what happened in version 2.4. The problem cannot
be solved with \pre and \postLilyPondExample because this counts as only
one example! However this is history now as problem has now been fixed
in the latest cvs.

>
> >
> > The problem seems to be that the generated file
> > lily-xxxxxxxxx-systems.tex looks like:
> >
> > \includegraphics{lily-365734716-1.eps}%
> > \includegraphics{lily-365734716-2.eps}%
> > \includegraphics{lily-365734716-3.eps}%
> > \includegraphics{lily-365734716-4.eps}%
> > \includegraphics{lily-365734716-5.eps}%
> > \includegraphics{lily-365734716-6.eps}%
> > % eof - 'eof' is Makefile marker; do not remove.
> >
> > Whereas it should look like:
> >
> > \includegraphics{lily-365734716-1.eps}
> > \includegraphics{lily-365734716-2.eps}
> > \includegraphics{lily-365734716-3.eps}
> > \includegraphics{lily-365734716-4.eps}
> > \includegraphics{lily-365734716-5.eps}
> > \includegraphics{lily-365734716-6.eps}
> > % eof - 'eof' is Makefile marker; do not remove.
>
> That would still put them on the same line, at least if each
> music fragment is short enough. I agree that it could be discussed
> if there should be a whitespace around each example or not, though,
> so your proposal could still make sense.
>
>     /Mats
In the case of a score that lilypond-book has already split up into
separate lines, it _does_ solve the problem.
>
>
> >
> > Looks like it's getting there!
> >
> > Regards
> >
> > Bernard
> >
> > On Wed, 2005-04-13 at 18:41 +0100, Bernard Hurley wrote:
> >
> >>Hi,
> >>
> >>I seem to be having problems with font maps. I am not 100% sure this is
> >>a bug in lily. I have been trying to use lilypond-book on a latex file
> >>Test.tex that includes the line:
> >>
> >>\lilypondfile[indent=1.2\cm]{prelude-d.ly}
> >>
> >>It seems to work OK, the eps files generated seem correct (as viewed by
> >>dvips). However if I run latex and then:
> >>
> >>dvips  -u+/home/invisible/share/lilypond/2.5.19/fonts/map/lilypond.map
> >>-u+ec-mftrace.map Test.dvi
> >>
> >>I get the errors:
> >>
> >>dvips: Font CenturySchL-Ital used in file lily-333498224-1.eps is not in
> >>the mapping file.
> >>dvips: Font CenturySchL-Roma used in file lily-333498224-1.eps is not in
> >>the mapping file.
> >>
> >>Is this an error in lilypond.map or have I missed something?
> >>
> >>regards
> >>
> >>Bernard
> >>
>
--