bug-lilypond
[Top][All Lists]
Advanced

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

Re: musicxml2ly: multi-lined headers collide


From: pls
Subject: Re: musicxml2ly: multi-lined headers collide
Date: Tue, 14 Feb 2012 23:49:39 +0100

Am 14.02.2012 um 23:13 schrieb -Eluze:

> 
> 
> pls-2 wrote:
>> 
>> Hey all,
>> 
>> header elements containing several lines of text including line breaks,
>> e.g.
>> 
>>      <creator type="composer">John Francis Wade (1711–1786)</creator>
>>      <creator type="lyricist">German: Friedrich Heinrich Ranke
>> (1798–1876)
>> Latin: John Francis Wade (1711–1786)</creator>
>> 
>> are converted by musicxml2ly v2.15.29 into single lines of text without
>> line breaks, leading to text collisions.
>> 
> I can't see where the xml code specifies several lines of text including
> line breaks - did I miss something?
No, you are quite right. The XML markup doesn't specify several lines of text 
or – to put it differently – there aren't any "line tags". But the <creator 
type="lyricist">-element in the example above still contains a line break 
(after (1798–1876)). In case of part-names musicxml2ly is already able to 
recognize these line breaks:

MusicXML:
<!-- snip -->
                <score-part id="P5">
                        <part-name>Violino 1.
di ripieno.</part-name>
                        <score-instrument id="P5-I14">
                                <instrument-name>Violin</instrument-name>
                        </score-instrument>
                        <midi-instrument id="P5-I14">
                                <midi-channel>4</midi-channel>
                                <midi-program>41</midi-program>
                        </midi-instrument>
                </score-part>
<!-- snip -->

LilyPond:
% snip %
\set Staff.instrumentName = \markup { \column { \line {"Violino 1."} \line {"di 
ripieno."} } }
% snip %

hth
patrick

> Eluze
> -- 
> View this message in context: 
> http://old.nabble.com/musicxml2ly%3A-multi-lined-headers-collide-tp33324342p33325538.html
> Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.
> 
> 
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond




reply via email to

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