[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lilypond --output=directory is not working
From: |
Federico Bruni |
Subject: |
lilypond --output=directory is not working |
Date: |
Sat, 10 Mar 2018 09:18:59 +0100 |
Hi folks
I'm puzzled by this error. What I'm doing wrong?
[tmp]$ mkdir pdf
[tmp]$ cat test.ly
\version "2.18.2"
{ c1 }
[tmp]$ ls pdf
[tmp]$
[tmp]$ lilypond --output=pdf test.ly
GNU LilyPond 2.19.81
Changing working directory to: `pdf'
Processing `test.ly'
Parsing...
/usr/share/lilypond/2.19.81/ly/init.ly:43:1: error: cannot find file:
`test.ly'
(search path:
`/tmp:/usr/share/lilypond/2.19.81/fonts/svg/:/usr/share/lilypond/2.19.81/fonts/type1/:/usr/share/lilypond/2.19.81/fonts/otf/:/usr/share/lilypond/2.19.81/scm:/usr/share/lilypond/2.19.81/ps:/usr/share/lilypond/2.19.81/ly:')
\maininput
test.ly:1: warning: no \version statement found, please add
\version "2.19.81"
for future compatibility
fatal error: failed files: "test.ly"
[tmp]$
[tmp]$
[tmp]$ ls -l pdf
total 0
Why it's changing working directory to pdf before running test.ly?
The documentation in Usage 1,2 is pretty clear:
-o, --output=FILE or FOLDER
Set the default output file to FILE or, if a folder with that name
exists, direct the output to FOLDER, taking the file name from the
input file. The appropriate suffix will be added (e.g. .pdf for pdf) in
both cases.
- lilypond --output=directory is not working,
Federico Bruni <=