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.



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to