[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Working on issue 665, how to proceed?
From: |
Thomas Morley |
Subject: |
Re: Working on issue 665, how to proceed? |
Date: |
Sun, 17 Nov 2019 16:19:44 +0100 |
Am So., 17. Nov. 2019 um 15:44 Uhr schrieb Thomas Morley
<address@hidden>:
> And there is musicxml.ly and xml-library.scm as well.
Please always obtain a 80-characters-line-width.
In musicxml.ly you give an optional string?-argument and convert to
symbol later, why not directly?
I'd use `format“ instead of string-append.
So my suggestion would be:
musicxml =
#(define-void-function (parser location type music)
((symbol? 'dtd) ly:score-or-music?)
(_i "Print a file with the musicxml representation of @var{music} ")
(call-with-output-file
(format #f "~a~a.xml"
(ly:parser-output-name parser)
(if (ly:score? music) "-score" ""))
(lambda (port) (write-musicxml music port type))))
Cheers,
Harm
- Working on issue 665, how to proceed?, lilypond, 2019/11/15
- Re: Working on issue 665, how to proceed?, Thomas Morley, 2019/11/17
- RE: Working on issue 665, how to proceed?, lilypond, 2019/11/17
- Re: Working on issue 665, how to proceed?, Thomas Morley, 2019/11/17
- RE: Working on issue 665, how to proceed?, lilypond, 2019/11/17
- Re: Working on issue 665, how to proceed?, Thomas Morley, 2019/11/17
- Re: Working on issue 665, how to proceed?,
Thomas Morley <=
- RE: Working on issue 665, how to proceed?, lilypond, 2019/11/17
- Re: Working on issue 665, how to proceed?, David Kastrup, 2019/11/17
- RE: Working on issue 665, how to proceed?, lilypond, 2019/11/17
- Re: Working on issue 665, how to proceed?, Thomas Morley, 2019/11/17
- Re: Working on issue 665, how to proceed?, David Kastrup, 2019/11/17
- RE: Working on issue 665, how to proceed?, lilypond, 2019/11/18
Re: Working on issue 665, how to proceed?, Jacques Menu, 2019/11/17