On Friday, 4 August 2000, "James Hammons" writes:
> > OK, but what about lilypond! Did you try that from bash, now this all
> > seems to work?
>
> I thought at first it would (which is why I didn't bother), but sadly it
> doesn't:
>
> james@DEVATHLON /cygdrive/c/temp/lilypond/music
> $ lilypond american-chords.ly
> 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'
Hmm, I gave lilypond-1.3.78 a quick try on a new windows-98 box nearby,
and it works like a charm. I think you should just try harder to get
your settings right. I've installed cygwin and miktex in their default
locations.
Here are my settings:
$ cat .bashrc
#!/bin/bash
alias l='ls -ltrF'
alias p='less -MIX'
alias which='type -p'
HOME=/home/fred
PATH=/usr/lilypond/bin:$PATH
export LILYPOND=/usr/lilypond/share/lilypond
export MIKTEX=/mnt/c/texmf
export TFMFONTS=:$MIKTEX/fonts/tfm/public/cm:$LILYPOND/tfm
tineke@DOOS ~
$ l /
total 125
drwxr-xr-x 3 tineke tineke 0 Aug 27 14:38 etc/
drwxr-xr-x 3 tineke tineke 0 Aug 27 15:14 bin/
drwxr-xr-x 5 tineke tineke 0 Aug 27 15:14 lib/
drwxr-xr-x 2 tineke tineke 0 Aug 27 15:14 tmp/
drwxr-xr-x 15 tineke tineke 0 Aug 27 15:14 usr/
drwxr-xr-x 4 tineke tineke 0 Aug 27 15:14 var/
-rwxr-xr-x 1 tineke tineke 55 Aug 27 15:20 cygwin.bat*
-rw-r--r-- 1 tineke tineke 766 Aug 27 15:20 cygwin.ico
-rw-r--r-- 1 tineke tineke 242408 Aug 27 15:20 setup.log.full
-rw-r--r-- 1 tineke tineke 2161 Aug 27 15:20 setup.log
drwxr-xr-x 4 tineke tineke 0 Aug 27 15:38 home/
drwxr-xr-x 3 tineke tineke 0 Aug 27 16:36 mnt/
lrw-r--r-- 1 tineke tineke 12 Aug 27 17:37 Cygnus -> ./
lrw-r--r-- 1 tineke tineke 15 Aug 27 17:40 cygdrive -> /mnt/
tineke@DOOS ~
$ mount
Device Directory Type Flags
C:\cygwin\bin /usr/bin user binmode
C:\cygwin\lib /usr/lib user binmode
C:\cygwin / user binmode
c: /mnt/c system binmode
This is what I get:
$ kpsewhich feta20.tfm
/usr/lilypond/share/lilypond/tfm/feta20.tfm
tineke@DOOS ~
$ kpsewhich cmr10.tfm
/mnt/c/texmf/fonts/tfm/public/cm/cmr10.tfm
$ lilypond --verbose example-1.ly
GNU LilyPond 1.3.78.
[/Cygnus/usr/lilypond-1.3.78/share/lilypond/scm/lily.scm]
Now processing: `example-1.ly'
Parsing...[/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/init.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/declarations.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/scm/generic-property.scm][/Cygnus/usr/lilypond-1.3.78/share/lilypond/scm/slur.scm][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/nederlands.ly][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/chord-modifiers.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/scm/chord-names.scm]][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/script.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/scm/script.scm]][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/scale-definitions.ly][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/generic-paper.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/scm/paper.scm]][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/paper20.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/params.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/a4.ly][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/paper.ly][/Cygnus/usr/lil!
!
ypond-1.3.78/share/lilypond/ly/engraver.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/auto-beam-settings.ly][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/auto-beam-settings.ly]]]][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/midi.ly[/Cygnus/usr/lilypond-1.3.78/share/lilypond/scm/midi.scm][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/performer.ly]][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/textscripts.ly][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/spanners.ly][/Cygnus/usr/lilypond-1.3.78/share/lilypond/ly/property.ly]][example-1.ly]]
Interpreting music...[3]elapsed time: 0.35 seconds
Element count 81 Preprocessing elements... Element count 133
[/Cygnus/usr/lilypond-1.3.78/share/lilypond/afm/feta20.afm]
Calculating column positions...
warning: No feasible line breaking found
paper output to
example-1.tex...[/Cygnus/usr/lilypond-1.3.78/share/lilypond/ps/lily.ps]Element count
74.[[/usr/lilypond/share/lilypond/tfm/feta-braces20.tfm]0][[/mnt/c/texmf/fonts/tfm/public/cm/cmr10.tfm]1]
Interpreting music...elapsed time: 0.03 seconds
MIDI output to example-1.midi...
Track ... [0]
Good luck,
Jan.
--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org