]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.3.133.jcn4
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 1 Mar 2001 10:44:35 +0000 (11:44 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 1 Mar 2001 10:44:35 +0000 (11:44 +0100)
1.3.133.jcn4
============

* convert-ly: Added and fixed various entries (our strings with optional "" really suck).

23 files changed:
CHANGES
Documentation/user/tricks.itely
VERSION
input/tricks/metronome.ly
lily/midi-walker.cc
make/ly.make
mutopia/Coriolan/bassi.ly
mutopia/Coriolan/c-midi.ly
mutopia/Coriolan/coriolan.ly
mutopia/J.S.Bach/Duette/global-i.ly
mutopia/J.S.Bach/Duette/global-ii.ly
mutopia/J.S.Bach/Duette/viola-i.ly
mutopia/J.S.Bach/Duette/viola-ii.ly
mutopia/J.S.Bach/Duette/viola-part.ly
mutopia/J.S.Bach/Duette/violino-i.ly
mutopia/J.S.Bach/Duette/violino-ii.ly
mutopia/J.S.Bach/Duette/violino-part.ly
mutopia/J.S.Bach/Duette/violino-viola.ly
mutopia/J.S.Bach/Duette/violino-violoncello.ly
mutopia/J.S.Bach/Duette/violoncello-i.ly
mutopia/J.S.Bach/Duette/violoncello-ii.ly
mutopia/J.S.Bach/Duette/violoncello-part.ly
scripts/convert-ly.py

diff --git a/CHANGES b/CHANGES
index a5127e2557b040e9e0c8e7c9f7765ddf5e3e96c8..13885158f0a2a52024d4ce0f018e13978d671aa8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,10 +1,13 @@
+1.3.133.jcn4
+============
+
+* convert-ly: Added and fixed various entries (our strings with optional "" really suck).
+
 1.3.133.jcn3
 ============
 
 * Small ez play tweaks.  Guess I'm a sucker too.
 
-* 
-
 1.3.133.jcn2
 ============
 
index 87381bec1f85eb5e7a5e48cba70921fc26bf8dd8..8a7e3a539d4bf923851010afe2d30b1e579d035b 100644 (file)
@@ -252,7 +252,7 @@ Metrome hack...
 
 \score {
   \notes\relative c'' {
-    a1^#`(rows ,dotted-eight-note " = 64")
+    a1^#`((rows (font-relative-size . -1)) ,dotted-eight-note " = 64")
   }
   \paper {
     linewidth = -1.;
diff --git a/VERSION b/VERSION
index deaf83e0fe13cc993d0ee72da6820ba9e6b874e6..80d24b236e95c8e93e0bd6068c04d84eccb4a71a 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=3
 PATCH_LEVEL=133
-MY_PATCH_LEVEL=jcn3
+MY_PATCH_LEVEL=jcn4
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index 1b5bacfa58b5038555f9e7fb2e3b76b4be6fc0e9..859f09f4c54961bd4900528396acaa1bc39844a6 100644 (file)
@@ -18,7 +18,7 @@
 
 \score {
   \notes\relative c'' {
-    a1^#`(rows ,dotted-eight-note " = 64")
+    a1^#`((rows (font-relative-size . -1)) ,dotted-eight-note " = 64")
   }
   \paper {
     linewidth = -1.;
index c63e046fde7337afd7fa55658540c76dbf2f43ca..986a58ebdb6ddd68837c404b2686860db22bd822 100644 (file)
@@ -60,12 +60,9 @@ Midi_walker::do_start_note (Midi_note* note_p)
              /* let stopnote in queue be ignored,
               new stop note wins */
              stop_note_queue[i].ignore_b_ = true;
-             
-#if 1
              /* don't replay start note, */
              play_start = false;
              break;
-#endif       
            }
          else
            {
index e41d3bd055ad91221a779e94c4ec265d09696fe2..f3a595d95d9a726fd2b22e6b1088c542dd92812f 100644 (file)
@@ -70,7 +70,7 @@ $(outdir)/%-book.ps: $(outdir)/%.ps
 #
 # Also clean hand-compiled stuff in cwd
 #
-localclean: local-auto-gen-clean local-letter-clean
+localclean: local-auto-gen-clean
 
 # Compose string from two parts: must not remove myself.
 auto-gen-tag=Generated
@@ -80,5 +80,3 @@ local-auto-gen-clean:
        rm -f `grep -l '$(auto-gen-tag)' *`
        rm -f *.dvi *.png
 
-local-letter-clean:
-       rm -f $(outdir)-letter/*
index d78dae7a978bdc1bc58bd5c003ec0ff58dfbb557..a676500b7ff9b1460ffbffb403fa14fc75c905c5 100644 (file)
@@ -21,7 +21,7 @@ bassiGroup =  \context PianoStaff = bassi_group \notes <
                \property Staff.midiInstrument = #"contrabass"
                \property Staff.instrument = #"Contrabasso"
                \property Staff.instr = #"Cb."
-%              \property Staff.transposing = #-12
+               \property Staff.transposing = #-12
                \clef "bass"; 
                %\property Staff.clefGlyph = #"clefs-F"
                %\property Staff.clefPosition = #2
index ca461d2371590d0642b4f8faea950eaadda25976..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,92 +0,0 @@
-
-%%
-%% Hopefully, this can be junked when part-combiner+midi+dynamics work ok.
-%%
-
-\version "1.3.117";
-
-\include "header.ly"
-\include "global.ly"
-
-\include "flauto-1.ly"
-\include "flauto-2.ly"
-\include "oboe-1.ly"
-\include "oboe-2.ly"
-\include "clarinetto-1.ly"
-\include "clarinetto-2.ly"
-\include "fagotto-1.ly"
-\include "fagotto-2.ly"
-\include "corno-1.ly"
-\include "corno-2.ly"
-\include "trombo-1.ly"
-\include "trombo-2.ly"
-\include "timpani.ly"
-\include "violino-1.ly"
-\include "violino-2.ly"
-\include "viola-1.ly"
-\include "viola-2.ly"
-\include "violoncello.ly"
-\include "contrabasso.ly"
-
-\score{
-       <
-       \global
-       \context Staff=flauti <
-               \property Staff.midiInstrument = #"flute"
-               \flautoI
-               \flautoII
-       >
-       \context Staff=oboi <
-               \property Staff.midiInstrument = #"oboe"
-               \oboeI
-               \oboeII
-       >
-       \context Staff=clarinetti <
-               \property Staff.midiInstrument = #"clarinet"
-               \property Staff.transposing = #-2
-               \clarinettoI
-               \clarinettoII
-       >
-       \context Staff=fagotti <
-               \property Staff.midiInstrument = #"bassoon"
-               \fagottoI
-               \fagottoII
-       >
-       \context Staff=corni <
-               \property Staff.midiInstrument = #"french horn"
-               \property Staff.transposing = #3
-               \cornoI
-               \cornoII
-       >
-       \context Staff=trombe <
-               \property Staff.midiInstrument = #"trumpet"
-               \tromboI
-               \tromboII
-       >
-       \context Staff=timpani <
-               \property Staff.midiInstrument = #"timpani"
-               \timpani
-       >
-       \context Staff=violini <
-               \property Staff.midiInstrument = #"violin"
-               \violinoI
-               \violinoII
-       >
-       \context Staff=violi <
-               \property Staff.midiInstrument = #"viola"
-               \violaI
-               \violaII
-       >
-       \context Staff=violoncello <
-               \property Staff.midiInstrument = #"cello"
-               \violoncello
-       >
-       \context Staff=contrabasso <
-               \property Staff.midiInstrument = #"contrabass"
-               \property Staff.transposing = #-12
-               \contrabasso
-       >
-       >
-       \include "coriolan-midi.ly"
-}
-
index d3a93330399974bf0438995b57d90862ce596a4d..73bd1d222eb45f8f308c8201a2ce1c129f2f137d 100644 (file)
@@ -62,72 +62,5 @@ archiGroup =  \context StaffGroup = archi_group <
                instrument = "";
        }
        \include "coriolan-paper.ly"
-%      \include "coriolan-midi.ly"
-}
-
-
-
-%%
-%% Hopefully, this can be junked when part-combiner+midi+dynamics work ok.
-%%
-\score{
-       <
-       \global
-       \context Staff=flauti <
-               \property Staff.midiInstrument = #"flute"
-               \flautoI
-               \flautoII
-       >
-       \context Staff=oboi <
-               \property Staff.midiInstrument = #"oboe"
-               \oboeI
-               \oboeII
-       >
-       \context Staff=clarinetti <
-               \property Staff.midiInstrument = #"clarinet"
-               \property Staff.transposing = #-2
-               \clarinettoI
-               \clarinettoII
-       >
-       \context Staff=fagotti <
-               \property Staff.midiInstrument = #"bassoon"
-               \fagottoI
-               \fagottoII
-       >
-       \context Staff=corni <
-               \property Staff.midiInstrument = #"french horn"
-               \property Staff.transposing = #3
-               \cornoI
-               \cornoII
-       >
-       \context Staff=trombe <
-               \property Staff.midiInstrument = #"trumpet"
-               \tromboI
-               \tromboII
-       >
-       \context Staff=timpani <
-               \property Staff.midiInstrument = #"timpani"
-               \timpani
-       >
-       \context Staff=violini <
-               \property Staff.midiInstrument = #"violin"
-               \violinoI
-               \violinoII
-       >
-       \context Staff=violi <
-               \property Staff.midiInstrument = #"viola"
-               \violaI
-               \violaII
-       >
-       \context Staff=violoncello <
-               \property Staff.midiInstrument = #"cello"
-               \violoncello
-       >
-       \context Staff=contrabasso <
-               \property Staff.midiInstrument = #"contrabass"
-               \property Staff.transposing = #-12
-               \contrabasso
-       >
-       >
        \include "coriolan-midi.ly"
 }
index a365e6653aa43c98afa85a94bbf210da769b372c..acfdc4ed95a798ebd7519bfd48dc66981a6020e6 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.117";
+\version "1.3.122";
 
 globalI =  \notes{
        \time 12/8;
index 056f9a2dde0f323a061b1a4f5024d8b5688d26d8..4bae8e8b0189c891e5f5b96e75ec6b7cf0016cd5 100644 (file)
@@ -1,7 +1,7 @@
-\version "1.3.117";
+\version "1.3.122";
 
 globalIi =  \notes{
        \time 4/4;
-       \property Staff.timeSignatureStyle = "C2/2"
+       \property Staff.TimeSignature \override #'style = #'C2/2
        \key a\minor;
 }
index e775ffc451834a64f7fdbf34609eb3675c5d6987..713333dc537546f66468489006c156f6f1cffe91 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "jcn";
 copyright =     "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 \include "global-i.ly"
 \include "violoncello-i.ly";
index e8f02155cc72b1c1bd12d5ca28ab5b266524b185..502a52cafb6e7e3e5460e87c57a567eda9cd7efb 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "jcn";
 copyright =     "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 \include "global-ii.ly"
 \include "violoncello-ii.ly";
index acec5f0502a67dbf1cbbbec73a580c9c5ea4243c..843ff1af78f10fe01aa3b8f1b0e3d1f67c6ccc35 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "jcn";
 copyright =     "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 % {
 
index 801484af2c08862c3578ef93aa9f4d21dffe95cf..d9378651b313513c5687e60713dea05b43e32141 100644 (file)
@@ -8,13 +8,37 @@ enteredby =   "jcn";
 copyright =    "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 violinoI =  \notes\relative c'' {
-  \property Voice.beamAutoEnd = "3/8"
-  %% should fix autobeamer: not only check shortest type's end in beam,
-  %%% but also the newly added type's end
-  \property Voice."beamAutoEnd_8" = "1/16"
+  \property Voice.autoBeamSettings \override #'(end * * * *) = #(make-moment 3 8)
+  %{
+     should fix autobeamer: not only check shortest type's end in beam,
+     but also the newly added type's end
+  
+    %\property Voice.autoBeamSettings \override #'(end 1 8 * *) = #(make-moment 1 16)
+
+     Normally, we want
+
+         [c8 c c] and [c16 c  c c  c c],
+
+     ie '(end *) = 3/8
+
+     However, we don't want
+
+         [c16 c  c c  c8] c8,  TODO: manually correct these
+
+     but rather
+
+         [c16 c  c c]  c8 c8,
+
+     ie '(end X) = 1/4
+        
+    X can't be 1/16 or 1/8
+
+    Hmm.
+   %}
+   
   %r4 r8 [g16(fis e)d] b'8 a r r [g16(fis e)d] c'8 |
   r4 r8 g16(fis e)d b'8 a r r g16(fis e)d c'8 |
   b r r d16(b)a g(e')c d(b)a g(c)a c(b)a g(a)fis |
@@ -68,8 +92,8 @@ violinoI =  \notes\relative c'' {
   <c4.\prall>~c16 b(a g)e' c()d b(a g)c a()c b(a)g
   \context Staff<
     %\context Voice { a16 f | g1. }
-    \context Voice { \property Voice.verticalDirection=1 a16 fis | g1. }
-    \context Voice=x { \property Voice.verticalDirection=-1 c,16 c | b1. }
+    \context Voice { \stemUp\slurUp\tieUp a16 fis | g1. }
+    \context Voice=x { \stemDown\slurDown\tieDown c,16 c | b1. }
   >
   \bar "|.";
 }
@@ -78,8 +102,8 @@ violinoI =  \notes\relative c'' {
 
 violinoIStaff =  \context Staff = violino <
   %urg
-  % \notes\property Voice.textStyle = "large" s4^"Moderato"
-  % \notes {s4. \property Voice.textStyle = "large" s4^"Moderato"}
+  % \notes\property Voice.TextScript \set #'font-style = #'large s4^"Moderato"
+  % \notes {s4. \property Voice.TextScript \set #'font-style = #'large s4^"Moderato"}
   % urg, timidity violino patches broken?
   %\property Staff.instrument = "violin"
   \property Staff.instrument = "viola"
index 0f62881ea3223fdf1e131ce969def0eeee7dbcd2..9ea395694f216c8dfe80d7212c186bebf0d3e62e 100644 (file)
@@ -8,7 +8,7 @@ enteredby =     "jcn";
 copyright =    "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 violinoIi =  \notes\relative c''{
   R1*8 |
@@ -68,7 +68,7 @@ violinoIi =  \notes\relative c''{
   %<a2 b, d4><gis\prall b,4 d>| checkme
   \context Staff<
     \context Voice { 
-      \property Voice.verticalDirection=1
+      \stemUp\slurUp\tieUp
       <a2 b,>gis\prall|a8 g f4~f8 e(d)cis|
 %105
       d c bes4~bes8 a(gis)fis|gis4 e <e' a,><f a,>|
@@ -77,7 +77,7 @@ violinoIi =  \notes\relative c''{
       a1|
     }
     \context Voice=x { 
-      \property Voice.verticalDirection=-1
+      \stemDown\slurDown\tieDown
       d,4 s<d b'>s|<a2 d> s2|
 %105
       <d g,> s2|s1|
@@ -93,12 +93,12 @@ violinoIi =  \notes\relative c''{
 
 violinoIiStaff =  \context Staff = violino <
   %urg
-  % \notes\property Voice.textStyle = "large" s4^"Moderato"
-  % \notes {s4. \property Voice.textStyle = "large" s4^"Moderato"}
+  % \notes\property Voice.TextScript \set #'font-style = #'large s4^"Moderato"
+  % \notes {s4. \property Voice.TextScript \set #'font-style = #'large s4^"Moderato"}
   % urg, timidity violino patches broken?
   %\property Staff.instrument = "violin"
   \property Staff.instrument = "viola"
   \violinoIi
   \globalIi
 >
-\version "1.3.117";
+\version "1.3.122";
index 4f535e7fd85e030046f4b362072cf7ee20aa5f10..25b0782c3d7c57db5ea41c5bb098eb10a2ac2dca 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "jcn";
 copyright =     "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 % {
 
index 7cc2dcd082ce475a6e067375818b2ddf6f220add..615caf450fcf36462571195357e7b44680e81c76 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "jcn";
 copyright =     "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 % { 
 \include "violino-i.ly";
index 222fb716e7a5e2410437f4e2c8f5bcc385e0a507..7bd4401da92084ce9bcd19330f220a070178ba7b 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "jcn";
 copyright =     "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 % {
 \include "violino-i.ly";
index fb2ca5202f1aebfe13a588cbdbdddc5989d39e74..36bd5f48283f6c0bac5bd6e8186dcc118ea6ad40 100644 (file)
@@ -8,10 +8,12 @@ enteredby =   "jcn";
 copyright =    "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 violoncelloI =  \notes\relative c{
-  \property Voice.beamAutoEnd = "3/8"
+  \property Voice.autoBeamSettings \override #'(end * * * *) = #(make-moment 3 8)
+  %\property Voice.autoBeamSettings \override #'(end 1 8 * *) = #(make-moment 1 16)
+
   g8()a d, g b()g d()fis a d a()fis |
   g()d b' g b()c b()e fis g d()d, |
   g r r [d'16(b a )g] e'8 d r r [c16(b a )b] g'8 |
index ac3bbd788ac6694061d005f66317ec171146eabd..f0a6cef0800a204b5adcec76ed12b53fa3af21e8 100644 (file)
@@ -8,7 +8,7 @@ enteredby =     "jcn";
 copyright =    "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 violoncelloIi =  \notes\relative c{
   r2 a'2|c e,| f8(e)d2 e8()fis| g a bes2 a8()gis|
@@ -52,7 +52,8 @@ violoncelloIi =  \notes\relative c{
 %75
   e dis8 cis dis2\prall|e4 b' e2~|e dis\prall|e r4 d|cis bes(a\prall)g|
 %80
-  bes, g'(()f\prall)e|g, e'(()d\prall)cis|d8()a d e f g as f|d e f4.(e8 d)c|
+  %FIXME: did Bach really use phrasing marks?
+  bes, g'\(()f\prall\)e|g, e'\(()d\prall\)cis|d8()a d e f g as f|d e f4.(e8 d)c|
   b c d4.(c8 b)a|
 %85
   b()g b c d()e b d|e4 e, a2~|a4 g8 fis g2~|g4 a8 b c2~|c4 bes8 a bes2~|
index ba58376170048a1b7b2ec9f3e3c5bebc11710233..135d9c04e6e988c245f81d1a3584a5a055e15d66 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "jcn";
 copyright =     "Public Domain";
 }
 
-\version "1.3.117";
+\version "1.3.122";
 
 % {
 
index c8a19658b79f31c2b5950dafbf8835f65d2cdd03..348161524142f8e1dd240053ba68972f431164ba 100644 (file)
@@ -389,7 +389,7 @@ if 1:
 
 if 1:
        def conv (str):
-               str = re.sub ('beamAuto([^=]+)= *"([0-9]+)/([0-9]+)" *;',
+               str = re.sub ('"?beamAuto([^"=]+)"? *= *"([0-9]+)/([0-9]+)" *;*',
                              'beamAuto\\1 = #(make-moment \\2 \\3)',
                              str)
                return str
@@ -506,15 +506,19 @@ if 1:
                str = re.sub ('basicLocalKeyProperties' ,"Accidentals", str)
                str = re.sub ('basicMarkProperties' ,"Accidentals", str)                                
                str = re.sub ('basic([A-Za-z_]+)Properties', '\\1', str)
+
                return str
        
        conversions.append (((1,3,92), conv, 'basicXXXProperties -> XXX'))
 
 if 1:
        def conv (str):
+               # Ugh, but meaning of \stemup changed too
+               # maybe we should do \stemup -> \stemUp\slurUp\tieUp ?
                str = re.sub ('\\\\stemup', '\\\\stemUp', str)
                str = re.sub ('\\\\stemdown', '\\\\stemDown', str)
                str = re.sub ('\\\\stemboth', '\\\\stemBoth', str)
+               
                str = re.sub ('\\\\slurup', '\\\\slurUp', str)
                str = re.sub ('\\\\slurboth', '\\\\slurBoth', str)
                str = re.sub ('\\\\slurdown', '\\\\slurDown', str)
@@ -531,7 +535,13 @@ if 1:
                str = re.sub ('\\\\voicetwo', '\\\\voiceTwo', str)
                str = re.sub ('\\\\voicethree', '\\\\voiceThree', str)
                str = re.sub ('\\\\voicefour', '\\\\voiceFour', str)
-               
+
+               # I don't know exactly when these happened...
+               str = re.sub ('\\\\property *[^ ]*verticalDirection[^=]*= *#?(1|(\\\\up))', '\\\\stemUp\\\\slurUp\\\\tieUp', str)
+               str = re.sub ('\\\\property *[^ ]*verticalDirection[^=]*= *#?((-1)|(\\\\down))', '\\\\stemDown\\\\slurDown\\\\tieDown', str)
+               str = re.sub ('\\\\property *[^ .]*[.]?([a-z]+)VerticalDirection[^=]*= *#?(1|(\\\\up))', '\\\\\\1Up', str)
+               str = re.sub ('\\\\property *[^ .]*[.]?([a-z]+)VerticalDirection[^=]*= *#?((-1)|(\\\\down))', '\\\\\\1Down', str)
+
                return str
        
        conversions.append (((1,3,93), conv,
@@ -550,10 +560,17 @@ if 1:
        
        conversions.append (((1,3,97), conv, 'ChordName -> ChordNames'))
 
+
+## TODO: add lots of these
+       
 if 1:
        def conv (str):
-               str = re.sub ('\\\\property *Voice *[.] *textStyle *= *"([^"]*)"', '\\\\property Voice.TextScript \\\\set #\'font-style = #\'\\1', str)
-               str = re.sub ('\\\\property *Lyrics *[.] *textStyle *= *"([^"]*)"', '\\\\property Lyrics.LyricText \\\\set #\'font-style = #\'\\1', str)
+               str = re.sub ('\\\\property *"?Voice"? *[.] *"?textStyle"? *= *"([^"]*)"', '\\\\property Voice.TextScript \\\\set #\'font-style = #\'\\1', str)
+               str = re.sub ('\\\\property *"?Lyrics"? *[.] *"?textStyle"? *= *"([^"]*)"', '\\\\property Lyrics.LyricText \\\\set #\'font-style = #\'\\1', str)
+
+               str = re.sub ('\\\\property *"?([^.]+)"? *[.] *"?timeSignatureStyle"? *= *"([^"]*)"', '\\\\property \\1.TimeSignature \\\\override #\'style = #\'\\2', str) 
+
+               str = re.sub ('\\\\property *"?([^.]+)"? *[.] *"?horizontalNoteShift"? *= *"?#?([0-9]+)"?', '\\\\property \\1.NoteColumn \\\\override #\'horizonta-shift = #\\2', str) 
 
                return str
        
@@ -561,10 +578,10 @@ if 1:
 
 if 1:
        def conv (str):
-               str = re.sub ('beamAutoEnd_([0-9]*) *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end 1 \\1 * *) = \\2', str)
-               str = re.sub ('beamAutoBegin_([0-9]*) *= *(#\\([^)]*\))', 'autoBeamSettings \\push #\'(begin 1 \\1 * *) = \\2', str)
-               str = re.sub ('beamAutoEnd *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end * * * *) = \\1', str)
-               str = re.sub ('beamAutoBegin *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(begin * * * *) = \\1', str)
+               str = re.sub ('"?beamAutoEnd_([0-9]*)"? *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end 1 \\1 * *) = \\2', str)
+               str = re.sub ('"?beamAutoBegin_([0-9]*)"? *= *(#\\([^)]*\))', 'autoBeamSettings \\push #\'(begin 1 \\1 * *) = \\2', str)
+               str = re.sub ('"?beamAutoEnd"? *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(end * * * *) = \\1', str)
+               str = re.sub ('"?beamAutoBegin"? *= *(#\\([^)]*\\))', 'autoBeamSettings \\push #\'(begin * * * *) = \\1', str)
 
 
                return str