jacques-menu / musicformats

The code base, documentation and examples of textual music scores formats handling and conversions tools
Mozilla Public License 2.0
2 stars 2 forks source link

xml2ly: Invalid ligature bracket syntax emitted #6

Open lemzwerg opened 5 months ago

lemzwerg commented 5 months ago

[ef5018a8347cc3762c2f0b401e6389e186ff1cba]

Consider the MusicXML file in the attached archive and process it with

xml2ly ligature-bracket.xml > ligature-bracket.ly

xml2ly emits the ligature bracket in an incorrect way, using \[ before and after the note (which causes a LilyPond warning):

\[ b'4 \[ b' b' \]  | % 3

Instead, it should emit \[ only before the note:

\[ b'4 b' b' \]  | % 3

ligature-bracket.zip