[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MusicXml2Ly - problem with spaces in paths and filenames
From: |
Reinhold Kainhofer |
Subject: |
Re: MusicXml2Ly - problem with spaces in paths and filenames |
Date: |
Mon, 23 Feb 2009 23:00:24 +0100 |
User-agent: |
KMail/1.11.0 (Linux/2.6.27-11-generic; KDE/4.2.0; i686; ; ) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Montag, 23. Februar 2009 19:49:33 Phil wrote:
> Musicxml2ly will not accept input files with spaces in the path or filename
> - even if quoted.
Hmm, this seems to work just fine here on Linux (notice that the current
directory contains a space, and the test file, too. Quoting them either way
works just fine):
address@hidden:~/temp/test dir$ musicxml2ly test\ with\ spaces.xml
Reading MusicXML from test with spaces.xml ...
Converting to LilyPond expressions...
Output to `test with spaces.ly'
address@hidden:~/temp/test dir$ musicxml2ly "test with spaces.xml"
Reading MusicXML from test with spaces.xml ...
Converting to LilyPond expressions...
Output to `test with spaces.ly'
> Musicxml2ly: Would it be possible to have new line/line returns in output
> .ly - its a little difficult reading the unformatted lilypond file in
> notepad or lilypad.
musicxml2ly properly prints out newlines:
address@hidden:~/temp/test dir$ cat test\ with\ spaces.ly
[...]
PartPOneVoiceOne = \relative g, {
\clef "treble" \key c \major \time 4/4 g4 a4 b4 c4 | % 2
d4 e4 f4 g4 | % 3
a4 b4 c4 d4 | % 4
e4 f4 g4 a4 | % 5
b4 c4 d4 e4 | % 6
f4 g4 a4 b4 | % 7
c4 d4 e4 f4 | % 8
g4 a4 b4 c4 | % 9
gis,,,,4 ais4 bis4 cis4 | \barNumberCheck #10
dis4 eis4 fis4 gis4 | % 11
ais4 bis4 cis4 dis4 | % 12
eis4 fis4 gis4 ais4 | % 13
bis4 cis4 dis4 eis4 | % 14
[...]
I suppose this is a problem with Windows using different newline characters...
Unfortunately (well, not really;-) ) I only have access to machines running
Linux, so I can't help you with any Windows-specific problems...
Maybe someone else has an idea what might be the problem with these two
issues?
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJoxx5TqjEwhXvPN0RAnd1AJ0ePmIL+pj+fH+oe3vqhAqx3VELWgCfei5n
RJNBEqCLpocq0FBtuS45k8g=
=tZlM
-----END PGP SIGNATURE-----