lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] ambitus engraver


From: Juergen Reuter
Subject: Re: [PATCH] ambitus engraver
Date: Wed, 26 Jun 2002 15:25:16 +0200 (CEST)

On Wed, 26 Jun 2002, Jan Nieuwenhuizen wrote:

> Mats Bengtsson <address@hidden> writes:
>
> > This is nonsence. If the TEXMF variable doesn't include
> > the default teTeX texmf tree, TeX or LaTeX won't be able
> > to find any of the standard package files.
>
> Oops.  So, make that:
>
>     TEXMF="{$(pwd)/lilypond/share/lilypond/<version>, $(kpsexpand  \$TEXMF)}"
>

That will not work either.  The problem is, that on some distributions
TEXMF is not at all set, but tex will still find its own files (I guess
by evaluating $0 from the invoking shell before actually running tex).
However, *if* TEXMF is set to some value, it must include the tex
installation path.

> > Use a setting similar to the one in buildscripts/out/lilypond-profile
> > instead.
>
> Yes, but I just wanted to mention that (wrong) TEXINPUTS, TFMFONTS,
> MFINPUTS, override a (correct) TEXMF and still break things.
>
> > Also, since the build directory doesn't match the
> > standard TeX directory structure (see `texdoc tds`),
> > tex/latex won't find any of the font files or other
> > necessary files.
>
> How is that?  .62/latest CVS should create a valid tds in the build
> directory, but I'm not a guru at this (as my prev post also shows).
>
> Jan.

I am neither a TeX guru, but my TEXMF has to include at least both,
the <install_dir>/share/lilypond/1.5.63/fonts *and* the
<install_dir>/share/lilypond/1.5.63/fonts/afm directory (and probably
also the fonts/source directory, if the fonts have not yet been compiled)
to work.  So I guess, there is something wrong with the directory
structure.

I also would prefer a structure of the form
<install_dir>/share/lilypond-1.5.63 rather than
<install_dir>/share/lilypond/1.5.63, because with the former I ran into
difficulties when using symlinks: I made a symlink "1.5.63 -> .", and
"/usr/share/<directory_where_lily_fonts_usually_go> ->
/home/reuter/lilypond/share/lilypond" and "/home/reuter/lilypond ->
<install_dir>".  This made (until 1.5.58) it possible to change between
various lilypond installations on the fly by just changing the single link
/home/reuter/lilypond to point to the current version.  However, the
symlink "1.5.63 -> ." turned out to be harmful, because the next time the
tex file database is automatically updated, this leads to endless
recursive file path.  As a result, I got a huge cache file in the texmf/db
directory (ca. 20MB), which caused a delay of a some minutes each time
invoking any tex related command...

Greetings,
Juergen




reply via email to

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