lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond command-line --include (was Frescobaldi 2.0.11)


From: Urs Liska
Subject: Re: Lilypond command-line --include (was Frescobaldi 2.0.11)
Date: Wed, 16 Oct 2013 22:29:54 +0200
User-agent: K-9 Mail for Android

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 <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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