Hm, I don't if that matters, but I would place the include option _before_ the 
filename.
Otherwise everything looks correct to me. Strange.

But it's definitely not a Frescobaldi issue anymore.

Best
Urs



Phil Burfitt <phil.burf...@talktalk.net> schrieb:
>
>David Kastrap wrote
>
>>The help string is supposed to imply using either
>>
>>-I DIR
>>
>>or
>>
>>--include=DIR
>>
>
>
>Urs Liska wrote
>
>>But please try again and put your include files in a folder without
>>spaces in the name, e.g. 'C:/guitar-lute'
>
>
>Minimal example...
>
>\version "2.17.8"
>
>\include "functions.ly"
>
>\score {
> \relative c'' { c d e f }
>}
>
>
>with functions.ly in C:\TEMP (no spaces here)
>
>
>command line:
>
>lilypond test.ly -I "C:\TEMP" 2> output.txt
>
>output.txt (copied and pasted as was done on previous examples where I
>had 
>only removed all errors due to calls to functions in functions.ly):
>
>GNU LilyPond 2.17.8
>Processing `test.ly'
>Parsing...
>test.ly:3:9: error: cannot find file: `functions.ly'
>(search path: `C:/Program 
>Files/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/scm;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/ps;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/ly;')
>\include
>         "functions.ly"
>
>Interpreting music...
>Preprocessing graphical objects...
>Finding the ideal number of pages...
>Fitting music on 1 page...
>Drawing systems...
>Layout output to `test.ps'...
>Converting to `./test.pdf'...
>warning: cannot find file: `-I'
>warning: cannot find file: `C:\TEMP'
>fatal error: failed files: "C:\\TEMP -I test.ly"
>
>
>
>command line:
>
>lilypond test.ly --include="C\:TEMP" 2> output.txt
>
>output.txt (copied and pasted)
>
>GNU LilyPond 2.17.8
>Processing `test.ly'
>Parsing...
>test.ly:3:9: error: cannot find file: `functions.ly'
>(search path: `C:/Program 
>Files/LilyPond/usr/share/lilypond/current/fonts/svg/;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/fonts/type1/;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/fonts/otf/;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/scm;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/ps;C:/Program 
>Files/LilyPond/usr/share/lilypond/current/ly;')
>\include
>"functions.ly"
>Interpreting music...
>Preprocessing graphical objects...
>Finding the ideal number of pages...
>Fitting music on 1 page...
>Drawing systems...
>Layout output to `test.ps'...
>Converting to `./test.pdf'...
>warning: cannot find file: `--include=C:\TEMP'
>fatal error: failed files: "--include=C:\\TEMP test.ly"
>
>
>Am I doing anything wrong this time?
>
>Phil.
>
>
>_______________________________________________
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to