lilypond-book breaks up --process arguments on Mac OS X

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

lilypond-book breaks up --process arguments on Mac OS X

Michael Haynie
On Mac OS X, with lilypond version 2.6.4, lilypond-book is
apparently interpreting arguments multiple
times, resulting is separation of quoted arguments,
as the following transcript indicates:

$ lilypond-book -f latex --psfonts --process='lilypond -b eps -H title' book.ltx

lilypond-book: error: getopt says: `option -b not recognized'

Usage: lilypond-book [OPTIONS]... FILE

Process LilyPond snippets in hybrid HTML, LaTeX, or texinfo document.
Example usage:

   lilypond-book --filter="tr '[a-z]' '[A-Z]'" BOOK
   lilypond-book --filter="convert-ly --no-version --from=2.0.0 -" BOOK
   lilypond-book --process='lilypond -I include' BOOK


Options:
  -f, --format=FMT        use output format FMT (texi [default], texi-html,
                          latex, html)
  -F, --filter=FILTER     pipe snippets through FILTER [convert-ly -n -]
  -h, --help              print this help
  -I, --include=DIR       add DIR to include path
  -o, --output=DIR        write output to DIR
  -P, --process=COMMAND   process ly_files using COMMAND FILE...
      --psfonts           extract all PostScript fonts into INPUT.psfonts for LaTeX
                          must use this with dvips -h INPUT.psfonts
  -V, --verbose           be verbose
  -v, --version           print version information
  -w, --warranty          show warranty and copyright


Report bugs to [hidden email].


The lilypond app installation instructions indicate that a
wrapper script be installed in
/usr/local/bin/lilypond-script-wrapper.sh.  It seems likely
that problem is in passing the
input arguments to the
internal python script.  Suggest "$@" instead.  




_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
Reply | Threaded
Open this post in threaded view
|

Re: lilypond-book breaks up --process arguments on Mac OS X

Han-Wen Nienhuys
Michael Haynie wrote:
>
> The lilypond app installation instructions indicate that a
> wrapper script be installed in
> /usr/local/bin/lilypond-script-wrapper.sh.  It seems likely
> that problem is in passing the
> input arguments to the
> internal python script.  Suggest "$@" instead.  

thanks. Fixed!

--
  Han-Wen Nienhuys - [hidden email] - http://www.xs4all.nl/~hanwen


_______________________________________________
bug-lilypond mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-lilypond