[Top][All Lists]

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

Re: LilyPond using texlive

From: Mats Bengtsson
Subject: Re: LilyPond using texlive
Date: Mon, 23 Dec 2002 15:08:15 +0100
User-agent: Internet Messaging Program (IMP) 3.0

Rune, I'm sorry I haven't answered your email from some month
ago related to this topic. Actually, Alois Stendl managed to 
point out the source of the problem in an email from Nov. 19.
What happens is that Lilypond misinterprets the font metrics
information in .afm files (I haven't checked if it is that
the .afm files we generate for the Feta fonts also are wrong
or if it's just that the .afm files for the CMR fonts use some
feature that Lilypond doesn't understand). Since the standard
teTeX installation only uses .tfm files for the default fonts, 
Lilypond finds these and everything is fine. However, it seems
that texlive and some other distributions contain also .afm
files for the CMR font, which Lilypond can't handle.

I can think of two solutions: 

  (Warning: Ugly!) Let Lilypond search for .tfm files before it
   looks for .afm files. 

  (Prefered!) Correct the bugs in the .afm file reading routines
  in Lilypond and make sure that the feta*.afm files are corrected


Quoting Rune Zedeler <address@hidden>:

> I think I have tried everything to get lilypond up and running with
> kpathsea at the uni - running some texlive distribuition.
> ly2dvi produce no errors - and a test-kpathsea-script also appear to be
> working.
> Nevertheless - on the resulting dvi, tex-output goes wrong - lilypond
> thinks that all texts have zero width - and hence output is badly
> aligned.
> The snippet
> \score {
>     <
>       \notes \transpose e' \relative c' \context Staff {
>           \property Staff.instrument = "Foo Bar"
>           c d e f g a b c c8 b a g f e d c r2 r4 r \bar "|." 
>       }
>       \lyrics \context Lyrics
>       { En kort, en laaaaaaaaaang, en trekant, en stang }
>     >
> }
> produces the attached output.
> Have anybody been able to install lilypond with texlive?
> Have anybody seen something like this before?
> Shouldn't it be possible to generate error messages when something goes
> wrong? I have attached the output (gzipoed) from ly2dvi -V on the
> example - with KPATHSEA_DEBUG set to -1.
> Please help.

reply via email to

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