[Top][All Lists]

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

Re: lilypond-book problem

From: Mats Bengtsson
Subject: Re: lilypond-book problem
Date: Mon, 21 Feb 2005 11:11:24 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217

You are exactly to the point when you refer to the initialization files,
which (at least in the version you use) are really only necessary when
you want to run lilypond-book. I don't know Gentoo, but in most other
Linux distibutions, the precompiled LilyPond packages install a file
/etc/profile.d/ which means that it automatically is sourced
as soon as you open a new shell (if you use bash).

If you compiled LilyPond yourself, please make sure that you install
this file using
cp buildscripts/out/lilypond-profile /etc/profile.d/

Don't try to set TEXMF yourself, it's much better to use the solution
already available in the lilypond profile file.


Anne Defaweux wrote:

I've installed version 2.0.3 (I could not get de most recent one to work
at all). This version succeeds in building ps and pdf partition.. however, I have
a problem with the lilypond-book option. When I use the lilypond
command, it seems to work nicely (as you can see from output 1)

However, when I try to compile the output with latex, it does not find
any of the lilponds defs  (see output 2) and when giving the path to the
defs, it crashes further on the fonts...

It seems that latex does not know where to look. What should I do.
Manually trying to set TEXMF does not do it: when I do the following:
export TEXMF="{/usr/share/lilypond/2.0.3,"`kpsexpand  \\$TEXMF`"}"
I then have following value for TEXMF: bash-2.05b$ echo $TEXMF
First, lilypond-book refuses to work, second, if I use previous output
from lilypond book, and compile it with latex, I get a latex error
(output 3)

I know that there are "initialisation files" however, for the 2.0.3
version, it works without them (until the latex stuff) and with the
other version, I never found out how to get them working. (I am running
linux workstation -> gentoo distribution)

thanks for any help.

Output 1: bash-2.05b$ lilypond-book --outdir=out/ test.tex
lilypond-book (GNU LilyPond) 2.0.3
Reading `/home/tazz/perso/music/test.tex'
Running latex...
Running usr...
Now processing: `'
Interpreting music...[8][11]
Preprocessing graphical objects... Calculating line breaks... [3][6][9][11]
paper output to `lily-2018454.tex'...

Writing `out/test.latex'
Output 2:
bash-2.05b$ latex test.latex This is TeX, Version 3.14159 (Web2C 7.4.5)
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
No file test.aux.
! I can't find file `lilyponddefs'.
l.33   \input lilyponddefs
Please type another input file name: ---------------------
output 3:
bash-2.05b$ latex test.latex This is TeX, Version 3.14159 (Web2C 7.4.5)
kpathsea: Running mktexfmt latex.fmt
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `latex.fmt'!


lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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