>>>>> "Jan" == Jan Nieuwenhuizen <[EMAIL PROTECTED]> writes:

Jan> On Thursday, 15 October 1998, Han-Wen Nienhuys writes:
>> [EMAIL PROTECTED] writes:
>> > 
>> > [EMAIL PROTECTED] said: > > I just scrapped this hooking into TeX
>> part, so its obsolete anyway.
>> > 
>> > But won't that make it even more difficult for users who don't
>> know TeX, > to install and use Lilypond?
>> > 
>> 
>> I don't really know.  A sure fact is that automatic detection of
>> the directories is a complete mess, and the current explanations
>> aren't simple either.

Jan> The only difference is that after installing LilyPond, users will
Jan> have to

Jan>     export TEXINPUTS=$TEXINPUTS:/usr/local/share/lilypond export
Jan> MFINPUTS=$MFINPUTS:/usr/local/share/lilypond

Jan> instead of doing
    
Jan>     texhash

Actually, for teTeX, the cleaner way to go is to install in the
`locally modified' TeX input hierarchy.  Then there's no need to run
texhash.

For example, in my /usr/local/teTeX/texmf.cnf I have the lines:

% Set this to the name of your local tree. You can have none, one or
% even more local texmf trees. Just make sure to list them in the TEXMFS
% variable.
TEXMFL          = /usr/local/tex.local
% Search local tree *before* the standard tree:
TEXMFS          = {$TEXMFL,!!$TEXMF}

so that no other changes need to be made if I install lilypond tex
files under /usr/local/tex.local/tex/generic/lilypond and MF sources
under /usr/local/tex.local/fonts/source/public/lilypond

No need to set environment variables, no need to run texhash.

But every TeX installation is different.  As Han-Wen has said,
auto-detection is almost impossible, and the only sure way to know
where to put the installed files is to ask.

Peter C

Reply via email to