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/lilypond.sh 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/lilypond.sh

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

   /Mats

Anne Defaweux wrote:
Hello,

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
{/usr/share/lilypond/2.0.3,
{/home/tazz/texmf,!!/usr/local/share/texmf,!!/usr/share/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.
Anne

---------------
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: `lily-2018454.ly'
Parsing...
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)
(./test.latex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def))
No file test.aux.
(./lily-2018454.tex
! 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
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to