diff --git a/mei2ly.xsl b/mei2ly.xsl index d8e95e4..b6d8dbf 100644 --- a/mei2ly.xsl +++ b/mei2ly.xsl @@ -1091,7 +1091,15 @@ \tweak output-attributes #' - + + + + ((class . rest)) + + + + + \tweak color # diff --git a/tests/merging-rests.mei b/tests/merging-rests.mei index f860bce..6b46f21 100644 --- a/tests/merging-rests.mei +++ b/tests/merging-rests.mei @@ -44,11 +44,11 @@ - + - + diff --git a/tests/merging-rests.preview.svg b/tests/merging-rests.preview.svg index 63330ed..9f9ee58 100644 --- a/tests/merging-rests.preview.svg +++ b/tests/merging-rests.preview.svg @@ -20,19 +20,19 @@ c-25 -22 -37 -52 -37 -83c0 -24 7 -49 24 -69l84 -99c3 -3 4 -7 4 -10c0 -9 -8 -16 - - + - + - + @@ -44,11 +44,11 @@ c-25 -22 -37 -52 -37 -83c0 -24 7 -49 24 -69l84 -99c3 -3 4 -7 4 -10c0 -9 -8 -16 - - + - + @@ -65,7 +65,7 @@ c71 -84 133 -245 133 -358c0 -143 -86 -255 -180 -364c21 -68 39 -138 56 -207zM461 c0 -44 25 -91 81 -123c5 -5 7 -10 7 -15c0 -11 -10 -22 -22 -22c-3 0 -6 1 -9 2c-80 43 -117 115 -117 185c0 88 58 174 160 197c-14 58 -29 117 -46 175c-107 -121 -213 -243 -213 -403zM408 1045c-99 -48 -162 -149 -162 -259c0 -74 18 -133 36 -194 c80 97 146 198 146 324c0 55 -4 79 -20 129z" fill="currentColor"/> - +