> ...  Where have you mounted your MikTeX drive?

It's at c:\texmf.  Pretty tought to miss!

Ok, so I set TEXFONTS=/cygdrive/c/texmf/fonts/tfm/public/cm and ran
kpsewhich:

C:\Temp\lilypond\Music>kpsewhich cmr10.tfm
lstat(/cygdrive) failed ...
/cygdrive: No such file or directory
/cygdrive/c/texmf/fonts/tfm/public/cm/cmr10.tfm

It found cmr10.tfm, but it still has that mysterious "lstat(/cygdrive)
failed ..." message in there...  So, here I thought the trouble was over,
but...

C:\Temp\lilypond\Music>ly2dvi -P american-chords
ly2dvi (GNU lilypond) 1.3.75
executing: ash -c "lilypond  american-chords 2>&1"
GNU LilyPond 1.3.75.
Now processing: `american-chords.ly'
Parsing...warning: invalid subtraction: not part of chord: e
warning: invalid subtraction: not part of chord: e

Interpreting music...[6]
Preprocessing elements...
Calculating column positions... warning: can't find font: `cmr10'
warning: Loading default font
error: can't find default font: `cmr10'
ly2dvi hmm, I could not find an output file name

After changing from ash to bash, I tried again, but still no dice...

C:\Temp\lilypond\Music>ly2dvi -P american-chords
ly2dvi (GNU lilypond) 1.3.75
executing: bash -c "lilypond  american-chords 2>&1"
GNU LilyPond 1.3.75.
Now processing: `american-chords.ly'
Parsing...warning: invalid subtraction: not part of chord: e
warning: invalid subtraction: not part of chord: e

Interpreting music...[6]
Preprocessing elements...
Calculating column positions... warning: can't find font: `cmr10'
warning: Loading default font
error: can't find default font: `cmr10'
ly2dvi hmm, I could not find an output file name

So I tried it from bash (within Cygwin), and these are the results:

james@DEVATHLON /cygdrive/c/temp/lilypond/cygnus.75b/usr/lilypond-1.3.75/bin
$ export TEXFONTS=/cygdrive/c/texmf/fonts/tfm/public/cm

james@DEVATHLON /cygdrive/c/temp/lilypond/cygnus.75b/usr/lilypond-1.3.75/bin
$ ls $TEXFONTS/cmr10.tfm
/cygdrive/c/texmf/fonts/tfm/public/cm/cmr10.tfm

james@DEVATHLON /cygdrive/c/temp/lilypond/cygnus.75b/usr/lilypond-1.3.75/bin
$ ./kpsewhich cmr10.tfm
/cygdrive/c/texmf/fonts/tfm/public/cm/cmr10.tfm

This time there's no 'lstat' message.  I wonder if that's the hangup?  But I
digress.  It should be possible to run lily from a regular DOS command line
(with help from cygwin1.dll, of course) but for some reason paths and links
don't work the way they used to...  IMO, having to install Cygwin just to
use lily on a WinXX platfrom is overkill and should be avoided if at all
possible.  In the meantime, I'll do a little more digging to see if I can
figure out why the symlinks/paths aren't working using just DOS +
cygwin1.dll...

-- Shamus


Reply via email to