[Top][All Lists]

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

[Lilypond-auto] Issue 3459 in lilypond: lilypond-book does not support l

From: lilypond
Subject: [Lilypond-auto] Issue 3459 in lilypond: lilypond-book does not support line-width option without size
Date: Tue, 16 Jul 2013 13:19:23 +0000

Status: Accepted
Owner: ----
Labels: Type-Scripts

New issue 3459 by address@hidden: lilypond-book does not support line-width option without size

The documentation lilypond-usage states in Music Fragment Options:

     Set line width to SIZE, using UNIT as units.  UNIT is one of the
     following strings: `cm', `mm', `in', or `pt'.  This option affects
     LilyPond output (this is, the staff length of the music snippet),
     not the text layout.

     If used without an argument, set line width to a default value (as
     computed with a heuristic algorithm).

However, running
lilypond-book xxx.tely on a file with contents

{ c1 }
@end lilypond

results in

lilypond-book xxx.tely
lilypond-book (GNU LilyPond) 2.17.23
Reading xxx.tely...
Running texi2pdf on file /tmp/tmprBmypu.texi to detect default page settings.

Traceback (most recent call last):
  File "/usr/local/bin/lilypond-book", line 768, in <module>
    main ()
  File "/usr/local/bin/lilypond-book", line 751, in main
    chunks = do_file (files[0])
  File "/usr/local/bin/lilypond-book", line 603, in do_file
    chunks = find_toplevel_snippets (source, global_options.formatter)
  File "/usr/local/bin/lilypond-book", line 357, in find_toplevel_snippets
    snip = klass (type, m, formatter, line_number, global_options)
File "/usr/local/share/lilypond/2.17.23/python/", line 335, in __init__
    self.parse_snippet_options (os, self.type)
File "/usr/local/share/lilypond/2.17.23/python/", line 402, in parse_snippet_options
    (c_key, c_value) = classic_lilypond_book_compatibility (key, value)
File "/usr/local/share/lilypond/2.17.23/python/", line 164, in classic_lilypond_book_compatibility
    m = re.match ('([-.0-9]+)(cm|in|mm|pt|staffspace)', value)
  File "/usr/lib/python2.7/", line 137, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

reply via email to

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