]> git.donarmstrong.com Git - lilypond.git/commitdiff
* ly/property-init.ly (hideStaffSwitch): remove turnOff.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 13 Sep 2004 21:09:23 +0000 (21:09 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 13 Sep 2004 21:09:23 +0000 (21:09 +0000)
* scripts/convert-ly.py (conv): change Both to Neutral in property
settings.

22 files changed:
ChangeLog
Documentation/user/notation.itely
input/les-nereides.ly
input/mutopia/F.Schubert/morgenlied.ly
input/mutopia/F.Schubert/standchen.ly
input/mutopia/J.S.Bach/baerenreiter-sarabande.ly
input/mutopia/J.S.Bach/bwv940.ly
input/mutopia/J.S.Bach/wtk1-fugue2.ly
input/mutopia/R.Schumann/romanze-op28-2.ly
input/regression/beam-extreme.ly
input/regression/beam-multiple-cross-staff.ly
input/regression/new-slur.ly
input/regression/slur-broken-trend.ly
input/regression/slur-nice.ly
input/regression/spacing-to-grace.ly
input/regression/stem-shorten.ly
input/regression/stem-tremolo.ly
input/test/music-box.ly
ly/catalan.ly
ly/property-init.ly
scripts/abc2ly.py
scripts/convert-ly.py

index 046533828763e646cf43cebf42e5b8bb9c42c6c3..94f6608bb00dcd25aac099eb08089405a5479c79 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2004-09-13  Han-Wen Nienhuys   <hanwen@xs4all.nl>
+
+       * ly/property-init.ly (hideStaffSwitch): remove turnOff.
+
+       * scripts/convert-ly.py (conv): change Both to Neutral in property
+       settings.
+
+       * ly/engraver-init.ly: increase extent of Staff. 
+
 2004-09-13  Graham Percival  <gperlist@shaw.ca>
 
        * scm/script.scm: change behaviour of slur and accent.
@@ -27,7 +36,7 @@
        document them.
 
        * scm/page-layout.scm (ly:optimal-page-breaks): use new parameters
-       to get sane spaces for titles.
+       to get sane spaces for titles.
 
        * ly/book-paper-defaults.ly: new parameters aftertitlespace,
        beforetitlespace, betweentitlespace.
index 02245471f2df2df1886c06ac36b1da159b951025..699ed991a5ec274d2e6a258380aca580ac8a1678 100644 (file)
@@ -6064,8 +6064,9 @@ incipit of transcriptions of mensural pieces.  The @code{mensural}
 style mimics the look of historical printings of the 16th century.
 
 The following examples shows the differences in style,
+
 @lilypond[raggedright]
-{
+\relative c' {
   \time 2/2
   c1^\markup { \hspace #-2.0 \typewriter default }
 
index a1daa3342788fdb7c58af6c4facf1bb0de9c22b9..0beb14cdb1c6ba2f8dbaf5e04946441d7d1f11de 100644 (file)
@@ -1,5 +1,5 @@
 #(ly:set-option 'old-relative)
-\version "2.3.16"
+\version "2.3.17"
 \encoding "latin1"
 \header {
     composer = "ARTHUR GRAY"
@@ -136,7 +136,7 @@ bass = \new Voice \relative c{
     <a'' eis cis>4)\arpeggio
     
     \change Staff=bass
-    \stemBoth
+    \stemNeutral
     
     r8. cis,,16(\sustainUp <fis fis,>8 <gis gis,>
     
@@ -157,7 +157,7 @@ bass = \new Voice \relative c{
     \stemDown
     <b,, b,>4
     \clef treble
-    \stemBoth
+    \stemNeutral
     <<
         %urg: staff-change: ! on dis
         <cis'' a fis dis!>\arpeggio
@@ -192,7 +192,7 @@ bass = \new Voice \relative c{
     a,8\sustainDown e'[-5(<a cis>])-2-3
     %%r b,-5 <e-3 gis-5 d'>4
     r b,-5\sustainUp\sustainDown <e gis d'>4-3-5
-    \slurBoth
+    \slurNeutral
     \once \override Fingering  #'extra-offset = #'(0 . -1) %tweak
     e,8[-5(\sustainUp
     
@@ -201,7 +201,7 @@ bass = \new Voice \relative c{
     a)-2]\sustainDown
     \slurUp
     e'[(<a cis>)] r b,\sustainUp\sustainDown <e gis d'>4
-    \slurBoth
+    \slurNeutral
     e,8[(\sustainUp
     
     | %7
index 3c1a61456ddd99e3b36425bd7382ab3df0fa1e9d..df43d3b4cc63c36c1ed56f834845e2c0ddd919fc 100644 (file)
@@ -27,7 +27,7 @@ been lowered
 
 }
 
-\version "2.3.16"
+\version "2.3.17"
 manuscriptBreak = { \break }
 
 
@@ -59,7 +59,7 @@ melody =    \relative c'' \repeat volta 2 \context Voice = singer {
   e4 c8
     <<
        \new Voice { \stemUp f8. g16 }
-       { \stemDown f8.[ g16] } >> \stemBoth a8 |
+       { \stemDown f8.[ g16] } >> \stemNeutral a8 |
   fis4  g8 c16[ b a g] f[ e] |
   d4 f8 a16[ g fis g] f[ d] |
   g4. r8 gis gis |
index 07ce77bc62705ede2b101b37012322ea4b6018ac..4da834f27b0de8cd5c1df5591da1402da9ca53e2 100644 (file)
@@ -42,7 +42,7 @@ instrument = "Piano"
  footer = "Mutopia-2001/04/27-xx"
 } 
 
-\version "2.3.16"
+\version "2.3.17"
 
 dynamicUp = \override DynamicLineSpanner  #'direction = #1
 dynamicRevert = \revert DynamicLineSpanner #'direction
@@ -211,7 +211,7 @@ trebleVerseOne = \relative c{
 }
 
 trebleEentje =  \relative c' \context Voice {
-       \stemBoth
+       \stemNeutral
        <e e'>2 r4 |
        <f as!>2\(\mf <as c>8.(-> <f as>16)\) |
        % urg: slurs with staccati are ugly
@@ -226,7 +226,7 @@ trebleEentje =  \relative c' \context Voice {
 }
 
 trebleThrough =  \relative c'{
-       \stemBoth
+       \stemNeutral
        <e e'>2. |
        %61
        R2. |
index 9455ccd652b84baade90294ad97df9c2039d53bb..21467229ca9c957b70e3d5644b5d8fec0240520d 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.3.16"
+\version "2.3.17"
 
 % #(ly:set-point-and-click 'line-column)
 
@@ -107,7 +107,7 @@ sarabandeA =  \context Voice  \relative c {
   |
   \stemUp
   d4 d,16 a'( b cis d e f g) |
-  \stemBoth
+  \stemNeutral
   \forcedLastBreak
   %%25
   << { a16(b c b) c4. b16(a) |
index 3bdc0a11850f966b3dc28571fd8f55689613998a..a0c40e148e8c07c8af1be321e03caa7e9024f6ab 100644 (file)
@@ -1,5 +1,5 @@
 #(ly:set-option 'old-relative)
-\version "2.3.16"
+\version "2.3.17"
 
 %{
  Header for Petites Preludes.
@@ -45,7 +45,7 @@ one = \relative c{
        \skip 1 |
        \stemUp
        r4 d''2 cis4 |
-       \stemBoth
+       \stemNeutral
        d16 a' g f  e f cis d 
        e8.\mordent f16  d8.\prall cis16 |
        \stemUp\tieUp
@@ -84,14 +84,14 @@ two = \relative c{
 three = \relative c{
        \stemUp
        f2 e |
-       \stemBoth
+       \stemNeutral
        d16 d' c bes  a bes f g 
        a8.\mordent bes16 
        g8.\prall f16 |
        f2 g4 gis |
        a2 ~ a16 a g f  e f c d |
        %5
-       e8.\mordent f16  d8.\prall c16 \stemBoth c4. d8 |
+       e8.\mordent f16  d8.\prall c16 \stemNeutral c4. d8 |
        \stemDown       \tieDown
 
        e4 ~ e16 f e d  cis a b cis  d e f d |
index 26e46c959ebde9855694557b048edeee919424c9..2a540d20dd8fb7bec4f8d0d6bcdd05d4b1b215a7 100644 (file)
@@ -44,7 +44,7 @@
 %}
 
 
-\version "2.3.16"
+\version "2.3.17"
 
 
 
@@ -128,7 +128,7 @@ comes = \context Voice=one  \relative c'' {
   f f16 e f8 c8 d4 r8 d |
   es8 es16 d es8 bes c es16 d es8 f |
   bes, es16 d es8 f as,16 bes c4 bes16 as |
-  \stemBoth g16 es f g as bes c d es d c d es f g a |
+  \stemNeutral g16 es f g as bes c d es d c d es f g a |
   bes f, g as bes c d e f es d es f g a b |
 %%15
   \stemUp c8 b16 a g f! es d c8 es d c |
@@ -180,7 +180,7 @@ bassdux = \context Voice=three  \relative c' {
   c16 d es8~ es16 a, bes c d es f8~ f16 b, c d |
 %%20 
 % es8 r r e f f, es! d |     % -> \classic_accidentals
-  es8 r r e \stemBoth \stemDown f f, es! d \stemBoth |
+  es8 r r e \stemNeutral \stemDown f f, es! d \stemNeutral |
   r as' g f g f16 es f8 g |
   c16 d es d c bes as g f bes' as g f es d c |
   bes c d c bes as g f es as' g f es d c bes |
index c6272a397891e9dd79389c32aa3cb993092c83ab..56c96735ff3dd74911907f7572d438b7a5cfa125 100644 (file)
@@ -5,7 +5,7 @@
 
 #(set-global-staff-size 16)
 
-\version "2.3.16"
+\version "2.3.17"
 
 \header {
   title = "Romanzen"
@@ -75,7 +75,7 @@ righta =  \transpose c cis' {
  \m  f,[( \u c^3 f c] \m  g,[ \u c^4] \m  a,[ \u c^2 a c8  cis16)] |
  \m  a,[( \u d^2 a d] \m  c[ \u d c' d] \m  b,[ \u  d)^3] r8 |
  \m  c16[( \u f c' f] \m  es[ \u f es' f] \m  d[ \u  f)^3] \m  f[( \u as^2] |
-  f'[  as)] \m  f[( \u as f'  as)] r8^\fermata r16 e'^2( f' g' | \stemBoth \tieBoth
+  f'[  as)] \m  f[( \u as f'  as)] r8^\fermata r16 e'^2( f' g' | \stemNeutral \tieNeutral
  as' des'^1 c'8^\markup { \finger "2-3" } h~h  c'16) \clef F  e,16[(^2 f, g,] |
  \forcedBreak
 
@@ -85,7 +85,7 @@ righta =  \transpose c cis' {
   f) f'-5( e'-5 d'-4 c'-3  f')-5 <f^4 a^5>4( <e^3 g^5>8 |
  <a, f^4>4 <g, e^3>8 f16^4 d'^5~ d'8.[ c'16^4] |
  \forcedBreak 
- << f8)^3_\pp \context Voice = another { \m  a,16[ \u c8 c16] } >> \m  g,[ \u c_3] \m  b,[^\markup { \finger "2-1" } \u c8 c16] \m  a,[ \u c]~ | \stemBoth
+ << f8)^3_\pp \context Voice = another { \m  a,16[ \u c8 c16] } >> \m  g,[ \u c_3] \m  b,[^\markup { \finger "2-1" } \u c8 c16] \m  a,[ \u c]~ | \stemNeutral
  c16 c8_4 c c16~c c8_2 c c16~ |
  c16 c8 c c16~c c8 c c16~ |
  c16 c8 c c16 r4^\fermata r8 | \bar "|."
@@ -140,7 +140,7 @@ rightb =  \transpose c cis' {
   \revert Stem #'stroke-style }
   f4) e8 |
  f g16_2 b_1 a_2 gis_1 c_2 h, c cis_1 d_2 b,_1 |
- \tieDown c4.~<f, c  >16\< \tieBoth <f h>~ < f^3 h >8[\>\! < e b^2> \!] |
+ \tieDown c4.~<f, c  >16\< \tieNeutral <f h>~ < f^3 h >8[\>\! < e b^2> \!] |
  \change Staff=mid
  \transpose c' c {
   a4^1( g8^1 b4 a8^2 |
@@ -162,7 +162,7 @@ lefta =  \transpose c cis {
    d4)^1 f8^1^\accent(~f e^. dis^1^. |
   e4^1 d8^1~d  c4)^1 |
  }
- \d \tieBoth \slurDown
+ \d \tieNeutral \slurDown
  <<
  \transpose c' c {
   g4 a8~a f g | a4 g8~g f e |
@@ -225,7 +225,7 @@ leftb =  \transpose c cis {
  fis^1 d d, d  a[ d_2] g, d g d_3  b,[_5( g_2] |
   a) c_3 f, c  c'[ f_2] b, f b f_3 d' as |
  h, as d' as h, as( f'4.)^\fermata\arpeggio_2 ~
- \d \stemDown f'8. \clef G \stemBoth \tieBoth \phrasingSlurDown
+ \d \stemDown f'8. \clef G \stemNeutral \tieNeutral \phrasingSlurDown
    \transpose c c' { e16[_4( f g]  as[ des_3]  c8[_4 <h, d f d'>)]~ |
  <h, d f d'>} \clef F <c_3 f_1>[( <b,_4 e^2>] <a,_5 eis^1>8.) h,16_4\( c d |
  \voiceTwo
index 50f68d76af3437a1eee130942d84a03e3cabcad2..30791698df73175580d39e4d6b5cfe598769852a 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.3.16"
+\version "2.3.17"
 \header{
 texidoc="
 Beams should behave reasonably well, even under extreme circumstances.
@@ -10,17 +10,17 @@ under normal circumstances, these beams would get knees here
 }
 
 extreme = \relative c'' {
-  \stemBoth
+  \stemNeutral
    g8[ c c,]
    c16[ c'' a f]
   \stemUp 
    c,,32[ c'' a f]
 
   %%%%%%%
-  \stemBoth
+  \stemNeutral
   \times 2/3{ d16[ fis' d,]} \times 2/3{ cis[ g'' cis,,]}
   a'16 cis a, g''' % Used to give a nice beam directed upwards.
-  \stemBoth
+  \stemNeutral
 
   \transpose c c {
          \stemDown  e'8[ e e']
index fbc5a4d54b9fc5c88ce9e78aeef5ee4fd3291032..ce5636bcc04d6688a2426c459e37fe31639269c6 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.3.16"
+\version "2.3.17"
 \header {
 
     texidoc = "Kneed beams (often happens with cross-staff beams)
@@ -13,7 +13,7 @@ to the last beam.
             \context Staff = SA {
                 \stemDown
                  c8[ c16 \change Staff = SB \stemUp c16 ]
-                \stemBoth
+                \stemNeutral
                  f[ g \change Staff = SA a c] 
                               }
             \context Staff = SB \relative c' {
index 40f182e57fb374cb023a12eb5e47ed9822ad6bd0..2908984fcf933dc3ae1eb4daa76b43f47f527410 100644 (file)
@@ -3,7 +3,7 @@
     texidoc = "Scoring based slur formatting."
 }
 
-\version "2.3.16"
+\version "2.3.17"
 \paper {
     raggedright = ##t
 %    #(define debug-slur-scoring #t)
@@ -35,7 +35,7 @@
     <c g>^( f <g b>) f
     <c g>_( f <g b>)
     <g b>_( g  <b d>)
-    <g b>_( \stemDown g \stemBoth  <b d>)
+    <g b>_( \stemDown g \stemNeutral  <b d>)
     c,^( c'' c) 
     c,,^( c'')
     c,,^( c')
index 9c0b040f998472743fdc99d4440ba9a040ebc555..5bcf479af41b374f7ae0cbdf0d1f93d2f6b26c74 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.3.16"
+\version "2.3.17"
 
 \header{
 texidoc="
@@ -31,7 +31,11 @@ in unbroken state.
     a2.)
     \stemUp
     <d='' d'>8( <c c'> \break
-    <bis f' b>)
-    
+    <bis f' b>) s2..\break
+    \stemNeutral
+    \relative  { c'8[( c c c] g2 ~ | \break
+               g1) | \break
+               \slurDown c8[( c] g4 ~ g2 ~ | \break
+               g2 ~ g2) }
 }
 
index f062b78245fd1170b40ca69156c4ae41481e8205..42f82ac598b27a648fba3caf2ce9cd7ce2870a3b 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.3.16"
+\version "2.3.17"
 \header{
 texidoc="
 Slurs should look nice and symmetric.  The curvature may increase
@@ -12,11 +12,11 @@ run through noteheads or stems.
        \relative c''{
                \time 3/4
                \slurUp
-               \stemBoth a ( \stemDown a \stemBoth  a) a( c  a) a( e'  a,) a( g'  a,)
+               \stemNeutral a ( \stemDown a \stemNeutral  a) a( c  a) a( e'  a,) a( g'  a,)
                \stemUp a( e'  a,)
                \break
                \slurDown
-               \stemBoth c ( \stemUp c \stemBoth  c) c ( a  c) c( d,  c') c( f,  c')
+               \stemNeutral c ( \stemUp c \stemNeutral  c) c ( a  c) c( d,  c') c( f,  c')
                \stemDown c( f,  c')
        }
        \paper{
index 8cfba1313bcbb999e2114067d99f2079b9745dcc..599e40e51e2379c1eee0c7eb6ebefea25bb59e1b 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.3.16"
+\version "2.3.17"
 \header {
 
     texidoc ="Space from a normal note (or barline) to a grace note is
@@ -12,7 +12,7 @@
     { \time 2/4
       \relative c'' {
          e8 e \grace d8 e e \grace f8 e es, d' d
-         e8 e e e \grace { \stemDown f8 \stemBoth } e es, d'
+         e8 e e e \grace { \stemDown f8 \stemNeutral } e es, d'
 
                  }  
 
index 2fb1482bd666d862154e9419a8dfa14fce1499b3..332970160e9b5fac73dd202a32c584d0284fef56 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.3.16"
+\version "2.3.17"
 
 \header {
     
@@ -12,9 +12,9 @@
 \score {
      \relative c'' {
        \stemDown d c b a g f e
-       \stemBoth
+       \stemNeutral
        \stemUp a b c d e f g a
-       \stemBoth
+       \stemNeutral
        <g, e'>2 <b e g> <c e g> <d f g>
        
     } 
index 10b3ffe91ba4e06a65085a1489537ba93eb9dc8c..9befb9ecb7902519d034b7ae3489e8b6b9b220fd 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.3.16"
+\version "2.3.17"
 \header{
 texidoc="
 Stem tremolos or rolls are tremolo signs that look like beam segments
@@ -21,7 +21,7 @@ tremolo must be centered on the note.
                a4:32 a'4:64 
                \stemDown
                c,4:32 c,4:64
-               \stemBoth
+               \stemNeutral
                c'8:16 c c c
                a': a a: a
                c,16:32 c: c c a16:32 a: a a
index 52f2426200080e98e903289bf4f5fac53ffee029..30bc3c923cda56812d52cc320eeb3f7a23d6066b 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.3.16"
+\version "2.3.17"
 \include "deutsch.ly"
 % possible rename to scheme- something.  -gp
 % TODO: ask if it needs to have so many empty bars in the middle.  -gp
@@ -53,7 +53,7 @@ using Scheme functions to avoid typing work. " }
 
 
 
-\version "2.3.16"
+\version "2.3.17"
 
 pat =  \transpose c c' \repeat unfold 2 {
   << { \context Staff=up {r8 e16 f g e f g } }
@@ -65,7 +65,7 @@ pat =  \transpose c c' \repeat unfold 2 {
 }
 
 enda =  { r8 f,16 a, c f c a, \stemUp c \change Staff = down
-      a, f, a, f, d, f, d, \change Staff = up \stemBoth
+      a, f, a, f, d, f, d, \change Staff = up \stemNeutral
       r8 g16 h d' f' d' h d' h g h d f e\prall d <e g c'>1^\fermata \bar "|."
 }
 endb =  {\stemUp \tieUp r16 c,8.~c,4~c,2 r16 h,,8.~h,,4~h,,2 c,1 \bar "|."}
index e7021c167c84b186909ce00573045be85672469b..4be85c14ee2db9ff4605e5ef06ecf04040af6316 100644 (file)
@@ -1,7 +1,7 @@
 %{
 
  Common catalan names for notes. "b" means flat (bemoll), "d" means sharp (diesi).
- Also "s" is included for sharp (sostingut).  Both "diesi" and "sostingut" are approved
+ Also "s" is included for sharp (sostingut).  Neutral "diesi" and "sostingut" are approved
  by "Diccionari de la Llengua Catalana" from "Institut d'Estudis Catalans".
 
  Adapted from italiano.ly.
@@ -73,6 +73,6 @@ pitchnamesCatalan = #`(
 
 pitchnames = \pitchnamesCatalan
 
-\version "2.3.16"
+\version "2.3.17"
 
 #(ly:parser-set-note-names parser pitchnames)
index e1ddfe47da9b646e842aa3a1477f6ca0db0c5a9e..23149d13659df26ef6aa162feb604d9180e61368 100644 (file)
@@ -1,14 +1,14 @@
 % property-init.ly
 
-\version "2.3.16"
+\version "2.3.17"
 
 stemUp = \override Stem  #'direction = #1
 stemDown = \override Stem  #'direction = #-1 
-stemBoth= \revert Stem #'direction
+stemNeutral= \revert Stem #'direction
 
 slurUp = \override Slur  #'direction = #1
 slurDown = \override Slur  #'direction = #-1
-slurBoth = \revert Slur #'direction 
+slurNeutral = \revert Slur #'direction 
 
 % There's also dash, but setting dash period/length should be fixed.
 slurDotted = \override Slur  #'dashed = #1
@@ -17,7 +17,7 @@ slurSolid = \revert Slur #'dashed
 
 phrasingSlurUp = \override PhrasingSlur  #'direction = #1
 phrasingSlurDown = \override PhrasingSlur  #'direction = #-1
-phrasingSlurBoth = \revert PhrasingSlur #'direction 
+phrasingSlurNeutral = \revert PhrasingSlur #'direction 
 
 shiftOn = \override NoteColumn  #'horizontal-shift = #1
 shiftOnn = \override NoteColumn  #'horizontal-shift = #2
@@ -26,7 +26,7 @@ shiftOff = \revert NoteColumn #'horizontal-shift
 
 tieUp = \override Tie  #'direction = #1
 tieDown = \override Tie  #'direction = #-1
-tieBoth = \revert Tie #'direction 
+tieNeutral = \revert Tie #'direction 
 
 tieDotted = \override Tie  #'dashed = #1
 tieSolid = \revert Tie #'dashed
@@ -45,7 +45,7 @@ dynamicDown = {
   \override DynamicText  #'direction = #-1
   \override DynamicLineSpanner  #'direction = #-1
 }
-dynamicBoth = {
+dynamicNeutral = {
   \revert DynamicText #'direction
   \revert DynamicLineSpanner #'direction
 }
@@ -53,11 +53,11 @@ dynamicBoth = {
 
 dotsUp = \override Dots  #'direction = #1
 dotsDown = \override Dots  #'direction = #-1
-dotsBoth = \revert Dots #'direction 
+dotsNeutral = \revert Dots #'direction 
 
 tupletUp = \override TupletBracket  #'direction = #1
 tupletDown = \override TupletBracket  #'direction = #-1
-tupletBoth = \revert TupletBracket #'direction
+tupletNeutral = \revert TupletBracket #'direction
 
 cadenzaOn = \set Timing.timing = ##f
 cadenzaOff = {
@@ -103,13 +103,6 @@ hideStaffSwitch = \set followVoice = ##f
 
 
 
-% To remove a Volta bracket or some other graphical object,
-% set it to turnOff. Example: \set Staff.VoltaBracket = \turnOff
-
-%%
-%% DO NOT USE THIS. IT CAN LEAD TO CRASHES.
-turnOff = #(cons '() '())
-
 % For drawing vertical chord brackets with \arpeggio
 % This is a shorthand for the value of the print-function property 
 % of either Staff.Arpeggio or PianoStaff.Arpeggio, depending whether 
@@ -125,7 +118,7 @@ arpeggioDown = \sequential {
   \revert Arpeggio  #'print-function
   \override Arpeggio  #'arpeggio-direction = #-1
 }
-arpeggioBoth = \sequential {
+arpeggioNeutral = \sequential {
   \revert Arpeggio  #'print-function
   \revert Arpeggio  #'arpeggio-direction
 }
index 206d573c3473017ee1c113cc6aee961f8ee38119..07f0df5a62ca0382474119df147d91f1ccdbcee8 100644 (file)
@@ -582,8 +582,8 @@ def repeat_prepend():
 
        
 def lyrics_append(a):
-       a = re.sub ( '#', '\\#', a)     # latex does not like naked #'s
-       a = re.sub ( '"', '\\"', a)     # latex does not like naked "'s
+       a = re.sub ('#', '\\#', a)      # latex does not like naked #'s
+       a = re.sub ('"', '\\"', a)      # latex does not like naked "'s
        a = '\t{  "' + a + '" }\n'
        stuff_append (lyrics, current_lyric_idx, a)
 
index 3327953d56f3259c2a0a8146258df32a73bb3252..ad5bfd3cc1467398206bf602354857fd4598c25c 100644 (file)
@@ -2197,6 +2197,15 @@ conversions.append (((2, 3, 16), conv,
                     '''\foo -> \foomode (for chords, notes, etc.)
 fold \new FooContext \foomode into \foo.'''))
 
+def conv (str):
+       str = re.sub (r'(slur|stem|phrasingSlur|tie|dynamic|dots|tuplet|arpeggio|)Both', r'\1Neutral', str)
+
+       return str
+
+conversions.append (((2, 3, 17), conv,
+                    '''\foo -> \foomode (for chords, notes, etc.)
+fold \new FooContext \foomode into \foo.'''))
+
 ################################
 #      END OF CONVERSIONS      
 ################################