lilypond-user
[Top][All Lists]
Advanced

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

Re: Header title problem or convert-ly problem


From: -Eluze
Subject: Re: Header title problem or convert-ly problem
Date: Fri, 26 Jun 2009 11:19:28 -0700 (PDT)


Trevor Daniels wrote:
> 
> 
> 
>> maybe it should be added in the docs:
> 
> I'll do that.  I'll also fix the documentation
> to avoid misleading people in the Jay was misled.
> 
> 

thanks!

i think the whole issue comes from the two lines 279 & 280 in convert-ly.py:
    opt_parser = get_option_parser()
    (options, args) = opt_parser.parse_args ()
which return the filename split at each blank if it is not enclosed in
triple quotes.
you can verify this by printing these arguments:
  print (options, args)

these two lines also appear in the other converting routines (midi2ly, 
musicxml2ly, abc2ly, etf2ly) and i have verified that midi2ly also works
when using triple double quotes!

i don't know if anybody could change the behaviour of this routineā€¦?!

finally IMO it's worth to mention that calling these routines with a
wildcard is also working (as long as no blank is involved in your calling
statement):
  convert-ly -e *.ly
  convert-ly -e "myfiles*.ly"

this will convert all corresponding .ly files, even if they have blanks in
their name!



-- 
View this message in context: 
http://www.nabble.com/Re%3A-Header-title-problem-or-convert-ly-problem-tp24210674p24225072.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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