[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange parsing of define output-suffix "AA"
From: |
Villum Sejersen |
Subject: |
Strange parsing of define output-suffix "AA" |
Date: |
Tue, 30 Dec 2008 11:41:13 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.9 (X11/20080109) |
lilypond 2.12.0-1 - 2.11.65-1 and most likely older versions too
The other day I tried to spare myself some post-file-renaming, (in the
\global section in a rather simple 5-voice choral score) using:
#(define output-suffix "SAATB_d-major")
To my surprise the resulting filenames became:
MyMelodyName-S_TB_d-major, not the expected MyMelodyName-SAATB_d-major.
Experiments with other usual choral double-, triple or for that matter
quadruple-letter combinations did not show any anomalies but this one,
that all, if three or more all but the last, occurrencies of "AA",
"AAA", "AAAA" etc. become "_" in the output.
I am not sufficiently familiar with the source code to be able to
pinpoint what's wrong where (i'm a choir singer, not a programmer), but
I suspect an indexing error? ...
I ended up with the workaround:
#(define output-suffix "SA1A2TB_d-major"), which behaved as expected.
I don't believe Issue 714 or 404 are really related in this context.
--
yours sincerely Villum Sejersen
http://home20.inet.tele.dk/vsevisit
phone +45 59 91 31 57
mobil +45 30 34 03 44
- Strange parsing of define output-suffix "AA",
Villum Sejersen <=