]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.1.41
authorfred <fred>
Tue, 26 Mar 2002 21:49:23 +0000 (21:49 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:49:23 +0000 (21:49 +0000)
266 files changed:
Documentation/tex/lilypond-overview.doc
Documentation/tex/lilypond-regtest.doc
Documentation/tex/mudela-book-doc.doc
Documentation/tex/refman.yo
Documentation/tex/tutorial.yo
NEWS
TODO
flower/include/hash-table.hh
input/bugs/Overture.ly
input/bugs/bar-space.ly
input/bugs/slur-over-rest.ly [new file with mode: 0644]
input/example-3.ly
input/just-friends.ly
input/keys.ly
input/kortjakje.ly
input/opus-130.ly
input/part.ly
input/pedal.ly
input/praeludium-fuga-E.ly
input/rhythm.ly
input/scales.ly
input/scripts.ly
input/star-spangled-banner.ly
input/test/abbrev.ly
input/test/alphabet.ly
input/test/auto-staff-switch.ly
input/test/bar-scripts.ly
input/test/beam-chord.ly
input/test/beam-interstaff.ly
input/test/beam-isknee.ly
input/test/beam-pos.ly
input/test/beams.ly
input/test/broken.ly
input/test/chord-inversion.ly
input/test/chord-table.ly
input/test/chords.ly
input/test/clefs.ly
input/test/coda-kludge.ly
input/test/collisions.ly
input/test/defaultbars.ly
input/test/denneboom.ly
input/test/dotted-slur.ly
input/test/extender.ly
input/test/extra-staff.ly
input/test/find-quarts.ly
input/test/font-body.ly
input/test/font.ly
input/test/font16.ly
input/test/font20.ly
input/test/gourlay.ly
input/test/grace.ly
input/test/hara-kiri.ly
input/test/incipit.ly
input/test/keys.ly
input/test/knee.ly
input/test/mark.ly
input/test/memory.ly
input/test/multi-rest.ly
input/test/noteheadstyle.ly
input/test/notemode-chords.ly
input/test/orchestscore.ly
input/test/ossia.ly
input/test/rep.ly
input/test/repeat.ly
input/test/rest-collision.ly
input/test/score-bar-scripts.ly
input/test/sleur.ly
input/test/slur-bug.ly
input/test/slur-damping.ly
input/test/slur-interstaff.ly
input/test/slur-swap.ly
input/test/slurs.ly
input/test/spacing-2.ly
input/test/spacing.ly
input/test/span-bars.ly
input/test/staff-margin.ly [new file with mode: 0644]
input/test/staff-side-slur.ly
input/test/staff-size.fly
input/test/stem.ly
input/test/tchaikovsky.ly
input/test/test-lyrics.ly
input/test/thumb.ly
input/test/tie-bug.ly
input/test/tie.ly
input/test/title.ly
input/test/transposition.ly
input/test/tup.ly
input/test/unfold.ly
input/test/updown.fly
input/test/vertical-align.ly
input/test/vertical-text.ly
input/test/wtk-huh.ly
input/tril.ly
input/twinkle-pop.ly
input/twinkle.ly
lib/include/warn.hh
lib/warn.cc
lily/axis-group-engraver.cc [new file with mode: 0644]
lily/bar-script-engraver.cc
lily/beam.cc
lily/context-specced-music.cc [new file with mode: 0644]
lily/g-script-engraver.cc
lily/g-script.cc
lily/g-staff-side.cc
lily/hara-kiri-engraver.cc [new file with mode: 0644]
lily/include/axis-group-element.hh
lily/include/axis-group-engraver.hh [new file with mode: 0644]
lily/include/context-specced-music.hh [new file with mode: 0644]
lily/include/g-script.hh
lily/include/hara-kiri-engraver.hh [new file with mode: 0644]
lily/include/lily-guile.hh
lily/include/lily-proto.hh
lily/include/line-group-group-engraver.hh
lily/include/lookup.hh
lily/include/ly-symbols.hh
lily/include/music.hh
lily/include/repeated-music.hh
lily/include/translator-group.hh
lily/include/vertical-align-engraver.hh
lily/item.cc
lily/lily-guile.cc
lily/line-group-group-engraver.cc
lily/local-key-item.cc
lily/lookup.cc
lily/molecule.cc
lily/music-iterator.cc
lily/music.cc
lily/my-lily-lexer.cc
lily/p-col.cc
lily/p-score.cc
lily/paper-outputter.cc
lily/parser.yy
lily/scm-bintree.cc [new file with mode: 0644]
lily/score-engraver.cc
lily/simultaneous-music-iterator.cc
lily/slur.cc
lily/staff-margin-engraver.cc
lily/staff-sym.cc
lily/translator-group.cc
lily/vertical-align-engraver.cc
ly/book-fragment.ly
ly/book-init.ly
ly/center-fragment.ly
ly/center.ly
ly/engraver.ly
ly/fragment.ly
ly/init.fly
ly/init.ly
ly/init.sly
ly/paper16.ly
ly/paper20.ly
ly/property.ly
ly/script.ly
mf/feta-eindelijk.mf
mf/feta-generic.mf
mf/feta-ital-f.mf
mf/feta-ital-m.mf
mf/feta-ital-p.mf
mf/feta-ital-r.mf
mf/feta-ital-s.mf
mudela-mode.el
mutopia/Coriolan/bassi-part.ly
mutopia/Coriolan/clarinetti-part.ly
mutopia/Coriolan/clarinetti.ly
mutopia/Coriolan/clarinetto-1.ly
mutopia/Coriolan/clarinetto-2.ly
mutopia/Coriolan/contrabasso-part.ly
mutopia/Coriolan/contrabasso.ly
mutopia/Coriolan/coriolan.ly
mutopia/Coriolan/corni-part.ly
mutopia/Coriolan/corni.ly
mutopia/Coriolan/corno-1.ly
mutopia/Coriolan/corno-2.ly
mutopia/Coriolan/fagotti-part.ly
mutopia/Coriolan/fagotti.ly
mutopia/Coriolan/fagotto-1.ly
mutopia/Coriolan/fagotto-2.ly
mutopia/Coriolan/flauti-part.ly
mutopia/Coriolan/flauti.ly
mutopia/Coriolan/flauto-1.ly
mutopia/Coriolan/flauto-2.ly
mutopia/Coriolan/global.ly
mutopia/Coriolan/oboe-1.ly
mutopia/Coriolan/oboe-2.ly
mutopia/Coriolan/oboi-part.ly
mutopia/Coriolan/oboi.ly
mutopia/Coriolan/timpani.ly
mutopia/Coriolan/trombe-part.ly
mutopia/Coriolan/trombe.ly
mutopia/Coriolan/trombo-1.ly
mutopia/Coriolan/trombo-2.ly
mutopia/Coriolan/viola-1.ly
mutopia/Coriolan/viola-2.ly
mutopia/Coriolan/viola-part.ly
mutopia/Coriolan/violino-1-part.ly
mutopia/Coriolan/violino-1.ly
mutopia/Coriolan/violino-2-part.ly
mutopia/Coriolan/violino-2.ly
mutopia/Coriolan/violoncello-part.ly
mutopia/Coriolan/violoncello.ly
mutopia/D.Scarlatti/progress.ly
mutopia/D.Scarlatti/sonata-k1-l366.ly
mutopia/D.Scarlatti/sonata-k2-l388.ly
mutopia/D.Scarlatti/sonata-k3-l378.ly
mutopia/D.Scarlatti/sonata-k4-l390.ly
mutopia/D.Zipoli/verso_2.ly
mutopia/E.Satie/gnossienne-4.ly
mutopia/E.Satie/petite-ouverture-a-danser.ly
mutopia/F.Schubert/AnSylvia.ly
mutopia/F.Schubert/standchen-16.ly
mutopia/F.Schubert/standchen-20.ly
mutopia/F.Schubert/standchen.ly
mutopia/Hymns/diademata.ly
mutopia/Hymns/laudatedom.ly
mutopia/Hymns/maccabaeus.ly
mutopia/Hymns/ode.ly
mutopia/Hymns/passion.ly
mutopia/Hymns/stille.ly
mutopia/J.S.Bach/Cembalo-Partitas/Partita_II_Allemande.ly
mutopia/J.S.Bach/Cembalo-Partitas/Partita_II_Capriccio.ly
mutopia/J.S.Bach/Cembalo-Partitas/Partita_II_Sinfonia.ly
mutopia/J.S.Bach/Petites-Preludes/preludes-1.ly
mutopia/J.S.Bach/Petites-Preludes/preludes-2.ly
mutopia/J.S.Bach/Petites-Preludes/preludes-4.ly
mutopia/J.S.Bach/Petites-Preludes/preludes-5.ly
mutopia/J.S.Bach/Petites-Preludes/preludes-6.ly
mutopia/J.S.Bach/Solo-Cello-Suites/allemande-cello.ly
mutopia/J.S.Bach/Solo-Cello-Suites/allemande-urtext.ly
mutopia/J.S.Bach/Solo-Cello-Suites/allemande-viola.ly
mutopia/J.S.Bach/Solo-Cello-Suites/courante-cello.ly
mutopia/J.S.Bach/Solo-Cello-Suites/courante-urtext.ly
mutopia/J.S.Bach/Solo-Cello-Suites/courante-viola.ly
mutopia/J.S.Bach/Solo-Cello-Suites/gigue-cello.ly
mutopia/J.S.Bach/Solo-Cello-Suites/gigue-urtext.ly
mutopia/J.S.Bach/Solo-Cello-Suites/gigue-viola.ly
mutopia/J.S.Bach/Solo-Cello-Suites/menuetto-cello.ly
mutopia/J.S.Bach/Solo-Cello-Suites/menuetto-urtext.ly
mutopia/J.S.Bach/Solo-Cello-Suites/menuetto-viola.ly
mutopia/J.S.Bach/Solo-Cello-Suites/prelude-cello.ly
mutopia/J.S.Bach/Solo-Cello-Suites/prelude-urtext.ly
mutopia/J.S.Bach/Solo-Cello-Suites/prelude-viola.ly
mutopia/J.S.Bach/Solo-Cello-Suites/sarabande-cello.ly
mutopia/J.S.Bach/Solo-Cello-Suites/sarabande-urtext.ly
mutopia/J.S.Bach/Solo-Cello-Suites/sarabande-viola.ly
mutopia/J.S.Bach/viola-i.ly
mutopia/J.S.Bach/violino-i.ly
mutopia/J.S.Bach/violino-viola.ly
mutopia/J.S.Bach/violino-violoncello.ly
mutopia/J.S.Bach/violoncello-i.ly
mutopia/J.S.Bach/wtk1-fugue1.ly
mutopia/J.S.Bach/wtk1-fugue2.ly
mutopia/J.S.Bach/wtk1-prelude1.ly
mutopia/L.Mozart/sinfonia.ly
mutopia/N.W.Gade/brass.ly
mutopia/N.W.Gade/parts.ly
mutopia/N.W.Gade/score.ly
mutopia/N.W.Gade/strings.ly
mutopia/N.W.Gade/wood.ly
mutopia/W.A.Mozart/cadenza.ly
mutopia/W.A.Mozart/horn-concerto-3.ly
mutopia/gallina.ly
mutopia/los-toros-oboe.ly
scm/accordion-script.scm
scm/script.scm
scripts/convert-mudela.py
scripts/mudela-book.py

index dbbd19d29659de06fb4b3df68a991bf09dc136f6..ccb5a7377b0a5a4fc16bee8f9a9a213456114d0c 100644 (file)
@@ -92,10 +92,10 @@ input along with output in Figure~\ref{fig:intro-fig}.
 \begin{mudela}[verbatim]
       \score {
         \notes
-          \type GrandStaff <
+          \context GrandStaff <
              \transpose c'' { c4 c4 g4 g4 a4 a4 g2 }
              { \clef "bass"; c4 c'4
-               \type Staff <e'2 {\stemdown c'4 c'4}> f'4 c'4 e'4 c'4 }
+               \context Staff <e'2 {\stemdown c'4 c'4}> f'4 c'4 e'4 c'4 }
            >
            \paper { 
              linewidth = -1.0\cm ;
@@ -188,10 +188,10 @@ score and in extracted parts.
     \begin{mudela}
       \score {
         \notes
-          \type GrandStaff <
+          \context GrandStaff <
              \transpose c'' { c4 c4 g4 g4 a4 a4 g2 }
              { \clef "bass"; c4 c'4
-               \type Staff <e'2 {\stemdown c'4 c'4}> f'4 c'4 e'4 c'4 }
+               \context Staff <e'2 {\stemdown c'4 c'4}> f'4 c'4 e'4 c'4 }
            >
            \paper { 
              linewidth = -1.0\cm ;
@@ -329,7 +329,7 @@ linewidth = -1.;
 \end{mudela}
 \begin{mudela}
   \score {
-    \notes \transpose c''{ r\longa*1/4 r\breve*1/2 r1 r2 r4 r8 r16 r32 r64 }
+    \notes \transpose c''\context Staff { r\longa*1/4 r\breve*1/2 r1 r2 r4 r8 r16 r32 r64 }
     \paper {
       \translator {
         \StaffContext
@@ -440,11 +440,11 @@ Figure~\ref{fig:simultaneous}.
   \begin{center}
     \begin{mudela}
       \relative c'' {\time 2/4;  <c4 e> <d f>
-                \type Staff < \type Voice = VA{
+                \context Staff < \context Voice = VA{
                   \stemdown
                   c4 d
                   b16 b b b b b b b }
-                \type Voice = VB {
+                \context Voice = VB {
                   \stemup e4 f g8 g4 g8 } >
           }
     \end{mudela}
@@ -525,10 +525,71 @@ Figure~\ref{fig:collision}.
 
 \section{Requirements}
 
+
 \section{Approach}
 
 \subsection{Input}
 
+The input format consists of combining a symbolic representation of
+music with style sheet that describes how the symbolic presentation
+can converted to notation.  The symbolic representation is based on a
+context free language called \textsf{music}.  Music is a recursively
+defined construction in the input language.  It can be constructed by
+combining lists of \textsf{music} sequentially or parallel or from
+terminals like notes or lyrics.
+
+The grammar for \textsf{music} is listed below.  It has been edited to
+leave out the syntactic and ergonomic details.
+
+\begin{center}
+    \begin{tabular}{ll}
+Music:  & SimpleMusic\\
+        & $|$ REPEATED int Music ALTERNATIVE MusicList\\
+        & $|$ SIMULTANEOUS MusicList\\
+        & $|$ SEQUENTIAL MusicList\\
+        & $|$ CONTEXT STRING '=' STRING Music\\
+        & $|$ TIMES int int Music     \\
+        & $|$ TRANSPOSE PITCH Music \\
+SimpleMusic: & $|$ Note\\
+        & $|$ Lyric\\
+        & $|$ Rest\\
+        & $|$ Chord\\
+        & $|$ Command\\
+Command: & METERCHANGE\\
+        & $|$ CLEFCHANGE\\
+        &$|$ PROPERTY STRING '=' STRING\\
+Chord: &PitchList DURATION\\
+Rest: &REST DURATION\\
+Lyric: &STRING DURATION\\
+Note: &PITCH DURATION\\
+\end{tabular}
+\end{center}
+  
+The terminals are both purely musical concepts that have a duration,
+and take a non-zero amount of musical time, like notes and lyrics, and
+commands that behave as if they have no duration.\footnote{The
+  PROPERTY command is a generic mechanism for controlling the
+  interpretation, i.e. the musical style sheets. See [forward ref]}
+
+The nonterminal productions can
+\begin{itemize}
+\item Some productions combine multiple elements: one can specify that
+  element are to be played in sequence, simultaneously or repetitively.
+\item There are productions for transposing music, and for dilating
+  durations of music: the TIMES production can be used to encode a
+  triplet.\footnote{A triplet is a group of three notes marked by a
+    bracket, that are played 3/2 times faster.}
+\item
+  There are productions that give directions to the interpretation
+  engine (the CONTEXT production)
+\end{itemize}
+
+
+\section{Context in notation} 
+
+\section{Interpretation context}
+
+
 \section{Discussion}
 
 
index 9b4cbde46dcb185edc8f315931c7cd94ab47ff42..aae1c80ea8c5a0245d6bbbb97a4d2898deaf42cf 100644 (file)
@@ -1,9 +1,9 @@
 % -*-LaTeX-*-
 \documentclass{article}
 
-\begin{document}
 \title{LilyPond feature test}
 \author{Han-Wen Nienhuys}
+\begin{document}
 \maketitle
 
 This document tries give an brief overview of LilyPond features. When
@@ -61,8 +61,8 @@ cases.
 
 \mudelafile{rest-collision.ly}
 
-Normal collisions. We have limited support for four voice polyphony,
-where the middle voices are horizontally shifted, sometimes.
+Normal collisions. We have support for four voice polyphony, where the
+middle voices are horizontally shifted in a limited number of cases.
 
 \mudelafile{collisions.ly}
 
@@ -79,13 +79,21 @@ knowing it.  Consequently, they fall over quite often.
 
 \mudelafile{bar-scripts.ly}
 
+Staff margins are also markings attached to barlines.  They should be
+left otf the staff, and be centered vertically wrt the staff.  They
+may be on normal staffs, but also on compound staffs, like the
+PianoStaff
+
+\mudelafile{staff-margin.ly}
+
 
 \section{Clefs and Time Signatures}
 
-For octaviated clefs, the ``8'' should appear closely above or below
-the clef respectively. The transparent clef should not occupy any space
-and with style \texttt{fullSizeChanges}, the changing clef should be
-typeset in full size.
+The transparent clef should not occupy any space and with style
+\texttt{fullSizeChanges}, the changing clef should be typeset in full
+size. For octaviated clefs, the ``8'' should appear closely above or
+below the clef respectively.  The ``8'' is processed in a rather
+convoluted way, so this is fragile as well.
 
 \mudelafile{clefs.ly}
 
index 6c5d7bb1137d28fe8cef245f06598a831cd9f35c..c4874f6b9d3d2cbf8801505c4c790714bcca0d7f 100644 (file)
@@ -202,7 +202,7 @@ file is a definition of a python dictionary:
     'mudelaRhythm': r"""
 \begin{mudela}[eps \fontoptions]
 \score{
-    \type RhythmicStaff{
+    \context RhythmicStaff{
         \notes{\stemup \maininput}
     }
     \paper{linewidth = -1.\cm;}
@@ -217,7 +217,7 @@ send fontsize options to the defined commands.
 \verb|\mudelaRhythm[11pt]{c4 c8 [c16 c] c4 c}| produce this music:
 \begin{mudela}[eps, 11pt]
 \score{
-  \type RhythmicStaff{
+  \context RhythmicStaff{
     \notes{ \stemup c4 r8 [c16 c] c4 c }
   }
   \paper{linewidth = -1.\cm;}
index 1271a61daf708fa7ef69ab30d89cefadc47212cd..9778cbc9fee2eb2d029fda4fce366c64c0a5032b 100644 (file)
@@ -10,45 +10,55 @@ redef(code)(1)(tt(ARG1))
 
 COMMENT(
 
+questions:
+   long lyrics don't get any space at the end
+   lyrics and scripts collide
+   \key b; \time 4/4; looks bad---no space between key sig and clef
+   \portato still DOES NOT WORK!
+   \cadenza vs. barNonAuto ?
+   not enough space for \key b;
+   I noticed that ledger lines in the previewer looked like they had
+     a double line (of different lengths).  On printed output, I think
+     I can see a slight thickening of the ledger lines in the middle. 
+     Is this supposed to happen?   
+   restStyle=mensural doesn't seem to work (lots of characters not found
+     for rests.fly)
+   what happened to the Staff.textalignment and Lyrics.textalignment 
+     properties? 
+
+
 TODO:
-   the use of semicolons needs to be documented once it settles down
+   autobeamer
    paper size?
+   paper variables
    the explanation of how lyrics mode parses words seems ridiculous.  
-     Is there a simple way to explain this, or is the behavior
-     too complicated for a reasonable explanation?
-   \relative and \tranpose and \times make it necessary to specify
-       an explicit \type staff, or bizarre things happen. 
-   catalan.ly
+      Is there a simple way to explain this, or is the behavior
+      too complicated for a reasonable explanation?
    accordion symbols
-   extender*  (see extender.ly)
-   \repeat & \alternative  -> probably should have an example
-   properties:
-      unfoldRepeats
-      voltaVisibility
-   property: stemLeftBeamCount stemRightBeamCount
    interstaff beams (beam-interstaff.ly)
    interstaff slurs (see preludes-1.ly)
-   boolean property barAuto
-   property: noteheadStyle
-   harmonics: test/harmonics.fly
-   autobeamer
-   properties: beamAutoEndx ??? rational string "1/2"
-        beamAutoBegin
-        beamAutoEnd
-        beamAuto
-        ScriptPadding
-        Direction
-        chordNameStyle (banter)
-        chordInversionPreserve
-        createInitdefaultClef  
-        dynamicStyle   
-        singleStaffBracket
-        numberOfStaffLines
-
-
-       {Mark,BarNumber,Margin}{Direction,ScriptPadding}
-               
-       
+
+   Current list of undocumented properties:
+
+        "alignmentReference"  to do with minVerticalAlign, etc?
+        "beamAuto"
+        "beamAutoBegin"
+        "beamAutoBegin" + type_str
+        "beamAutoEnd"
+        "beamAutoEnd" + type_str
+        "createInitdefaultClef"
+        "dynamicStyle"
+        "postBreakPadding"
+        "staffLineLeading"
+        "stemLeftBeamCount"
+        "stemRightBeamCount"
+        time_str + "beamAutoBegin"
+        time_str + "beamAutoBegin" + type_str
+        time_str + "beamAutoEnd"
+        time_str + "beamAutoEnd" + type_str
+        type_ + "Direction"
+        type_ + "HangOnClef"
+        type_ + "ScriptPadding"
 )
 
 
@@ -71,7 +81,7 @@ latexlayoutcmds(
 
 whentexinfo(notableofcontents())
 
-article(Mudela 1.0.14 / LilyPond 1.1.27 Reference Manual)
+article(Mudela 1.0.14 / LilyPond 1.1.40 Reference Manual)
       (Adrian Mariano, Han-Wen Nienhuys and Jan Nieuwenhuizen)
       (nop()PIPETHROUGH(date "+%B %d, %Y")()()nop())
 
@@ -156,9 +166,10 @@ subsect(Basic Mudela)
 
 A Mudela file consists of keywords with arguments and identifier
 assignments separated by spaces, tabs or newlines.  Semicolons are
-used by some keywords but are not generally required.  A one line
-comment is introduced by a code(%) character.  Block comments are
-started by code(%{) and ended by code(%}).  They cannot be nested.
+used by some keywords and are inconsistantly required in other
+circumstances.  A one line comment is introduced by a code(%)
+character.  Block comments are started by code(%{) and ended by
+code(%}).  They cannot be nested.
 
 Mudela supports several types:
 
@@ -222,17 +233,6 @@ mudela(fragment,verbatim,center)(
 )
 
 
-COMMENT(
-Compound types are built up from the simple types.  The compound types
-are: arglist, assignlist and musiclist.  An arglist is a
-white space separated list of integers, reals and or strings surrounded
-by braces code({) and code(}).  An assignlist is a list of 
-identifier assignments, which have the form var(key)code(=)var(value).
-A statement in Mudela has one of three forms:
-verb(\keyword argument
-\keyword argument1 argument2 ... ;
-string=value)
-)
 
 subsect(Identifiers)
 
@@ -242,7 +242,9 @@ var(name)=var(value) and to refer to an identifier, you preceed its
 name with a backslash: code(\)var(name).  It is legal to redefine an
 identifier in terms of its old value: code(foo = \foo * 2.0).
 Identifier assignments must appear at the top level in the Mudela
-file.
+file.  Note that semicolons are forbidden after assignments appearing
+at the top level but they are obligatory after assignments appearing
+elsewhere.  
 
 An identifier can be created with any string for its name, but you
 will only be able to refer to identifiers whose names begin with a
@@ -254,7 +256,7 @@ accepts        font            midi           pt         spandynamic
 alternative    grouping        mm             relative   tempo      
 bar            header          musicalpitch   remove     time       
 cadenza        in              name           repeat     times      
-chordmodifier  include         notenames      scm        translator 
+chordmodifiers include         notenames      scm        translator 
 chords         key             notes          scmfile    transpose  
 clef           keysignature    paper          score      type       
 cm             lyrics          partial        script     version    
@@ -291,28 +293,6 @@ can only appear within code(\midi) or code(\paper) blocks.  See
 Section ref(translators) for more information.
 
 
-COMMENT(
-subsect(Hierarchical structures)
-
-The general structure consists of declarations:
-verb(IDENTIFIER = \TYPE{
-        <type specific data>
-})
-and instantiations:
-
-verb(\TYPE{ <type specific data> })
-
-(Currently, code(\score) is the only type that can be instantiated
-at top level.)
-
-Most instantiations that use an IDENTIFIER are specified as follows:
-
-verb(\TYPE{ \IDENTIFIER [...] })
-
-Some exceptions on this rule have been made to prevent inputting
-Mudela becoming tedious
-)
-
 
 subsect(Modes)
 label(modes)
@@ -485,7 +465,7 @@ This happens because the Tuplet-engraver is in Voice and no Voice has
 been created yet.  You must explicitly specify the Voice context in
 this situation 
 mudela(fragment,verbatim,center)( 
-\type Voice { \times 2/3 {c'4 d' e'}} 
+\context Voice { \times 2/3 {c'4 d' e'}} 
 )
 
 A shorthand for code(\times) is to write code(*)var(fraction) after a
@@ -536,9 +516,15 @@ mudela(fragment,verbatim,center)(
 f'()g'()a' [a'8 b'(] a'4 g' )f'
 )
 
-A tie connects two adjacent note heads.  When used with chords, it
-connects all of the note heads.  Ties are indicated using the tilde symbol
+A tie connects two adjacent note heads of the same pitch.  
+When used with chords, it
+connects all of the note heads whose pitches match.  
+Ties are indicated using the tilde symbol
 code(~) by analogy with TeX()'s tie which connects words.  
+Note that if you try to tie together chords which have no common
+pitches, then a warning message will appear and no tie will be created.
+(Note that ties between different pitches can be enabled using the
+property Voice.oldTieBehavior.)
 
 mudela(fragment,verbatim,center)(
 e' ~ e' <c' e' g'> ~ <c' e' g'>
@@ -548,32 +534,28 @@ It is possible to create beams and slurs that cross staffs by switching the
 context:
 mudela(fragment,verbatim,center)(
 <
-\type Staff=one \notes\relative c'{
+\context Staff=one \notes\relative c'{
   \stemup
   [c8 c \translator Staff=two \stemup c c]
   \translator Staff=one
   d4( \translator Staff=two )a4
   }
-\type Staff=two \notes{ \clef bass;}
+\context Staff=two \notes{ \clef bass;}
 >
 )
 
 
-COMMENT(!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
-
 subsect(Note Ornaments)
 
 A variety of symbols can appear above and below notes to indicate
-different characteristics of the performance.  
-These symbols can be
-added to a note with `var(note)code(-\)var(name)'.  Numerous different
-symbols are defined in file(script.ly).  Each symbol is defined using
-the code(\script) keyword which specifies where symbols appear.
-Symbols can be forced to appear above the note by writing
+different characteristics of the performance.  These symbols can be
+added to a note with `var(note)code(-\)var(name)'.  Numerous symbols
+are defined in file(script.ly) and file(script.scm).  Symbols can be
+forced to appear above the note by writing
 `var(note)code(^\)var(name)', and they can be forced to appear below
 by writing `var(note)code(_\)var(name)'.  Here is a chart showing
 symbols above notes, with the name of the corresponding symbol
-appearing underneath.  
+appearing underneath.
 
 mudela()(
 \score{
@@ -584,22 +566,17 @@ mudela()(
           c''-\trill
           c''-\prall c''-\mordent c''-\prallprall  c''-\prallmordent
           c''-\upprall c''-\downprall c''-\thumb }
-  \type Lyrics \lyrics{  
-        accent      marcato      staccatissimo fermata stopped
-           staccato tenuto upbow downbow lheel rheel ltoe rtoe  turn
-           open  flageolet reverseturn 
-             trill  prall
-           mordent prallprall prallmordent uprall  downprall thumb } 
+  \context Lyrics \lyrics{  
+        accent__ marcato__ staccatissimo__ fermata stopped__
+        staccato__ tenuto__ upbow downbow__ lheel__ rheel__ ltoe
+        rtoe__ turn__ open__ flageolet reverseturn__ trill__ prall__
+        mordent prallprall__ prallmordent__ uprall__ downprall thumb }
   >
   \paper{ linewidth = 5.875\in;          
           indent = 0.0;        }
  }
 )
 
-COMMENT( The following are defined in script.ly but do not work:
-
-portato lbheel rbheel lbtoe rbtoe lfheel rfheel lftoe rftoe )
-
 In addition, it is possible to place arbitrary strings of text or
 TeX() above or below notes by using a string instead of an identifier:
 `code(c^"text")'.  Fingerings can be placed by simply using digits.
@@ -610,7 +587,7 @@ To save typing,  a few common symbols  can  be  abbreviated  with
 single characters:
 mudela()(
 \score{ \notes {
-        \property Voice.textstyle = typewriter
+        \property Voice.textStyle = typewriter
         c''4-._"c-." s4
         c''4--_"c-{}-"  s4
         c''4-+_"c-+" s4
@@ -688,7 +665,8 @@ english.ly     c   d   e   f   g   a   bf  b   -s/-sharp   -f/-flat
 deutsch.ly     c   d   e   f   g   a   b   h   -is         -es
 norsk.ly       c   d   e   f   g   a   b   h   -iss/-is    -ess/-es
 svenska.ly     c   d   e   f   g   a   b   h   -iss        -ess
-italiano.ly    do  re  mi  fa  sol la  sid si  -d          -b)
+italiano.ly    do  re  mi  fa  sol la  sid si  -d          -b
+catalan.ly     do  re  mi  fa  sol la  sid si  -d/-s       -b)
 
 subsect(Relative Pitch Specification)
 label(relative)
@@ -722,7 +700,10 @@ surrounding code(\notes) keyword which does not appear in the fragments shown
 above.  Also note that if the music passed to a code(\relative) keyword 
 contains a code(\transpose) keyword, the tranposed music will not be
 processed in relative mode.  An additional code(\relative) must be placed
-inside the code(\transpose).  
+inside the code(\transpose).  If code(\relative) will be used several
+times, or if it will be used in the same music with code(\transpose),
+then you may get bizarre effects.  This can be fixed by using an
+explicit code(Staff) context.   
 
 
 subsect(Tranposition of Pitches)
@@ -752,7 +733,9 @@ mudela(fragment,verbatim,center)(
 If you want to use both code(\transpose) and code(\relative), then you must use
 code(\transpose) first.  Any code(\relative) keywords that are outside the 
 code(\transpose) have no effect on notes that appear inside the
-code(\transpose).  
+code(\transpose).  As with code(\relative), using code(\transpose)
+repeatedly can cause bizarre effects.  An explicit code(Staff) context
+will eliminate the problems.  
 
 sect(Chords)
 
@@ -818,8 +801,8 @@ The chords may be entered either using the notation described above,
 or directly using angle brackets. 
 mudela(fragment,verbatim)(
 <
-  \type ChordNames { \chords{ a b c} \notes{ < d f g >  < e g b > } }
-  \type Staff \notes{ a b c' d' e' }
+  \context ChordNames { \chords{ a b c} \notes{ < d f g >  < e g b > } }
+  \context Staff \notes{ a b c' d' e' }
 >
 )
 Lilypond examines chords specified as lists of notes to determine a
@@ -827,26 +810,20 @@ name to give the chord.  By default, LilyPond will not try to identify
 chord inversions:
 mudela(fragment,verbatim,center)(
 <
-  \type ChordNames { 
+  \context ChordNames { 
      \notes{ < e' g' c'' > } }
-  \type Staff \notes{ c' } 
+  \context Staff \notes{ c' } 
 >)
 If you want inversions to be recognized, you must set the property
 code(Score.chordInversion): 
 mudela(fragment,verbatim,center)(
 <
   \property Score.chordInversion = 1
-  \type ChordNames { 
+  \context ChordNames { 
        \notes{ < e' g' c'' > } }
-  \type Staff \notes{ c' } 
+  \context Staff \notes{ c' } 
 >)
 
-COMMENT(
-  Two other properties
-     chordInversionPreserve
- and chordNameStyle = Banter
- exist.  What do these do?
-)
 
 
 sect(Lyrics)
@@ -858,7 +835,7 @@ no special meaning for lyrics, and does not introduce special symbols.
 See Section ref(modes) for a description of what is interpreted as a lyric.
 
 In order to instruct LilyPond to write lyrics underneath the
-staff, you must enter the lyrics context with code(\type Lyrics).  
+staff, you must enter the lyrics context with code(\context Lyrics).  
 Lyrics should be entered in lyrics mode which is entered with code(\lyrics).
 
 Spaces can be introduced into a lyric either by using quotes (code("))
@@ -867,7 +844,7 @@ unquoted underscores are converted to spaces.  Here is a full example:
 mudela(verbatim)(\score{
   <  \notes \transpose c'' {c d e c | c d e c | e f g'2 | 
                               e'4 f g'2 \bar "|."; }
-     \type Lyrics \lyrics { 
+     \context Lyrics \lyrics { 
               DOEXPAND(Fr\)`e-4 re Ja- que DOEXPAND(Fr\)`e- re Ja- que
               Dor- mez vous?2 Dor-4 mez vous?2  }
   >
@@ -882,22 +859,20 @@ Why does this warrant an URG?
 
 When one word is attached to many notes, you may 
 want a  continuous line after the lyric to show  this.   To achieve
-this effect, add a code(__) lyric after the lyric to be extended.  
+this effect, add a code(__) lyric as a separate word 
+after the lyric to be extended.  
 This will create
 an extender, a line  that extends over the entire duration of 
-the lyric.   There must be a lyric after the code(__), so if you want
-to extend the final lyric, you will have to end with a blank lyric. 
-mudela(verbatim,center)(
-\score{
+the lyric.  This line will run all the way to the start of the next
+lyric, so you may want to shorten it by using a blank lyric.  
+mudela(verbatim)(\score{
 < \notes \relative c''{ 
-     a4()b()c()d c()d()b()a }
-   \type Lyrics \lyrics {
-     foo1 __  bar2. __ _ }
+     a4()b()c()d c()d()b()a c()d()b()a }
+   \context Lyrics \lyrics {
+     foo1 __  bar2. __ _4 baz1 __ }
 > })
      
 
-COMMENT(Broken!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
-
 
 sect(Time)  
 
@@ -947,7 +922,7 @@ table(2)(lll)(
         row(cell()cell(code(|) code({) em(MusicList) code(})))
         row(cell()cell(code(|) code(<) em(MusicList) code(>)))
         row(cell()cell(code(|) em(Command)))
-        row(cell()cell(code(|) code(\type) em(string) code(=) em(string)  em(Music)))
+        row(cell()cell(code(|) code(\context) em(string) code(=) em(string)  em(Music)))
         row(cell()cell(;))
         row(cell(em(MusicList))cell(: em(empty)))
         row(cell()cell(code(|)  em(MusicList)  em(Music)))
@@ -985,7 +960,7 @@ it()You can form music by transposing music:
         d       % from c to the d that's almost one octave down
                 { e4 f4 }       % the horizontal music
 )
-it()verb(\type)
+it()verb(\context)
 it()verb(\property)
 it()verb(\translator)
 it()verb(\relative)
@@ -996,7 +971,7 @@ verb(
 { c <c e> <c e g> <c e g \transpose d' dis > }  % 4 increasing chords
 )
 
-)
+END OF COMMENT  )
 
 
 sect(Repeats)
@@ -1014,13 +989,26 @@ c'1
 \repeat 2 {c'4 d' e' f'} 
 \alternative { {d'2 d'} {f' f} })
 When the repeats involve partial measures, it will be necessary to use
-code(\partial) keywords to indicate which measures are short.  
+code(\partial) keywords in a somewhat unexpected way 
+to indicate some measure lengths.
 mudela(fragment,verbatim)(
-\type Staff { \relative c'{
+\context Staff { \relative c'{
   \repeat 2 { \partial 4; e | c2 d2 | e2 f2 | }
-  \alternative { { g4 g g } {\partial 2.; a a a a | b1 } }
+  \alternative { { g4 g g } {\partial 1; a a a a | b1 } }
+}})
+Repeats can be unfolded by setting the property Staff.unfoldRepeats.
+Note also that if your music begins with code(\repeat), you must place
+it in an explicit code(Staff) context or you will get bizarre results. 
+
+If you don't give enough alternatives for all of the repeats, then the
+first alternative is assumed to be repeated enough to equal to
+specified number of repeats.  
+mudela(fragment,verbatim)(
+\context Staff { \relative c'{
+  \repeat 3 { \partial 4; e | c2 d2 | e2 f2 | }
+  \alternative { { g4 g g } {\partial 1; e4 e e } 
+                 {\partial 1; a a a a | b1 } }
 }})
-Repeats can be unfolded by setting the unfoldRepeats 
 
 
 sect(Keywords)
@@ -1074,7 +1062,7 @@ Here are the supported clef names with middle C shown in each clef:
 mudela(center)(
 \score{
   \notes{ \cadenza 1;
-   %\property Voice.textstyle = typewriter
+   %\property Voice.textStyle = typewriter
    \clef subbass; c'4-"\kern-10mm subbass" 
            \clef bass;    c'4^"\kern -8mm bass"
            \clef baritone; c'4_"\kern -10mm baritone"
@@ -1099,6 +1087,12 @@ mudela(center)(
 The treble  clef  can also  be obtained using  the  names code(G) or
 code(violin).  The bass clef is also available by code(\clef  F). 
 
+dit(code(\chord) var(chordlist)) Parse var(chordlist) in chords mode.
+
+dit(code(\chordmodifiers) var(modifierlist)) Specify the text chord
+modifiers that may appear after chord names.  These are specified in
+the file file(chord-modifiers.ly).  
+
 dit(code(\cm)) Specify a dimension in centimeters. 
 
 dit(code(\consists) var(string)code(;)) This keyword can appear only within a
@@ -1128,7 +1122,7 @@ multiple code(\score) blocks, then a header should appear in
 each score block describing its contents.  Tools like code(ly2dvi) can
 use this information for generating titles.   Key values that are used
 by ly2dvi are: title, subtitle, composer, opus, poet, instrument,
-metre, arranger, and piece.  
+metre, arranger, piece and tagline.  
 
 dit(code(\in)) Specify a dimension in inches.  
 
@@ -1141,10 +1135,12 @@ dit(code(\key) var(pitch) var(type) code(;)) Change the key signature.
 var(type) should be code(\major) or code(\minor) to get
 var(pitch)-major or var(pitch)-minor, respectively. The second
 argument is optional, the default is major keys. 
-The var(\type) argument can also be given as an integer, which tells
+The var(\context) argument can also be given as an integer, which tells
 the number of semitones that should be added to the pitch given in the
 subsequent code(\key) commands to get the corresponding major key,
-e.g. code(\minor) is defined as 3.
+e.g. code(\minor) is defined as 3.  The standard mode names 
+code(\ionian), code(\locrian), code(\aeolian), code(\mixolydian),
+code(\lydian), code(\phrygian), and code(\dorian) are also defined. 
 
 dit(code(\keysignature) var(pitchseq)code(;))
 Specify an arbitrary key signature.  The pitches from var(pitch) will
@@ -1196,7 +1192,9 @@ The var(statmentlist) contains statements that change features of the
 output.  See Section ref(paper).  
 
 dit(code(\partial) var(duration)code(;)) Specify that the first measure of
-the music lasts only for the specified duration.
+the music lasts only for the specified duration.  Use also to specify
+the duration of the first measure of the argument to
+code(\alternative).  
 
 dit(code(\penalty) code(=) var(int)code(;)) Allowed only in music.
 Discourage or encourage line breaks.  See identifiers code(\break) and
@@ -1237,21 +1235,14 @@ dit(code(\score) var(statementlist)) Create a Score context.  This
 is the top level notation context.  
 COMMENT(this still needs work)
 
-dit(code(\script) code({) var(name) var(instaff) var(withstem)
-var(location) var(invertible) var(priority) code(})) This keyword is
-used the initialization file(script.ly) to define the various symbols
-that can appear above and below notes.  The first argument is the name
-of the symbol.  The second argument var(instaff) is 1 if the symbol
-follows the notehead into the staff and 0 if the symbol stays above or
-below the staff lines.  The third parameter var(withstem) is 0 if the
-symbol's placement does not depend on the stem direction; it is 1 if
-the symbol should be at the stem end of the note and it is -1 if the
-symbol should be at the note head end of the note.  The argument
-var(location) is set to 1 for symbols that always appear above the
-staff; it is -1 for symbols that appear below the staff.  If
-var(invertible) is set to 1 then the symbol can be inverted; otherwise
-it cannot.  The last argument var(priority) sets a priority for the
-order of placement of several symbols on a single note.
+dit(code(\script) var(alias)) Prints a symbol above or below a note.
+The argument is a string which points into the script-alias table
+defined in file(script.scm).  The scheme definitions specify whether
+the symbol follows notes into the staff, dependence of symbol
+placement on staff direction, and a priority for placing several
+symbols over one note.  Usually the code(\script) keyword is not used
+directly.  Various helpful identifier definitions appear in
+file(script.ly).
 
 dit(code(\shape) code(=) var(indent1) var(width1) var(indent2)
 var(width2) ... code(;)) Allowed only within code(\paper).  Each pair
@@ -1293,7 +1284,7 @@ dit(code(\translator) var(statements) or code(\translator)
 var(context) = var(name)) The first variant appears only within
 code(\paper) and specifies a translator for
 converting music to notation.  The translator is specified with a
-single code(\type) statement and a series of code(\accepts), and
+single code(\context) statement and a series of code(\accepts), and
 code(\consists) statements.  See Section ref(translators). 
 The second variant appears in 
 music.  It specifies that the current the contexts
@@ -1309,8 +1300,8 @@ and if it appears inside code(\relative), then any notes specified for
 transposition should be specified inside another code(\relative).  See Section
 ref(transpose).  
 
-dit(code(\type) var(contexttype) [code(=) var(contextname)]
-var(music) or code(\type) var(translatortype)code(;)) The first
+dit(code(\context) var(contexttype) [code(=) var(contextname)]
+var(music) or code(\context) var(translatortype)code(;)) The first
 variant is used only within music to create an instance of a
 context.  The new context can optionally be given a name.  The
 specified var(music) is processed in the new context. The second
@@ -1329,7 +1320,7 @@ sect(Notation Contexts)
 
 Notation contexts provide information that appears in printed music
 but not in the music itself.  A new musical context is created using
-the code(\type) keyword: `code(\type) var(contexttype) [code(=)
+the code(\context) keyword: `code(\context) var(contexttype) [code(=)
 var(contextname)] var(music)'.  The following context types are
 allowed.
 
@@ -1375,7 +1366,7 @@ dit(code(ChoirStaff)) Identical to code(StaffGroup) except that the
 contained staffs are not connected vertically.  
 
 dit(code(Score)) This is the top level notation context.  It is specified with
-the code(\score) keyword rather than the code(\type) command.  No
+the code(\score) keyword rather than the code(\context) command.  No
 other context can contain a code(Score) context.  This context handles
 the administration of time signatures.  It also makes sure that items
 such as clefs, time signatures, and key-signatures are aligned across
@@ -1409,7 +1400,7 @@ subsubsubsect(Lyrics properties)
 
 description(
 
-dit(code(textstyle)) Set the font for lyrics.  The available font
+dit(code(textStyle)) Set the font for lyrics.  The available font
 choices are code(roman), code(italic), code(bold), code(large),
 code(Large), code(typewriter), and code(finger).  The code(finger)
 font can only display numbers.  Note also that you must be careful
@@ -1417,7 +1408,7 @@ when using code(\property) in Lyrics mode.  Because of the way strings
 are parsed, either put quotes around the arguments to code(\property)
 or be sure to leave a space on both sides of the dot.
 
-dit(code(textalignment)) Controls alignment of lyrics.  Set to code(\left)
+GONE dit(code(textalignment)) Controls alignment of lyrics.  Set to code(\left)
 to align the left end of the lyric with the note; set to code(\right) to
 align the right end of the lyric with the note.  Set to code(\center) to
 align the center of the lyric with the note.  
@@ -1428,6 +1419,31 @@ subsubsubsect(Voice properties)
 
 description(  
 
+dit(code(textEmptyDimension)) If set to 1 then text placed above or
+below the staff is assumed to have zero width.  
+
+dit(code(noteheadStyle)) Selects type of note head.  Choices are
+code(cross), code(diamond), code(harmonic), code(transparent), and
+code("").  They are shown in that order below.  
+mudela(center)(
+\score{
+  \notes{ 
+     \property Staff.barNonAuto = 1
+     \property Voice.noteHeadStyle = cross 
+     a'
+     \property Voice.noteHeadStyle = diamond
+     a'
+     \property Voice.noteHeadStyle = harmonic
+     a'
+     \property Voice.noteHeadStyle = transparent
+     a' 
+     \property Voice.noteHeadStyle = ""
+     a'
+  }
+ \paper{ linewidth = -1.;}
+}
+)
+
 dit(code("midi_instrument")) Sets the instrument for MIDI output.  This
 property name must be quoted because of the embedded underscore.  If
 this property is not set then LilyPond will use the code(instrument)
@@ -1438,6 +1454,9 @@ string which is not listed, LilyPond will silently substitute piano.
 dit(code(transposing)) Tranpose the MIDI output.  Set this property to
 the number of half-steps to transpose by.
 
+dit(code(oldTieBehavior)) Set to 1 in order to get old tie behavior
+where ties would connect unequal pitches.  
+
 dit(code(ydirection)) Determines the direction of stems, subscripts,
 beams, slurs, and ties.  Set to code(\down) to force them down,
 code(\up) to force them up, or code(\free) to let LilyPond decide.
@@ -1468,34 +1487,25 @@ dit(code(dynamicDir)) Determines location of dynamic marks.  Set to
 code(\up) to print marks above the staff; set to code(\down) to print
 marks below the staff.
 
-dit(code(textalignment)) Controls alignment of superscripted and
+GONE dit(code(textalignment)) Controls alignment of superscripted and
 subscripted text.  Set to \left to align the left end of the text with
 the note; set to \right to align the right end of the text with the
 note.  Set to \center to align the center of the text with the note.
 
-dit(code(textstyle)) Set the text style for superscripts and
+dit(code(textStyle)) Set the text style for superscripts and
 subscripts.  See above for list of text styles.
 
 dit(code(textScriptPadding)) Determines the extra space added between
 super-/subscripted text and the closest staff line or note.
 
-dit(code(textScriptPadding)) Determines the extra space added between
-super-/subscripted text and the closest staff line or note.
-
 dit(code(fontsize)) Can be used to select smaller font sizes for
 music.  The normal font size is 0, and the two smaller sizes are -1
 and -2.
 
-dit(code(pletvisibility)) Determines whether tuplets of notes are
-labelled.  Setting to 0 shows nothing; setting to 1 shows a number;
-setting to 2 shows a number and a bracket if there is no beam; setting
-to 3 shows a number, and if there is no beam it adds a bracket;
-setting to 4 shows both a number and a bracket unconditionally.  
-
-dit(code(markScriptPadding)) Determines the extra space added between
+GONE dit(code(markScriptPadding)) Determines the extra space added between
 the mark and the closest staff line or note.
 
-dit(code(markDirection)) Determines if marks should be printed above
+GONE dit(code(markDirection)) Determines if marks should be printed above
 or below the staff. Set to code(\up) to print marks above the staff;
 set to code(\down) to print marks below the staff.
 
@@ -1504,11 +1514,32 @@ set to code(\down) to print marks below the staff.
 subsubsubsect(Staff properties)
 
 description(
+
+dit(code(barAtLineStart)) Set to 1 to produce a bar line after the
+clef at the start of each line (but not at the beginning of the
+music).  
+
+dit(code(voltaVisibility)) Set to 0 to suppress the printing
+of brackets over alternate endings specified by code(\alternative).
+
+dit(code(voltaSpannerDuration)) Set to an integer to control the size
+of the brackets printed by code(\alternative).  The integer specifies
+the number of whole notes duration to use for the brackets.  It seems
+to be rounded to the nearest measure.  This can be used to shrink the
+length of brackets in the situation where one alternative is very
+large.  It may have odd effects if the specified duration is longer
+than the music given in an code(\alternative).  
+
+dit(code(barNonAuto)) If set to 1 then bar lines will not be printed
+automatically; they must be explicitly created with code(\bar) keywords.
+
+dit(code(unfoldRepeats)) If set to 1 then repeats will be unfolded.
+Otherwise, they will be printed using repeat symbols.  
  
 dit(code(defaultClef)) Determines the default clef.  See code(\clef)
 keyword.
 
-dit(code(nolines)) Sets the number of lines that the staff has.
+dit(code(nuberOfStaffLines)) Sets the number of lines that the staff has.
  
 dit(code(barAlways)) If set to 1 a bar line is drawn after each note.
 
@@ -1557,7 +1588,7 @@ their names:
 mudela(center)(
 \score{
   \notes\relative c'' {
-\property Voice.textstyle = typewriter
+\property Voice.textStyle = typewriter
 \property Staff.timeSignatureStyle = "C2/2"
 \time 2/2; a2^"C2/2" a2 
 \property Staff.timeSignatureStyle = "C4/4"
@@ -1636,13 +1667,6 @@ to find inversions.  The default is 0 which does not look for inversions.
 )
 
 
-COMMENT(
-
-Mystery properties:
-
-bar-number-engraver.cc:  "barScriptPadding"  vertical space for numbers
-span-bar-engraver.cc:    "singleStaffBracket" do single staffs get a bracket?
-)
 
 sect(Pre-defined Identifiers)
 label(ident)
@@ -1651,11 +1675,15 @@ Various identifiers are defined in the initialization files to
 provide shorthands for some settings.  
 
 description(
+dit(code(\aeolian)) Used as the second argument of the code(\key)
+keyword to get an aeolian mode. 
 dit(code(\break)) Force a line break in music by using a large
 argument for the keyword code(\penalty). 
 dit(code(\center)) Used for setting textalignment property.  Is set to 0.
 dit(code(\cr)) Start a crescendo.
 dit(code(\decr)) Start a decrescendo.
+dit(code(\dorian)) Used as the second argument of the code(\key)
+keyword to get a dorian mode.
 dit(code(\down)) Used for setting direction setting properties.  Is
 equal to -1.  
 dit(code(\f)) Print forte symbol on the preceeding note.
@@ -1671,11 +1699,19 @@ dit(code(\Gourlay)) Used for setting the paper variable
 code(castingalgorithm).  Is equal to 1.0.  
 dit(code(\infinity)) Used for setting the Score.beamslopedamping
 property.  Is actually equal to 10000.  
+dit(code(\ionian)) Used as the second argument of the code(\key)
+keyword to get an ionian mode. 
 dit(code(\left)) Used for setting textalignment property.  Is equal to -1.
+dit(code(\locrian)) Used as the second argument of the code(\key)
+keyword to get a locrian mode. 
+dit(code(\lydian)) Used as the second argument of the code(\key)
+keyword to get a lydian mode. 
 dit(code(\major)) Used as the second argument of the code(\key)
-command to get a major key.
+keyword to get a major key.
 dit(code(\minor)) Used as the second argument of the code(\key)
-command to get a minor key.
+keyword to get a minor key.
+dit(code(\mixolydian)) Used as the second argument of the code(\key)
+keyword to get a mixolydian mode.
 dit(code(\mf)) Print mezzoforte symbol on preceeding note. 
 dit(code(\mp)) Print mezzopiano symbol on preceeding note. 
 dit(code(\nobreak)) Prevent a line break in music by using a large
@@ -1687,6 +1723,8 @@ Score.beamquantisation properties.  Is equal to 1.
 dit(code(\normalkey)) Select normal key signatures where each octave
 has the same key signature.  This sets the Staff.keyoctaviation property.
 dit(code(\p)) Print a piano symbol on preceeding note. 
+dit(code(\phrygian)) Used as the second argument of the code(\key)
+keyword to get a phrygian mode.
 dit(code(\pp)) Print pianissimo symbol on preceeding note. 
 dit(code(\ppp)) Print pianississimo symbol on preceeding note. 
 dit(code(\pppp)) Print pianissississimo symbol on preceeding note.
index b8c65bdf4fef51d9e92fbd05f240bb10599f282a..30966e4ba6b8b64ba241f1370c19a9cf75e12f42 100644 (file)
@@ -546,7 +546,7 @@ COMMENT(
 
 )mudela(verbatim,center)(
 \score{
-  \type ChordNames {
+  \context ChordNames {
     \chords
       { c1 d-min e-maj5+.9 }
     \notes\relative c
@@ -581,7 +581,7 @@ following example: COMMENT(
 )mudela()(
 \score{ <
         \property Score.textstyle = typewriter
-        \type Staff \notes {
+        \context Staff \notes {
                c''4-.
                c''4--
                c''4-+
@@ -589,7 +589,7 @@ following example: COMMENT(
                c''4->
                c''4-^
                }
-        \type Lyrics\lyrics {
+        \context Lyrics\lyrics {
               "."4 "-" "+" "|" ">" "\^{ }" }
         >
         \paper { linewidth = -1.\cm; }
@@ -948,7 +948,7 @@ We see that a staff forms context, and that context is needed to
 convert between notation and music.  In LilyPond we turn around this
 reasoning: LilyPond has a notion of notation context, and the staff is
 just one example of a notation context.  In fact, the arguments of the
-code(\type) command (Staff, GrandStaff) were all names of different
+code(\context) command (Staff, GrandStaff) were all names of different
 contexts.  A notation context is a conversion between music and
 notation.
 
@@ -1034,7 +1034,7 @@ Now we explain how to typeset music that runs in multiple staffs.
 Consider the following---somewhat unrealistic---example:
 
 mudela(fragment)(
- \type GrandStaff <e'4 {\clef bass; g4^""} >
+ \context GrandStaff <e'4 {\clef bass; g4^""} >
 )
 
 In this example the music consists of two notes.  The above would
@@ -1052,32 +1052,32 @@ does not represent notes stacked together, but staffs stacked
 together.
 
 If a piece of music is to be interpreted as a staff, then this can be
-expressed with the code(\type) construct.  The following input says
+expressed with the code(\context) construct.  The following input says
 ``the quarter note with pitch e should be put on a staff.''
 
 verb(
-  \type Staff e'4 
+  \context Staff e'4 
 )COMMENT(
 
 ) The same can be done for the other note, i.e.,
 
 verb(
-  \type Staff g4 
+  \context Staff g4 
 ) COMMENT(
 
 ) If you want to stack these staffs, you must create a chord of both:
 
 verb(
-  < \type Staff e'4
-    \type Staff g4 
+  < \context Staff e'4
+    \context Staff g4 
   >
 )
 
 This looks reasonable, but the effect of this input is not what you
 might expect:
 mudela(fragment)(
-  < \type Staff e'4
-    \type Staff g4 
+  < \context Staff e'4
+    \context Staff g4 
   >
 )COMMENT(
 
@@ -1089,8 +1089,8 @@ code(bassStaff).  This makes LilyPond distinguish between them, and
 create two staffs:
 
 mudela(verbatim,fragment)(
-  < \type Staff = trebleStaff e'4
-    \type Staff = bassStaff  g4 
+  < \context Staff = trebleStaff e'4
+    \context Staff = bassStaff  g4 
   >
 )COMMENT(
 
@@ -1098,13 +1098,13 @@ mudela(verbatim,fragment)(
 different.  This is almost right, except for the brace at the left and
 the clef of the second staff.  If you want a brace, then you have to
 tell LilyPond that the chord you just formed is to be interpreted as a
-so-called grand staff.  This is also done with the code(\type)
+so-called grand staff.  This is also done with the code(\context)
 command.  The bass clef is made with a clef command:  COMMENT(
 
 ) mudela(verbatim,fragment)(
-  \type GrandStaff <
-        \type Staff = treblestaff e'4
-        \type Staff = bassstaff { \clef "bass"; g4 }
+  \context GrandStaff <
+        \context Staff = treblestaff e'4
+        \context Staff = bassstaff { \clef "bass"; g4 }
   >)COMMENT(
 
 )
@@ -1127,9 +1127,9 @@ staffs stacked together.  This suggests that the template to follow is
 this:COMMENT(
 
 )verb(
-  \type Staff <
-    \type Voice = one  ...
-    \type Voice = two  ...
+  \context Staff <
+    \context Voice = one  ...
+    \context Voice = two  ...
   >
 ) COMMENT(
 
@@ -1137,9 +1137,9 @@ this:COMMENT(
 other words, notes enclosed in braces.  Let us try the following counterpoint:COMMENT(
 
 )mudela(fragment,verbatim)(
-\type "Staff" <
-  \type "Voice" = "one" { r4 as'4 () as'4 g'4 }
-  \type "Voice" = "two" { g'2 f'4 e'4 }
+\context "Staff" <
+  \context "Voice" = "one" { r4 as'4 () as'4 g'4 }
+  \context "Voice" = "two" { g'2 f'4 e'4 }
 >)
 
 As you can see the result is not quite perfect.  The notes on the last
@@ -1171,11 +1171,11 @@ bind(Figure)ref(tutorial:multi-voice-fig).
 
 latexcommand(\begin{figure}[h])
 mudela(fragment,verbatim,center)(
-  \type "Staff" <
-    \type "Voice" =  "one"  {
+  \context "Staff" <
+    \context "Voice" =  "one"  {
       \property Voice.ydirection = "1"
       r4 as'4 () as'4 g'4 }
-    \type "Voice" =  "two"  {
+    \context "Voice" =  "two"  {
       \property Voice.ydirection = "-1"
       g'2 f'4 e'4 }
   >
@@ -1212,7 +1212,7 @@ Lyrics consist of syllables, which are strings together with
 durations.  For entering lyrics we have to instruct LilyPond that what
 we enter are not note names but strings.  This instruction is the
 keyword code(\lyrics).  After entering this keyword you can enter a
-musical construct---sequential music, simultaneous music, code(\type)
+musical construct---sequential music, simultaneous music, code(\context)
 entries, etc.--- but with syllables instead of pitches.  For example:
 COMMENT(
 
@@ -1222,24 +1222,24 @@ COMMENT(
 out that lyrics need different treatment than notes.  As a result, the
 default conversion will try to put the text you entered as note heads
 onto a staff, and this will fail.  This default must be overridden
-with a code(\type) keyword.  Printing syllables of text in a line is
+with a code(\context) keyword.  Printing syllables of text in a line is
 done by a context called code(Lyrics).  You can select this context
-with the code(\type) keyword.  Here is a simple example with output:
+with the code(\context) keyword.  Here is a simple example with output:
 COMMENT(
 
 )mudela(fragment,verbatim)(
-\type Lyrics \lyrics { 'got8 me on my knees,4 Le-8 lie! })COMMENT(
+\context Lyrics \lyrics { 'got8 me on my knees,4 Le-8 lie! })COMMENT(
 
 )The result is technically correct, but it needs a melody to make it
 perfor0mable: COMMENT(
 
 )mudela(fragment,verbatim)(
   <
-    \type Staff  { 
+    \context Staff  { 
       \property Voice.beamAuto = "0" % no beams in melody
       c''8. c''16 bes'8. a'16 g'4 f'8 g'4. 
     }
-    \type Lyrics \lyrics { 'got8. me16 on8. my16 knees,4 Le-8 lie!4. }
+    \context Lyrics \lyrics { 'got8. me16 on8. my16 knees,4 Le-8 lie!4. }
   >
 ) COMMENT(
 
@@ -1253,16 +1253,16 @@ These tricks are demonstrated in the following example:
 COMMENT(
 
 urg
-\type Lyrics \lyrics { 'got8 m\textbf{e}8 on8. m$\cal_Y$16 knees,4 Le-8 lie!4.}
-\type Lyrics \lyrics { 'got8 m{\bf e}4 on8. m$\cal_Y$16 knees,4 Le-8 lie!4.}
+\context Lyrics \lyrics { 'got8 m\textbf{e}8 on8. m$\cal_Y$16 knees,4 Le-8 lie!4.}
+\context Lyrics \lyrics { 'got8 m{\bf e}4 on8. m$\cal_Y$16 knees,4 Le-8 lie!4.}
 )COMMENT(
 
 )mudela(fragment,verbatim)(<
-  \type Staff  { 
+  \context Staff  { 
     \property Voice.beamAuto = "0" % no beams in melody
     c''8. c''16 bes'8. a'16 g'4 f'8 g'4. 
   }
-  \type Lyrics \lyrics { 'got8 me8 on8. m$\cal_Y$16 "3s,"4 Le-8 lie!4.}
+  \context Lyrics \lyrics { 'got8 me8 on8. m$\cal_Y$16 "3s,"4 Le-8 lie!4.}
 >
 )COMMENT(
 
@@ -1303,7 +1303,7 @@ with a backslash, i.e., code(\identifierName).  For example:
 mudela(verbatim)(
   czerny = \notes { [c16 g e g] }
   \score {
-    \notes \type GrandStaff <
+    \notes \context GrandStaff <
       { c''2 g''2 }
       { \clef bass; \czerny \czerny \czerny \czerny}
     >
@@ -1332,10 +1332,10 @@ stemup = \property Voice.ydirection = "1"
 stemdown = \property Voice.ydirection = "-1"
 shift = \property Voice.hshift = "1"
 \score {
-  \type "Staff" \notes <
-    \type "Voice" =  "one"  { \stemup r4 as'4 () as'4 g'4 }
-    \type "Voice" =  "two"  { \stemup \shift g'2 f'4 e'4 }
-    \type "Voice" = "three" { \stemdown [d'8 dis'] [d' cis'] [c' b] c'4 } >
+  \context "Staff" \notes <
+    \context "Voice" =  "one"  { \stemup r4 as'4 () as'4 g'4 }
+    \context "Voice" =  "two"  { \stemup \shift g'2 f'4 e'4 }
+    \context "Voice" = "three" { \stemdown [d'8 dis'] [d' cis'] [c' b] c'4 } >
   \paper{  linewidth = -1.0\pt; }
 })
 
@@ -1419,7 +1419,7 @@ The following definition shows a simplified Staff context: COMMENT(
 )verb(
 \translator
 {
-        \type "Line_group_engraver_group";
+        \context "Line_group_engraver_group";
         \name Staff ;
 
         \consists "Bar_engraver";
@@ -1464,8 +1464,8 @@ of code(\consists).
 mudela(verbatim)(
   \score {
    \notes <
-     \type Staff = one { \time 2/4; c'4 c'4 c'4 c'4 c'4 c'4 }
-     \type Staff = two { \time 3/4; c'4 c'4 c'4 c'4 c'4 c'4 }
+     \context Staff = one { \time 2/4; c'4 c'4 c'4 c'4 c'4 c'4 }
+     \context Staff = two { \time 3/4; c'4 c'4 c'4 c'4 c'4 c'4 }
    >
    \paper { 
      linewidth = -1.;
@@ -1502,8 +1502,8 @@ COMMENT(
 
 ) mudela(fragment,verbatim)(
   <
-    \type Staff = one { c''4 \type Staff = two { c4 c4 } c''4 }
-    \type Staff = two { \clef bass; g,4 g,4 g,4 g,4  }    
+    \context Staff = one { c''4 \context Staff = two { c4 c4 } c''4 }
+    \context Staff = two { \clef bass; g,4 g,4 g,4 g,4  }    
   >
 )
 
@@ -1537,14 +1537,14 @@ mudela(verbatim)(
 
     
     { < 
-        \type Voice = celloVoice { \bach \bach}
-        \type Voice = celloVoice < { \slursOne \slursOne }
+        \context Voice = celloVoice { \bach \bach}
+        \context Voice = celloVoice < { \slursOne \slursOne }
              { \bachBeams \bachBeams } >       
         \staffStuff
       >
       <
-        \type Voice = celloVoice { \bach \bach }
-        \type Voice = celloVoice < { \slursTwo \slursTwo }
+        \context Voice = celloVoice { \bach \bach }
+        \context Voice = celloVoice < { \slursTwo \slursTwo }
              { \bachBeams \bachBeams } >
         \staffStuff
       >
@@ -1567,7 +1567,7 @@ One of the things that you can do with music is em(transposing) it.
 If you want to transpose a piece of music, then you should prefix it
 with the keyword code(\transpose) along with the pitch (relative to
 the central C, i.e., code(c')) for the transposition.footnote(the
-code(\type Staff) is to make sure that no separate staffs are created
+code(\context Staff) is to make sure that no separate staffs are created
 for the code(\scale) and code(\transpose cis' \scale) part.)
 
 
@@ -1575,7 +1575,7 @@ mudela(verbatim)(
 scale = \notes \relative c' { [c8 d e f] }
 \score {
   \notes {
-    \type Staff { \scale \transpose cis'  \scale }
+    \context Staff { \scale \transpose cis'  \scale }
     }
   \paper { linewidth = -1.0; }
 })
@@ -1598,17 +1598,17 @@ which staff the music is printed.  For example:
 mudela(verbatim)(
 
 % real music
-aVoice = \type Voice = voiceA \notes { c''4 c4 c4 c''4 }
-bVoice = \type Voice = voiceB \notes { g,4 g,4 g,4 g,4  }    
+aVoice = \context Voice = voiceA \notes { c''4 c4 c4 c''4 }
+bVoice = \context Voice = voiceB \notes { g,4 g,4 g,4 g,4  }    
 
 % staff switching stuff
-switch = \type Voice = voiceA \notes { s4 \translator Staff = staffB s4
+switch = \context Voice = voiceA \notes { s4 \translator Staff = staffB s4
                   s4 \translator Staff = staffA s4 }
 
 \score {
   <
-    \type Staff = staffA < \aVoice \switch >
-    \type Staff = staffB < \bVoice \clef bass; >
+    \context Staff = staffA < \aVoice \switch >
+    \context Staff = staffB < \bVoice \clef bass; >
   >
   \paper { linewidth = -1.; }
 }
@@ -1619,9 +1619,9 @@ beam, you should take special precautions.  In the paper block,
 you must tell how far the staffs will be apart:
 mudela(verbatim,center)(
 \score{
-  \type GrandStaff <
-    \type Staff=one \notes{ s2 }
-    \type Staff=two \notes\relative c{
+  \context GrandStaff <
+    \context Staff=one \notes{ s2 }
+    \context Staff=two \notes\relative c{
       \time 4/8;
       \clef "bass";
       \stemup [c8( e
@@ -1651,12 +1651,12 @@ for triplet in LilyPond reflects this.  To make a triplet, you enter
 COMMENT(
 
 )mudela(verbatim,fragment,center)(
-       \type Voice \times 2/3 { c''4 c''4 c''4 }
+       \context Voice \times 2/3 { c''4 c''4 c''4 }
 )COMMENT(
 
 )Since tuplet brackets are printed by the Voice context, a Voice
 context must exist before code(\times) is interpreted.  To ensure this,
-a context is instantiated explicitly with code(\type Voice).  You
+a context is instantiated explicitly with code(\context Voice).  You
 don't need this, if a Voice context is already instantiated, like in
 the following example:
 COMMENT(
@@ -1674,7 +1674,7 @@ COMMENT( BROKEN
 lilypond: score-element.cc:134: class Paper_def * Score_element::paper() const: Assertion `pscore_l_' failed.
 
 mudela(fragment)(
-       \type Voice \times 4/5 { [c''8 c''16 c''16] r8 [g'8 g'8] }
+       \context Voice \times 4/5 { [c''8 c''16 c''16] r8 [g'8 g'8] }
 )
 )
 If you make a tuplet of  beamed notes, where the beam is as wide as
@@ -1704,7 +1704,7 @@ a couple alternatives, but nothing is repeated.  The code(\repeat) command
 must be present, but it may specify an empty music list:
 COMMENT(
 )mudela(verbatim,fragment,center)(
-    \type Lyrics \lyrics {
+    \context Lyrics \lyrics {
        \repeat 2 { }
        \alternative < 
            { Let's not sing 
diff --git a/NEWS b/NEWS
index 5f04e3e2de109e6d08ccdc762f724d0bbd4eea8d..02a1840575106e61541c8a6f2edd4317cd110086 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,45 @@
+pl 40.uu2
+       - rest ledger lines are dimensionless.
+       - Score_elements are added to the Paper_score directly when
+announce_element () is called.  This makes it possible to init
+molecules from within engravers.
+       - changed \type to \context
+       - \context Contextname = ID Music is now a real separate production
+         * you can do
+               \context C1 \context C2
+
+       and C1 won't overwrite C2
+
+         * you need some extra explicit context specs, eg. if you start a
+voice with a chord.
+
+               \score { \notes { <c e g> }  }
+
+       should be
+
+               \score { \notes \context Voice { <c e g > }
+
+       - set staff margins on grandstaffs too. Center staffmargins vertically.
+       - \property values are not inherited anymore, i.e. setting
+Score.minVerticalAlign does not set GrandStaff.minVerticalAlign, Staff.minVerticalAlign and Voice.minVerticalAlign as well.
+       - {Axis_spanner, Hara_kiri}_engraver which can be added at wish.
+Hara_kiri should be working again.
+       - boilerplate for accordion stuff.
+       - some more paper writing.
+       - bf: substitute vertical refpoint as well for broken items.
+(fixes clef^8)
+       - bf: translating molecule without elts but with dims. (bf: accidental
+spacing.)
+       
+pl 40.mb1
+       - bf: ly2dvi set MFINPUTS so standard tree is found before lilypond
+       - bf: lilypond-regtest.doc, ls-latex.py; now finds author/title
+
+pl 40.uu1
+       - large documentation patch by Adrian Mariano
+
+********
+pl 40
 pl 39.mb2
        - added more mensural style time signatures, old3/4, old6/8, old9/8
        - redesigned old6/4, old9/4
diff --git a/TODO b/TODO
index bf189ce4c1442eb44597e88dd7190ed7f10bb817..e0301f88598e3060fc874fd8971d4d726aacecb5 100644 (file)
--- a/TODO
+++ b/TODO
@@ -9,25 +9,14 @@ Most of the items are marked in the code as well
 Grep for TODO and ugh/ugr/urg.  
 
 .* BUGS
-. * header for PS enteredby = "bla <bla@bar.com>"
-. * Hash_table::remove ().
-. * 1.  With "lilypond -f ps": The black notes with ledger lines seem to
-> have extra "blobs" over and to the left of them and all the ledger
-> lines from the staff to the note will have a blob too.  For example,
-> with the note "a4" there will be a black note at the ledger line where
-> "c" would be too.  However, only the "a4" will have the extra blob.
-. * clefs.ly
-. * ps/lily.ps
+. * rewrite context defs using Scheme
+. * PostScript
+.  * header for PS enteredby = "bla <bla@bar.com>"
+.  * ps/lily.ps see comments.
 . * devise standard for functioning of Vertical_align_element.
-. * fix interstaff slurs & beams.
 . * staff size for post/prebreaks
 . * .ly files
 .  * input/star-spangled-banner
-.  * input/scripts.ly
-.  * mutopia/J.S.Bach/wtk1-fugue2.ly
-.  * input/test/grace
-.  * fix: text on rests: ridiculous dims
-.  * clefs.ly
 . * m=\notes\relative c'''{
   \time 2/4;
 
@@ -56,9 +45,10 @@ Grep for TODO and ugh/ugr/urg.
   }
 }
 . * midi key.
-. * P.P.S. It can be cool in mudela-book to distinguish in pre,postMudelaExample,
-whether MudelaExample is epsed or not: ( if this fragment is floating eps, than 1,
-otherwise 2). say preMudelaExample[eps]{}, and change it in document body sometimes.
+. * P.P.S. It can be cool in mudela-book to distinguish in
+pre,postMudelaExample, whether MudelaExample is epsed or not: ( if
+this fragment is floating eps, than 1, otherwise 2). say
+preMudelaExample[eps]{}, and change it in document body sometimes.
 . * fix singleStaffBracket
 . * declare performers in \midi
 . * fix MIDI
@@ -66,18 +56,33 @@ otherwise 2). say preMudelaExample[eps]{}, and change it in document body someti
 . * turn slope-damping on/off
 . * tremolo stuff
 . * fix height of / collisions with lyrics (chords), 
-    see input/test/vertical-text.ly; input/test/repeat.ly
+see input/test/vertical-text.ly; input/test/repeat.ly
 . * We need feta-din*.mf files for more sizes than 10.
-. * latex bla.tex broken (titles / \lilyfooter stuff?
 . * fix dynamics decently, ie. use kerning & ligatures.  
 . * dots & rest collisions?
 . * mudela-book.py
-.  * \mudelafile{} to have decent functionality
+.  * fix \mudelafile{} to have decent functionality
 .  * use less RE's
 . * support_l_arr_ empty in staff-margin's G_staff_side_item
 . * slurs colllide with lyrics.
-. * minVerticalAlign for StaffGroups.
-. * fix OrchestralScore and Hara-kiri (i.e., fix Coriolan)
+. * Is there any reasonable way to do this: I would like to have one file
+that can generate the same tune in two different modes without having
+to go through and rewrite all the music in the other mode.
+
+Long lyrics don't get a space at the end.  They just run right up
+against the next lyric.  (I don't think this used to be the case.)
+
+Lyrics and scripts collide.
+
+\key b; \time 4/4; looks bad.  The clef and time signature are too close.
+
+I noticed that ledger lines in the previewer looked like they had a
+double line (of different lengths).  On printed output, I think I can
+see a slight thickening of the ledger lines in the middle.  Is this
+supposed to happen?
+
+restStyle=mensural doesn't seem to work (lots of characters not found
+for rests.fly)
 . * Phrasing:  Indicating the textual underlay of a piece, or
 otherwise dividing a piece into phrases.
 
@@ -85,26 +90,21 @@ There are distinct ways of specifying the first two (although at
 present, they're not properly distinguished) but no distinct way to
 specify the third.  Should there be?
 . * spacing of mmrests.
-. * mem leak: redo p-score object deletion.
 . * rest collision minimum dist.
 . * Matanya's tips: 
 .  * spacing for prefatory matter
-.  * Score does not use points to describe musical sizes. I think becaue the music
-> symbols are not part of any PostScript font. The line length is 7.5 inch (19.05
+.  * The line length is 7.5 inch (19.05
 > cm) and the height of normal size is equivalent to the traditional raster 1
 > size. (The Schott company sells Letraset sheets of musical symbols which are
 > measured in raster sizes). It is agreed among most engravers I know that the
 > standard size for adult readers in solo music should 70% of raster 1.  Jeff's
-> example was 75%, so I had to modify my file to match. Of course, the amount of
+> example was 75%, so I had to modify my file to match. 
 
 So that makes for a staff space of 4 2/3 point. I'll add the
 dimensions to the TODO file.
-
 .  * accidentals closer to note head
-.  * ledger line for rest dim less
 .  * heavier beams?
 
-
 .* Cleanups needed
 . * Beam
 . * Stem + Notehead
@@ -122,6 +122,7 @@ dimensions to the TODO file.
 .  * Remove mutopia ramblings.
 .  * Remove non-free software links.
 .  * Remove meta article LilyPond.
+. * generic rest ledgers
 . * TODO: merge atom & molecule; make  tree from molecule.
 . * break priority setting from SCM.
 . * Gade score
@@ -239,6 +240,7 @@ and do y_direction?
 . * zip target for binary windows dist (JBR)
 . * junking \skip req in lyrics
 . * mi2mu empty staffs.
+. * use Fourier transformation for rhythmic quantisation.
 . * horizontal centering of dynamics 
 . * $DEPENDENCIES_OUTPUT support
 . * Xdvi zooming ?! Try to understand GS garbage collection.
@@ -246,13 +248,6 @@ gs: Error: /undefined in draw_beam
 gs: Operand stack:
 . * fix vertical alignment and stafflines
 . * declaring Performers
-. * GrandStaff needs more work -- I want a single word
-       `harpsichord' to the left of the grandstaff, not one on each
-       stave.  (Organ staff -- with separate pedal -- but common
-       properties may be something to think about.  Of course for
-       organ you want to be able to give stop indications on the way
-       through, so the \property Voice.Instrument would be a stop,
-       and \property GrandStaff.instrument would be PipeOrgan...)
 . * *.yo: fix pod manpage layout legacy
 . * text-items clash with stems/beams
 . * --include, -I option for ly2dvi (pass on to lily)
@@ -306,6 +301,7 @@ touching it.
 .* FONT
 . * the bracket is ugly (wings are too parabolic, should be more circular)
 . * versioning for Feta
+. * rewrite dynamic signs.  They're kind of spaghetti now. 
 . * The `3' in the meter key is a one or two pixels too thin (at 600dpi)
        in the middle:
 . * design macro for penstroke with rounded endings
@@ -323,7 +319,6 @@ touching it.
 .  * coda signs: Segno, O+
 .  * glissando, arpeggio
 .  * lengthened trill
-. * 128th flags
 . * include important spacing dims in fetalog 
 .* 3RD PARTY BUGS
 . * GNU diff 2.7: diff -rN does not see a new directory with empty file
@@ -341,7 +336,6 @@ touching it.
            thing is fixed
 .* PROJECTS
 . * Scripts:
-.  * fix position of bar number
 .  * stack scripts in chords:
          % fingering:        footing:
            < a-4 c-2 g-1 >   < c-\ltoe e-\lheel >
@@ -385,7 +379,7 @@ touching it.
 .  * output header info to MIDI too.
 
 . * a musical dictionary. See Documentation/vocabulary-*, other
-       languages:
+languages:
 .  * explanations
 .  * italian
 .  * german
@@ -561,7 +555,6 @@ hesitate to ask.
 .* INPUTLANGUAGE
 . * \rhythms 4 16 16 16 16; c c c c c -> c4 c16 etc. 
 . * Language:
-.  * \type -> \context ?
 .  * \translator -> ?
 .  * fix \partial 
 .  * \bla {} vs \bla ; 
@@ -736,13 +729,6 @@ When writing new primitives, now just check foo_live_p().
 
 I hope the above helps,
 
--russ
-
-
---
-"Even if you are on the right track, you'll get run over 
-if you just sit there."  
-             --Will Rogers (1879-1935)
 
 * OUTLINE SETUP
 .* .EMACS
index 3ce52c944ca2a43e066c95282822aca08ce6d8f6..569ff5143cc8f1310ab3f15c10d8a2ce532d091f 100644 (file)
@@ -65,7 +65,7 @@ public:
       while (j <= sz/2) {
        if (dict_arr_[i].free_b_)
          return i;
-           
+
        if (dict_arr_[i].key_ == s)
          return i;
 
@@ -73,41 +73,15 @@ public:
        i = (i + j*j) % sz;
       }
 
+      
       return -1;
     }
 
   /// remove #s# from the hash table.  
   V remove (K s, unsigned int initial_hash)
     {
-      int sz =dict_arr_.size ();
-      int i = initial_hash % sz;
-      int j = 0;
-      V retval;
-
-      /*
-       duplicate with lookup, but we need value of j
-       */
-      
-      while (j <= sz/2 && dict_arr_[i].key_ != s)
-       {
-         assert (!dict_arr_[i].free_b_);
-
-         j ++;
-         i = (i + j*j) % sz;
-       }
-
-      j++;
-      int nexti = (i + j*j) % sz;
-
-      while (j <= sz/2 && !dict_arr_[i].free_b_)
-       {
-         dict_arr_[i] = dict_arr_[nexti];
-         j++;
-         i = nexti;
-         nexti = (nexti + j*j)%sz;
-       }
-      
-      return retval;
+      // TODO
+      assert (false);
     }
 };
 
index 973a397df15bf8f34fb2bfadb473e6b230c9e395..c7267f3ca2e6784eac59cc5f33eabbe2c8a3f434 100644 (file)
@@ -4,7 +4,7 @@ composer = "Johann Christoph Faber";
 piece = "1.  Overture";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 global=\notes{
        \time 2/2;
@@ -221,18 +221,18 @@ bass=\notes\relative c' {
        
 
 \score{
-       \type StaffGroup <
-             \type Staff =treble \notes {
+       \context StaffGroup <
+             \context Staff =treble \notes {
                    \property Staff.Instrument = "Treble" 
                    \global \treble 
              }
 
-             \type Staff =tenor \notes {
+             \context Staff =tenor \notes {
                      \property Staff.Instrument = "Tenor"
                      \global \tenor 
              }
 
-             \type Staff =bass \notes {
+             \context Staff =bass \notes {
                      \property Staff.Instrument = "Bass"
                      \global \clef "bass"; \bass
              }
index 8cc8adc456158636262e09f26244122fa0705a77..ab96d52a7736b34f76a47df22768395d67a9a6fa 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 scales = \notes\transpose c''{
                f2 f f f f f f f f f\break 
@@ -10,7 +10,7 @@ keys = \notes{
 
 \score{
        <
-               \type ChordNames \scales
-               \type Staff < \scales \keys >
+               \context ChordNames \scales
+               \context Staff < \scales \keys >
        >
 }
diff --git a/input/bugs/slur-over-rest.ly b/input/bugs/slur-over-rest.ly
new file mode 100644 (file)
index 0000000..48f3238
--- /dev/null
@@ -0,0 +1,4 @@
+
+\score{
+\notes \relative c{      r4-> r4-. r4^"foo" ( b'4  ) g''4
+}}
index 102a594910768587a2564d9aca6e5f96d02f3a65..18ee3e4957b6f460ce8d6265bb96ef39b2051723 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 one = \notes\relative c{
        c'' d e f
index 8082c7b83e614f7b7bebdd92596cd2575f74d54f..faf096639d94bf71cedc20c4b0f2f6112e5f5e5a 100644 (file)
@@ -30,7 +30,7 @@ of a certain tune (Jazz, Real Book, for example), like
 %}
 
 \score{
-       \type ChordNames \chords{
+       \context ChordNames \chords{
                \property Score.chordInversion = 1
                \property Score.barAtLineStart = 1
                \repeat 2 {
@@ -56,3 +56,5 @@ of a certain tune (Jazz, Real Book, for example), like
                }
        }
 }
+
+\version "1.0.16";
index bfdff32654914eef39e527a6bcedcef17a79a560..41733051b0654585c2ead3a43b0da7ca79d28d27 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 
 blah = \notes {
@@ -20,6 +20,6 @@ blah = \notes {
 }
 
 \score{
-       \type Staff \blah
+       \context Staff \blah
        
 }
index 238576810e346ca751481cff68479ae2fc0b98d8..01512d288e94abf1f23bbd1e8fb7ffc144d41e26 100644 (file)
@@ -10,7 +10,7 @@ copyright =    "public domain";
 Tested Features: example file with comments
 
 %}
-\version "1.0.14";
+\version "1.0.16";
 
 
 % the % is a comment.
@@ -54,7 +54,7 @@ begeleiding = \notes \relative c {
 }
 
 \score{
-       \type GrandStaff <
+       \context GrandStaff <
                \melodie
                \begeleiding 
        >
index bd01cf52e2f1cd902630f1f6c35c12a11e16ac30..d8763c7ca487ac2b58958ed248477665a1148f60 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-% \version "1.0.14";
+% \version "1.0.16";
 
 tempi = \notes {
        \property Voice.textstyle = "large"
@@ -53,13 +53,13 @@ cello = \notes\relative c'{
 }
 
 \score{
-       \type StaffGroup <
+       \context StaffGroup <
 % broken, 1.1.23
-%              \type Staff = i < \tempi \global \violinei >
-               \type Staff = i < \global \violinei >
-               \type Staff = ii < \global \violineii >
-               \type Staff = iii < \global \viola >
-               \type Staff = iv  < \global \cello >
+%              \context Staff = i < \tempi \global \violinei >
+               \context Staff = i < \global \violinei >
+               \context Staff = ii < \global \violineii >
+               \context Staff = iii < \global \viola >
+               \context Staff = iv  < \global \cello >
        >
        \paper{
                \translator { \OrchestralScoreContext }
index 7720acfab2b50197ca7c50a594f9185cd2553455..c6921626a369a3abbb300a4b1bb09b8f40280cd6 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 part = \notes {
        c-1 c c c
        r1*3
index 3353dfe97048c403413e4dedc452c42cd02b87f5..4a570badd2b12ce2da3f3c898c45c1fca02bde8b 100644 (file)
@@ -28,7 +28,7 @@
 % \lbheel \lbheel \lfheel \lftoe
 % \rbheel \rbtoe \rfheel \rftoe
 
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
                \notes {
index f02724fd86bfd7ca39143dd90a2d0f8820069c54..0ec40baa3f742a0e1b743f77493efafdb9f405c4 100644 (file)
@@ -23,7 +23,7 @@
    * organ staff...
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 
 
@@ -37,14 +37,14 @@ praeludium_right =  \notes {
   \clef violin;
 
   % 13 -- how to type -- where to split -- this more neatly?
-  \type Staff <
-    \type Voice = I \relative c'' { \stemup r4 dis4 e4. e8 ~ |
+  \context Staff <
+    \context Voice = I \relative c'' { \stemup r4 dis4 e4. e8 ~ |
       \shifton e4 [d8 fis8] \shiftoff gis4 ~ [gis8 fis16 e ] |
       fis4 ~ [fis8 e16 dis] e4 r8 e8 }
-    \type Voice = III \relative c'' { \stemup \shifton r4 bis cis \shiftoff cis |
+    \context Voice = III \relative c'' { \stemup \shifton r4 bis cis \shiftoff cis |
       a' ~ [a16 gis a b] \shifton dis,4 cis ~ |
       [cis8 dis16 ais] bis4 cis r8 b }
-    \type Voice = IV \relative c'' {
+    \context Voice = IV \relative c'' {
 
       %\stemup
       %{
@@ -54,7 +54,7 @@ praeludium_right =  \notes {
       \stemdown
       \shifton s4 gis }
       
-    \type Voice =  II \relative c' { \stemdown
+    \context Voice =  II \relative c' { \stemdown
 %      \shifton       % idem
 
       r4 fis \shiftoff gis gis |
@@ -69,19 +69,19 @@ praeludium_left = \notes \relative c {
   \clef bass;
 
   % 13
-  \type Staff <
-    \type VoiceTwo { r4 }
-    \type VoiceOne { \stemup s4 dis' cis cis ~ |
+  \context Staff <
+    \context VoiceTwo { r4 }
+    \context VoiceOne { \stemup s4 dis' cis cis ~ |
       [cis8 a d cis] [bis gis] cis4 |
       dis2 cis4 r8 cis }
-    \type VoiceOne { \stemup bis2 }
-    \type VoiceThree { \stemup \shifton r4 gis ~ [gis8 gis] ~ \stemdown \shiftoff gis4 |
+    \context VoiceOne { \stemup bis2 }
+    \context VoiceThree { \stemup \shifton r4 gis ~ [gis8 gis] ~ \stemdown \shiftoff gis4 |
       a4. fis8 gis4. a8 ~ |
       a4 gis4 gis r8 gis }
 %    { \stemup \shifton s4 fis4 e}
 % a quick hack to avoid some collisons
-    \type VoiceFour { \stemdown \shifton s4 fis4 e}
-    \type VoiceTwo { \stemdown s4 dis4 cis4 }
+    \context VoiceFour { \stemdown \shifton s4 fis4 e}
+    \context VoiceTwo { \stemdown s4 dis4 cis4 }
   > |
   %16
 }
@@ -108,9 +108,9 @@ fugaII_right = \notes   \relative c''   {
   \clef violin;
 
   %15
-  \type Staff <
-    \type Voice = VA { \stemup [b8 fis8] b4 }
-    \type Voice = VB {  \stemdown fis2 }
+  \context Staff <
+    \context Voice = VA { \stemup [b8 fis8] b4 }
+    \context Voice = VB {  \stemdown fis2 }
   >
    %{ this chord is usually set like this:
         |
@@ -120,21 +120,21 @@ fugaII_right = \notes   \relative c''   {
       |x
       |
    %}
-   \type Staff <
+   \context Staff <
      { \stemup \shiftoff e4 }
      { \stemup \shifton cis }
      { \stemup \shifton ais }
      { \stemdown fis }
    > |
   %16
-  \type Staff <
-    \type VoiceOne {  dis2 dis4 |
+  \context Staff <
+    \context VoiceOne {  dis2 dis4 |
       cis2 cis4 |
       b4. [cis8 dis e] }
-    \type VoiceThree {  \stemup \shifton [b8 fis] b2 ~ |
+    \context VoiceThree {  \stemup \shifton [b8 fis] b2 ~ |
       [b8 a!16 gis] a2 ~ |
       a4 gis2 }
-    \type VoiceTwo {  \stemdown fis2. ~ |
+    \context VoiceTwo {  \stemdown fis2. ~ |
       fis ~ |
       fis4 e2 }
   > |
@@ -146,10 +146,10 @@ fugaII_left = \notes {
   \clef bass;
 
   %15
-  \type Staff < 
-    \type VoiceTwo { \stemdown b2 \stemup ais4 |
+  \context Staff < 
+    \context VoiceTwo { \stemdown b2 \stemup ais4 |
       b2 b4 }
-    \type VoiceTwo { \stemdown s2 e4 |
+    \context VoiceTwo { \stemdown s2 e4 |
       fis2 fis4 }
   >
   \stemdown cis2 e4 |
@@ -177,14 +177,14 @@ breakmusic = \notes {
 
 % these should be two separate scores...
 \score{
-  \type Score <
-    \type PianoStaff <
-      \type Staff = treble {
+  \context Score <
+    \context PianoStaff <
+      \context Staff = treble {
         \praeludium_right \breakmusic \fugaII_right }
-      \type Staff = bass { 
+      \context Staff = bass { 
         \praeludium_left \breakmusic \fugaII_left }
     > 
-    \type Staff = pedal {
+    \context Staff = pedal {
       \praeludium_pedal \breakmusic \fugaII_pedal }
   >
 
@@ -219,7 +219,7 @@ breakmusic = \notes {
      \accepts VoiceTwo;
      \accepts VoiceOne;
    }
-%   \translator { \OrchestralScoreContext }
+   \translator { \OrchestralScoreContext }
   }
 
   \midi {
index 9798f32d0620b99bc58971d37561293f71f72133..5e159280bfb6d19cc9a84e752b9d2ff911d7abcd 100644 (file)
@@ -7,7 +7,7 @@ TestedFeatures =         "multiple meters, beaming, unsynced bars, userdefd engravers";
 
 
 
-\version "1.0.14";
+\version "1.0.16";
 
 ritme = \notes\transpose c'' {
        \time  4/4;
@@ -52,10 +52,10 @@ yanother =
 
 
 \score{
-       \type StaffGroup <
+       \context StaffGroup <
                \ritme
                \another
-               \type RhythmicStaff {
+               \context RhythmicStaff {
                        \yanother
                }
        >
index ae2eba39d1a49fb6e85b372729158fa6d0faa7ca..f69f3791886e8da337b025d2c8121bd88aab3642 100644 (file)
@@ -16,7 +16,7 @@ copyright =    "public domain";
 % scales with accents.
 %
 
-\version "1.0.14";
+\version "1.0.16";
 blah =         \notes {
                \time 6/8;      
 \transpose c {
index f2e1fc73985771d6c54d8767570b1d32905185c0..1d9333bb1e9485859ee423ba1d79ea0c0e3294ac 100644 (file)
@@ -1,5 +1,5 @@
        
-\version "1.0.14";
+\version "1.0.16";
 
 
 blah =         \notes{ \transpose c'' {
@@ -49,8 +49,8 @@ blah =        \notes{ \transpose c'' {
        [c-^ \< d-^ e-^ \! f-^][d'-^ \> e'-^ f'-^ \! g'-^] 
        [c-. \< d-. e-. \! f-.][d'-. \> e'-. f'-. \! g'-.]
        [c-- \< d-- e-- \! f--][d'-- \> e'-- f'-- \! g'--] 
-       [c-\portato \< d-\portato e-\portato \! f-\portato]
-               [d'-\portato \> e'-\portato f'-\portato \! g'-\portato]
+       [c-\tenuto \< d-\tenuto e-\tenuto \! f-\tenuto]
+               [d'-\tenuto \> e'-\tenuto f'-\tenuto \! g'-\tenuto]
        [c-\upbow \< d-\upbow e-\upbow \! f-\upbow]
                [d'-\upbow \> e'-\upbow f'-\upbow \! g'-\upbow] 
        [c-| \< d-| e-| \! f-|][d'-| \> e'-| f'-| \! g'-|]
index 177e20b8e0dec59c224f0718a6ebfce68cbf2a01..4cdf7f5837234f906e3c18296fb6411908bdbe86 100644 (file)
@@ -58,13 +58,13 @@ $staff2_voice_2 = \notes {
 }
 
 text = \lyrics
-\type LyricVoice { Oh4 __ \repeat 2 { }
+\context LyricVoice { Oh4 __ \repeat 2 { }
   \alternative < 
      { say. can you see,2 by8. the16 dawn's4 ear- ly light2 What8
     so8 proud-4. ly8 we4 hailed,2 At8. the16 twi-4 light's last gleam-
     ing. Whose8. broad16 }
 
-    \type LyricVoice = LVB
+    \context LyricVoice = LVB
     { stripes4 and bright stars,2 through8. the16 per-4 il- ous fight,2
     O'er8 the8 ram-4. parts8 we4 watched,2 were8. so16 gal-4 lant- ly }
   >
@@ -89,14 +89,14 @@ global = \notes {
 \include "paper16.ly";
 
 \score{ 
-       \type GrandStaff < 
-               \type Staff=staffA < 
+       \context GrandStaff < 
+               \context Staff=staffA < 
                        \global
                        \notes \transpose c'' {\voiceone \$staff1_voice_1 } 
                        \notes \transpose c'' {\voicetwo \$staff1_voice_2 } 
                >
-               \type Lyrics = one \text
-               \type Staff=staffB < 
+               \context Lyrics = one \text
+               \context Staff=staffB < 
                        \global
                        \clef bass;
                        \property Staff.voltaVisibility = "0"
@@ -118,3 +118,5 @@ global = \notes {
        }
 }
 
+
+\version "1.0.16";
index f9afb51bd0f54df7106e38d3e0c9ed68d5eb1af2..864cdc4392157d824299e40bfef112e4ae4ac468 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "1.0.14";
+\version "1.0.16";
 \score{
        \notes \transpose c'''{
                \stemup
index 9c83ac98ca769b357bcb63251c7f8ff85880a860..1d0b4267f429e8c8108b817f32596084d72d1a66 100644 (file)
@@ -1,12 +1,12 @@
 \score{
        <
-       \type Staff \notes{ 
+       \context Staff \notes{ 
          \skip 4*27;
          \skip 4*27;
          \skip 4*27;
          \skip 4*27;
          }
-       \type Lyrics \lyrics{ 
+       \context Lyrics \lyrics{ 
 aaaaaaaaaaaaaaaaaaa
 xxx\break
 bbbbbbbbbbbbbbbbbbb
@@ -120,3 +120,5 @@ xxx\break
               linewidth = 40.\mm;
        }
 }
+
+\version "1.0.16"; 
index dfb278193b3db3f4276da66584b62d5c7a2add48..09f6393cd2b87688a2ea5a98215fb777239e082b 100644 (file)
@@ -1,7 +1,7 @@
 
 \score  {
 \notes {
-       \type AutoSwitchGrandStaff \relative c' {
+       \context AutoSwitchGrandStaff \relative c' {
        c8^8 d^8 b^8 a^8 [a,^8 f'^8 g,^8 ~ g]
 
        }
@@ -12,7 +12,7 @@
 \accepts AutoSwitchGrandStaff;
 }
 \translator{
-       \type "Line_group_engraver_group";
+       \context "Line_group_engraver_group";
        \name AutoSwitchGrandStaff;
        \consists "Span_bar_engraver";
        \consists "Vertical_align_engraver";
        \accepts "Staff";
 }
 \translator {
-       \type "Engraver_group_engraver";
+       \context "Engraver_group_engraver";
        \name "AutoSwitchContext";
        \consists "Staff_switching_translator";
 }
 
 }}
+
+\version "1.0.16"; 
index 789a6e3aa900997aab09bf5ec3dba7cdf71d44ae..8e49cd7e8643ca813863fac202ddbe6e5ec3588b 100644 (file)
@@ -1,19 +1,19 @@
 
-\version "1.0.14";
+\version "1.0.16";
 
-onestaff = \type Staff = foo\notes  {
+onestaff = \context Staff = foo\notes  {
        \property Staff.instr = instr
        \property Staff.instrument = instrument \mark "B";
         c1 \mark "A"; \break c2  c2 \break
 }
 
-grstaff = \notes \type GrandStaff <
-       \type Staff = bar {
+grstaff = \notes \context GrandStaff <
+       \context Staff = bar {
 
        \property Staff.instr = instr
        
         \mark "B"; \break c1 \mark "A"; c2  }
-       \type Staff = bufl { c1 c2  }
+       \context Staff = bufl { c1 c2  }
 >
 
 scpaper = \paper {\translator {\OrchestralScoreContext}}
index b6a739216469bc2f5e8344bf29bef51e8eb672aa..4d993f2665d19c26677d77688473a60b801e8fe8 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        \notes\transpose c'{
index 37a6368ab635500b89edf7da08f540dc807b5117..e30a5f7633b85cd2156fdab0a685110d3368e3a9 100644 (file)
@@ -1,6 +1,6 @@
 \score{
-       \type GrandStaff <
-       \type Staff=one \notes\relative c'{
+       \context GrandStaff <
+       \context Staff=one \notes\relative c'{
                \stemup [c8 c \translator Staff=two \stemup c c]
                [c c c c]
                \translator Staff=one
@@ -12,7 +12,7 @@
                \stemup [c8 c \translator Staff=one \stemdown c c]
                r2
        }
-       \type Staff=two \notes\relative c'{
+       \context Staff=two \notes\relative c'{
                \clef bass;
                s1
                s1
@@ -29,3 +29,5 @@
 %              linewidth=-1.;
        }
 }
+
+\version "1.0.16"; 
index 45a5e4bf4156753e438f72d349467683fbf5fc2a..e22598d245d10ee3357254fb34b74a0d099d37da 100644 (file)
@@ -1,9 +1,9 @@
 \score{
-       \type GrandStaff <
-       \type Staff=one \notes\relative c'{
+       \context GrandStaff <
+       \context Staff=one \notes\relative c'{
                s1
        }
-       \type Staff=two \notes\relative c'{
+       \context Staff=two \notes\relative c'{
                \clef bass;
 % no knee
                \stemup [c8 \translator Staff=one \stemdown g'16 f]
@@ -20,3 +20,5 @@
                linewidth=-1.;
        }
 }
+
+\version "1.0.16"; 
index 85cd5819380951a049cab2fdeae34a2d75d94373..a3cdba917a54e1f52c10df997ed1e4ed1cde3207 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        \notes\transpose c''{
index 1216d624d3c512750c41152ad52f2edf866f5355..9816938c033646340fbf6aaa1ed742b102bce142 100644 (file)
@@ -6,12 +6,12 @@ copyright =    "PD";
 
 TestedFeatures =        "beams and beamflags";
 }
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        <
 %              \property Score.beamquantisation = \none
-               \type GrandStaff < 
+               \context GrandStaff < 
                \notes\transpose c' { 
 
                        \time 8/4;
index adbc6417a4a11a55bd6f3dacfb18c3a7f9cd203a..9023a39b7df6d0579268156615e5025c442eae22 100644 (file)
@@ -5,7 +5,7 @@ TestedFeatures =         "This file tests Feta embedded slurs" +
         "(Feta definitively is not an abbreviation of Font-En-TjA)";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 shortlong = \notes{
        c4()c( c c  |
index 2e06840c5e2a25c735ad01ba371d0234d6d1c00b..a5b1b330c5644e3673a6025a78bb1b0746863289 100644 (file)
@@ -17,7 +17,9 @@ inversions = \notes\transpose c''\chords{
 
 \score{
        <
-               \type ChordNames \inversions
-               \type Staff \inversions
+               \context ChordNames \inversions
+               \context Staff \inversions
        >
 }
+
+\version "1.0.16"; 
index 98174f1cf7d6da52295ac7c3d6e7f38875be06f7..c50102f93bb6ab4369271e021b7650638486a4ad 100644 (file)
@@ -9,34 +9,36 @@ tab = \notes\transpose c'''\chords{
 }
 
 \score{
-       \type StaffGroup <
-               \type Staff=c \notes\transpose c\tab
-               \type ChordNames=c \notes\transpose c\tab
-               \type Staff=cis \notes\transpose cis\tab
-               \type ChordNames=cis \notes\transpose cis\tab
-               \type Staff=des \notes\transpose des\tab
-               \type ChordNames=des \notes\transpose des\tab
-               \type Staff=d \notes\transpose d\tab
-               \type ChordNames=d \notes\transpose d\tab
-               \type Staff=es \notes\transpose es\tab
-               \type ChordNames=es \notes\transpose es\tab
-               \type Staff=e \notes\transpose e\tab
-               \type ChordNames=e \notes\transpose e\tab
-               \type Staff=fis \notes\transpose fis\tab
-               \type ChordNames=fis \notes\transpose fis\tab
-               \type Staff=g \notes\transpose g\tab
-               \type ChordNames=g \notes\transpose g\tab
-               \type Staff=as \notes\transpose as\tab
-               \type ChordNames=as \notes\transpose as\tab
-               \type Staff=a \notes\transpose a\tab
-               \type ChordNames=a \notes\transpose a\tab
-               \type Staff=bes \notes\transpose bes,\tab
-               \type ChordNames=bes \notes\transpose bes,\tab
-               \type Staff=b \notes\transpose b,\tab
-               \type ChordNames=b \notes\transpose b,\tab
+       \context StaffGroup <
+               \context Staff=c \notes\transpose c\tab
+               \context ChordNames=c \notes\transpose c\tab
+               \context Staff=cis \notes\transpose cis\tab
+               \context ChordNames=cis \notes\transpose cis\tab
+               \context Staff=des \notes\transpose des\tab
+               \context ChordNames=des \notes\transpose des\tab
+               \context Staff=d \notes\transpose d\tab
+               \context ChordNames=d \notes\transpose d\tab
+               \context Staff=es \notes\transpose es\tab
+               \context ChordNames=es \notes\transpose es\tab
+               \context Staff=e \notes\transpose e\tab
+               \context ChordNames=e \notes\transpose e\tab
+               \context Staff=fis \notes\transpose fis\tab
+               \context ChordNames=fis \notes\transpose fis\tab
+               \context Staff=g \notes\transpose g\tab
+               \context ChordNames=g \notes\transpose g\tab
+               \context Staff=as \notes\transpose as\tab
+               \context ChordNames=as \notes\transpose as\tab
+               \context Staff=a \notes\transpose a\tab
+               \context ChordNames=a \notes\transpose a\tab
+               \context Staff=bes \notes\transpose bes,\tab
+               \context ChordNames=bes \notes\transpose bes,\tab
+               \context Staff=b \notes\transpose b,\tab
+               \context ChordNames=b \notes\transpose b,\tab
        >
        \paper{
                textheight = \vsize - 4.0 * \staffheight;
        }
 
 }
+
+\version "1.0.16"; 
index 973faf19235c0633a8decc8c83f471bda0ae8d87..76dea540939468cf1777cda7255bec5ff8e83753 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 %{
 Would this be acceptable/good enough/convenient for entry?
@@ -54,7 +54,7 @@ keys = \notes{
 
 \score{
        <
-               \type ChordNames \scales
-               \type Staff < \scales \keys >
+               \context ChordNames \scales
+               \context Staff < \scales \keys >
        >
 }
index 3874a441c03d22de7315ac56f1e09aa60f9bd655..a0b101780d1cd612956753c093d4d7347def1849 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 \score {
        \notes{ 
index 982a815aa8b447e846baf6a1b5dd6f0ae9bf50d4..e68029ae2a4a7cf67672cd28ea4450a7168069a1 100644 (file)
@@ -28,7 +28,7 @@ Hi,
 
 \score{
        <
-               \type Staff \notes\relative c''{
+               \context Staff \notes\relative c''{
                        c c c c
                        % coda-klugde: let volta span only one bar
                        \property Staff.voltaSpannerDuration = "1"
@@ -36,7 +36,7 @@ Hi,
                                \alternative { { e e e e f f f f }
                        { g g g g } }
                }
-               \type Lyrics \lyrics{
+               \context Lyrics \lyrics{
                        intro1
                        \repeat 5 {}
                        \alternative <
@@ -50,3 +50,5 @@ Hi,
        >
 }
 
+
+\version "1.0.16"; 
index 1077b3d852a341148230dc7052211dd3c6d8df54..89bb44d449d9200566470d08511d4f735ee36e75 100644 (file)
@@ -5,23 +5,23 @@ enteredby =    "HWN,JCN";
 copyright =     "public domain";
 Tested =        "test the Collision resolution ";
 }
-\version "1.0.14";
+\version "1.0.16";
 
-twovoice = \type Staff \notes < 
-       \type Voice=i { \stemdown c4 d e f g2~  g4 a [c8 d e f] c2| }
-       \type Voice=ii { \stemup g4 f e g ~ g2 g2  c4 g4 g2 } 
+twovoice = \context Staff \notes < 
+       \context Voice=i { \stemdown c4 d e f g2~  g4 a [c8 d e f] c2| }
+       \context Voice=ii { \stemup g4 f e g ~ g2 g2  c4 g4 g2 } 
 >
 
-twovoicesteminvert = \type Staff \notes <  
+twovoicesteminvert = \context Staff \notes <  
        % the f and g on 4th beat are exceptionally ugh.
-       \type Voice=i { \stemup c4 d e f g2 g4 a | }
-       \type Voice=ii { \stemdown g4 f e g  g2 g2 } 
+       \context Voice=i { \stemup c4 d e f g2 g4 a | }
+       \context Voice=ii { \stemdown g4 f e g  g2 g2 } 
 >
 
-threevoice = \type Staff \notes <
-       \type Voice=i { \stemup g4 f e f g a g2 }
-       \type Voice=ii { \stemup \property Voice.hshift = 1 e2  e2  e2  e2 }
-       \type Voice=iii { \stemdown c4 d e d c d es }
+threevoice = \context Staff \notes <
+       \context Voice=i { \stemup g4 f e f g a g2 }
+       \context Voice=ii { \stemup \property Voice.hshift = 1 e2  e2  e2  e2 }
+       \context Voice=iii { \stemdown c4 d e d c d es }
 >
 
 \score{
index d952926b6132bf72406b7c692bf1330dfcbdb007..4fc3dbbf8bfb9bae39c381a8be3c6a0f3fbb5e32 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 
 \score {
index 42cf2d59f191d1cd0c4270e45d6947aa59f6cc3a..f0b210ecbd905aa13be206ad69b36f9e7b6bc579 100644 (file)
@@ -7,7 +7,7 @@ TestedFeatures = "This file tests silly line shapes";
 
 \include "paper20.ly"
 
-\version "1.0.14";
+\version "1.0.16";
 
 oden = \lyrics{ 
        O8 |
@@ -62,7 +62,7 @@ melody = \notes{
        \oboom
 }
 
-$melody_staff = \type Staff = melody <
+$melody_staff = \context Staff = melody <
        \global
        \melody
 >
@@ -74,7 +74,7 @@ $verse_one = \notes{
        \oden
 }
 
-$verse_one_staff = \type Lyrics = one <
+$verse_one_staff = \context Lyrics = one <
        \global
        \$verse_one
 >
@@ -86,7 +86,7 @@ $verse_two = \notes{
        \oden
 }
 
-$verse_two_staff = \type Lyrics = two <
+$verse_two_staff = \context Lyrics = two <
        \global
        \$verse_two
 >
index 10dc35283ad06211cb690fd3fa259e8e3aa2bc91..797b3f7024373a2b961d11582fc70d6f8e441e60 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        \notes{
index ed33ea2913b43e0cf1c3e7f687a483a276a5d49d..19f3ade9905996a8865f97e4216017da6146ea11 100644 (file)
@@ -1,6 +1,8 @@
 \score{
        <
-       \type Staff \notes { c () c () c c }
-       \type Lyrics \lyrics { bla __ alb xxx __ yyy }
+       \context Staff \notes { c () c () c c }
+       \context Lyrics \lyrics { bla __ alb xxx __ yyy }
        >
 }
+
+\version "1.0.16"; 
index 49a0e0e908d8c4e8bfd68f8d304fb1741600fed0..9c60a541352be203afc8aa0add1955ae39c5ea66 100644 (file)
@@ -24,11 +24,11 @@ extra-staff.ly:
 
 \score {
        <
-               \type Staff=i \notes\relative c''{ c1 c c c c }
-               \type StaffGroup=ii \notes\relative c''{ 
-                       \type Staff=ii
+               \context Staff=i \notes\relative c''{ c1 c c c c }
+               \context StaffGroup=ii \notes\relative c''{ 
+                       \context Staff=ii
                        c1 c
-                       < \type Staff=ii { c1 } \type Staff=iii { c1 } >
+                       < \context Staff=ii { c1 } \context Staff=iii { c1 } >
                        c
                }
        >
@@ -36,9 +36,10 @@ extra-staff.ly:
                linewidth = -1.;
                \translator{
                        \ScoreContext
-                       minVerticalAlign = 2.0*\staffheight;
-                       maxVerticalAlign = 2.0*\staffheight;
+
                }
        }
 }
 
+
+\version "1.0.16"; 
index f41928628854673662cc773a343118cf739f0188..24f56d82efd6c5e01d8f8eaf399557f9828fe9fc 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        \notes \relative c {
index 8578815cf71356f00c108a41bde7524d662754b2..54c397c26b679799ff93f2b38c5205066cc3cd36 100644 (file)
@@ -1,10 +1,10 @@
-\version "1.0.14";
+\version "1.0.16";
 
 FontBody=      \notes\transpose c''{ 
                \bar "|:";
                \time 4/4;
-               \type Staff  < \type Voice = VB { \stemup e'\longa a\breve | }
-               \type Voice = VA { \stemdown
+               \context Staff  < \context Voice = VB { \stemup e'\longa a\breve | }
+               \context Voice = VA { \stemdown
                c1 \clef "bass"; b,, \clef "violin"; c' a'
                c2 \clef "alto"; g c' \clef "violin"; a'
                } >
@@ -20,8 +20,8 @@ FontBody=     \notes\transpose c''{
                \clef "bass";
                  r\longa * 1/4 r\breve *1/2
                  r1 r2 r4 r8 r16 r32 r64 r128 r128 |
-               \type Staff < \type Voice = VA { \stemup r2 c'2 c,,,1 }
-                               \type Voice = VB {\stemdown r2 c2  r1 }>
+               \context Staff < \context Voice = VA { \stemup r2 c'2 c,,,1 }
+                               \context Voice = VB {\stemdown r2 c2  r1 }>
                        \stemboth
                \clef "violin";
                e8_. g'8-> e16^^ g'16_^ 
index 66c061eb8cd60776da50d86e38ee5480dd90d044..48e6956caf1d2da3362d2427433f24ad24aa46eb 100644 (file)
@@ -7,7 +7,7 @@ description = "This file tests the Feta music font";
 % "(Feta definitively is not an abbreviation of Font-En-TjA)";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "font-body.ly"
 \score{
index 0a742345a79a994d504dd55b36953acd499cd078..62fc3e0d1c01717088f916acf7b3b4b4b2502a35 100644 (file)
@@ -7,7 +7,7 @@ description = "This file tests the Feta music font";
 % "(Feta definitively is not an abbreviation of Font-En-TjA)";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 \include "paper16.ly"
 \include "font-body.ly"
 
index d0884925a73402bb3ad8f0e99b58cf63abc93ce7..b3bb7db4aad818804cea88a5d76dab1688847f55 100644 (file)
@@ -11,9 +11,11 @@ TestedFeatures =
 \include "font-body.ly"
 
 \score{
-       \type Staff { \FontBody}
+       \context Staff { \FontBody}
        \paper{
            linewidth = 17.5 \cm;
            gourlay_maxmeasures =5.;
        }
 }
+\version "1.0.16"; 
+
index 004ab010ecdac1ad766673459462521e59fc1196..23ffb2f685b607a7cf88c10f39781fccad76f29e 100644 (file)
@@ -4,7 +4,7 @@ copyright =      "PD";
 TestedFeatures =        "This file tests some nasty Gourlay spacings";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 %{
 
@@ -13,7 +13,7 @@ This is taken from [Gourlay]'s paper on breaking lines
 %}
 
 \score{
-       \notes \type Staff  \transpose c''<
+       \notes \context Staff  \transpose c''<
                { \stemup d2 d     | d d | d4 d2. | \break  c1 }
                \transpose c, { \stemdown g4 g g g | \times 2/3 { g2 g2 g2 } | g4. g8 g2 | c1 }
                >
index 5d625966ca6c95294de424c8e71cdfa7292b6d59..99421486de234e375d6631738cfa43f6d3edffb7 100644 (file)
@@ -1,17 +1,17 @@
 
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        <
-       \type Staff = a \notes\relative c <
+       \context Staff = a \notes\relative c <
 %              {\grace b''8 \graceat a4 \ecarg g fis2 | a2 a }
                {\tiny b''8*1/16 \normalsize a4*31/32 g fis2 | a2 a }
        >
-       \type Staff = b \notes\relative c <
+       \context Staff = b \notes\relative c <
 %              {\grace g''16 b16 \graceat a4 \ecarg g fis2 | }
                {\tiny g''16*1/16 b16*1/16 \normalsize a4*31/32 g fis2 | a1 }
        >
-       \type Staff = c \notes\relative c <
+       \context Staff = c \notes\relative c <
 %              {\grace \times 2/48 { [ g''16 b g] } \graceat a4 \ecarg g fis2 | a1 }
                {\tiny \times 2/48 { [ g''16 b g] } \normalsize a4*31/32 g fis2 | a1 }
        >
index bdfbe78404b187d9f79d7082b52cd261651ffee7..c60527d80eba1a40344780a7339f2939f20b0db9 100644 (file)
@@ -1,36 +1,40 @@
-\version "1.0.14";
+\version "1.0.16";
+
+toeter_i = \notes\relative c <{
+               \property Staff.instrument = "Toeters"
+               \property Staff.instr = "Ttr." }
+       \context Voice = lower { \stemdown s1*6 }
+       \context Voice = upper { \stemup s1*6 }
+       \context Voice = together  { 
 
-toeter_i = \notes\relative c {
-       \property Staff.instrument = "Toeters"
-       \property Staff.instr = "Ttr."
        c'''4 c c c \break
        d d d d \break
-       R1 \break
-       \voiceone
-       e4 e e e \break
-       \onevoice
+       R1 \break 
+       \context Voice = upper {
+               e4 e e e \break }
        f f f f \break
-       g g g g
-}
+       g g g g 
+}>
 
-toeter_ii = \notes \relative c {
+toeter_ii = \notes \relative c \context Voice = together { 
        c''4 c c c \break
        d d d d \break
        R1 \break
-       \voicetwo
-       e4 e e e \break
-       \onevoice
+       \context Voice = lower {
+               \stemdown 
+               e4 e e e \break
+        }
        f f f f \break
        g g g g
 }
 
-toeters = \type Staff = toeters <
+toeters = \context Staff = toeters <
        \toeter_i
        \toeter_ii
 >
  
-zager = \type Staff = zager \notes \relative c'' {
-       \clef bass;
+zager = \context Staff = zager \notes \relative c'' {
+       \clef treble;
        \property Staff.instrument = "Zager"
        \property Staff.instr = "Zag."
        c4 d e f \break
@@ -38,47 +42,46 @@ zager = \type Staff = zager \notes \relative c'' {
        f e d c \break
        c d e f \break
        \property Staff.instr = "Zag."
-       \voiceone
+       \stemup
        f e d c \break
-       \onevoice
        c d e f \break
        f e d c
 }
 
-zoger = \type Staff = zoger \notes \relative c'' {
-       \clef bass;
+zoger = \context Staff = zoger \notes \relative c'' {
+       \clef treble;
        \property Staff.instrument = "Zoger"
        \property Staff.instr = "Zog."
        c4 d e f \break
        \skip 1*2;
-%      \staffone
+
        \translator Staff=zager
-       \voicetwo
-       c2 g2\break
-       \onevoice
+       \stemdown 
+       c2 g2
+       
        a4 b c d \break
        \skip 1*1;
 }
 
-zagers = \type GrandStaff <
+zagers = \context GrandStaff <
        \zager
        \zoger
 >
  
 \score{
        <
-               \type StaffGroup = toeters <
+               \context StaffGroup = toeters <
                        \toeters
                >
-               \type StaffGroup = zagers <
+               \context StaffGroup = zagers <
                        \zagers
                >
        >
        \paper{
                linewidth = 40.0\mm;
-%              \translator { \HaraKiriStaffContext }
+               \translator { \HaraKiriStaffContext }
 %uh?
-%              \translator { \OrchestralScoreContext }
+               \translator { \OrchestralScoreContext }
 %              \translator { \OrchestralPartStaffContext }
        }
 }
index 9b8f5c8438391e060fc34cd75f04172f29fbde07..3bf893b9929e020b8a313c89164fe77f1600eaf0 100644 (file)
@@ -6,7 +6,7 @@
    /Mats B
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 incipit = \notes\relative c'{
   <b1 fis' b d>
@@ -17,7 +17,7 @@ violin = \notes\relative c''{
   \time 2/2;
 
   a4. b8 c4 fis |
-  gis~ gis8 fis16^\trill ()e b8 c \type Staff<{\voiceone a d}{\voicetwo es,4}>|
+  gis~ gis8 fis16^\trill ()e b8 c \context Staff<{\voiceone a d}{\voicetwo es,4}>|
 }
 
 BC  = \notes\relative c{
@@ -31,13 +31,13 @@ BC  = \notes\relative c{
 
 \score{
   \notes{
-    \type Staff=violin
+    \context Staff=violin
     \property Staff.clefStyle = "transparent" 
       \incipit 
-    < \type Staff=violin { 
+    < \context Staff=violin { 
       \bar ".|"; \endincipit
       \violin}
-      \type Staff=cb { \property Staff.clefStyle = "transparent" 
+      \context Staff=cb { \property Staff.clefStyle = "transparent" 
       \bar ".|";  \endincipit 
       \BC}>
   }
index f8c7ed7424b1d6e4f5cb3ffd1ebf8713a8b8cfb0..47d7eff5b0ecfa4889d018210041682e5c1f867a 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 %{
 test key itemv breaking
index 34e1b9668db31bad4a476d5b48630c27fc1212b2..fb289ff63b2cc3f8a7576f5445b97e98bd04c0e5 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 \score{
        \notes\relative c'{
                [c16 \stemdown c'' \stemboth c,, d]
index 160e6c05fe9076358c1517967e1baece7cf4c72a..692115ee7ce779c01d62845140161c8a7aed272a 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 global = \notes {
   s1 | \mark "A";
index fad3f4e313a120789f9e33d9c10290bdff1fbfb6..edcd4f8092945a9b2200f97925cdb38cb02b6bdf 100644 (file)
@@ -6,8 +6,10 @@ do a  memory stress test.
 bla = \notes { 
    c1((((    c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break c1 \break ))))c1}
 
-\score { \type Score <
+\score { \context Score <
        \bla    \bla    \bla    \bla    \bla    \bla    \bla
        >
        \paper { Gourlay_maxmeaures = 2.; }
 }
+\version "1.0.16"; 
+
index 2755cfffdadbff179d952d814967d234f2c3104f..e0f1d41d0c718e2baadd620b5ff61178d13177a3 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 voice_one = \notes\transpose c''{  \stemup
        R1 * 2 | f'4-. r r2 | R1 * 3 |
@@ -23,7 +23,7 @@ voice_two = \notes
        }}
 
 \score {  \notes
-       \type Staff <
+       \context Staff <
                \$voice_two
                \$voice_one
                >
index 47755da84ee34faf0b2768785b892fff40b2634f..df11fef63f19a6a6f1477c4dd621fe8fd1ee76d7 100644 (file)
@@ -9,14 +9,14 @@ c4 c2 c8  c16 c16  c1
 \property Voice.noteHeadStyle = "harmonic"
 c4 c2 c8  c16 c16  c1
 
-   \type ThreadedVoice <
-    \type Thread = TA
+   \context ThreadedVoice <
+    \context Thread = TA
       { \property Thread.noteHeadStyle = "cross"
         \property ThreadedVoice.ydirection = \up c16} 
-    \type Thread = TB
+    \context Thread = TB
       { \property Thread.noteHeadStyle = "" a16  }
     
-    \type Thread = TC
+    \context Thread = TC
       { \property Thread.noteHeadStyle = "harmonic" d16 }
     
   >
@@ -40,3 +40,4 @@ c4 c2 c8  c16 c16  c1
        }
     }
 }
+\version "1.0.16"; 
index 6ccc59d69d75f81b7ebffb68327c5be106e2ba59..61afddc932101abee1f42f76d961b285547ca90f 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.15";
+\version "1.0.16";
 
 \score{
        \notes \transpose c''{
index 16fd3fb077ffe06853cfa2d9a5114d08d45f427a..46806afd5042358b7534e0855b9a74cd93116ae6 100644 (file)
@@ -1,81 +1,81 @@
-\version "1.0.14";
+\version "1.0.16";
 
 m = \notes \relative c''{
 c1 | c2 c | c c | c c | c c | c c | c c | c c | 
 }
 
 \score{ <
-  \type StaffGroup = wood <
-    \type Staff = flauto <
+  \context StaffGroup = wood <
+    \context Staff = flauto <
       \property Staff.instrument = "Flauto"
       \property Staff.instr = "Fl."
       \m
     >
-    \type Staff = oboe <
+    \context Staff = oboe <
       \property Staff.instrument = "Oboe"
       \property Staff.instr = "Ob."
       \m
     >
-    \type Staff = clarI <
+    \context Staff = clarI <
       \property Staff.instrument = "Clarinetto I"
       \property Staff.instr = "Cl. I"
       \m
     >
-    \type Staff = clarII <
+    \context Staff = clarII <
       \property Staff.instrument = "Clarinetto II"
       \property Staff.instr = "Cl. II"
       \m
     >
-    \type Staff = fagotto <
+    \context Staff = fagotto <
       \property Staff.instrument = "Fagotto"
       \property Staff.instr = "Fg."
       \m
     >
   >
-  \type StaffGroup = brass <
-    \type Staff = cor <
+  \context StaffGroup = brass <
+    \context Staff = cor <
       \property Staff.instrument = "2 Corni in F"
       \property Staff.instr = "Cor."
-      \type Voice = corI { \stemup \m }
-      \type Voice = corII { \stemdown \m }
+      \context Voice = corI { \stemup \m }
+      \context Voice = corII { \stemdown \m }
     >
-    \type Staff = trp <
+    \context Staff = trp <
       \property Staff.instrument = "2 Trp. in B\\textflat  "
       \property Staff.instr = "Trp."
-      \type Voice = trpI { \stemup \m }
-      \type Voice = trpII { \stemdown \m }
+      \context Voice = trpI { \stemup \m }
+      \context Voice = trpII { \stemdown \m }
     >
   >
-    \type StaffGroup = percussion <\type Staff = timpani <
+    \context StaffGroup = percussion <\context Staff = timpani <
       \property Staff.instrument = "Timpani"
       \property Staff.instr = "Timp."
       \m
     >
   >
-  \type StaffGroup = strings <
-%    \type GrandStaff = violins <
-      \type Staff = viI <
+  \context StaffGroup = strings <
+%    \context GrandStaff = violins <
+      \context Staff = viI <
         \property Staff.instrument = "Violin I"
         \property Staff.instr = "Vi. I"
         \m
       >
-      \type Staff = viII <
+      \context Staff = viII <
         \property Staff.instrument = "Violin II"
         \property Staff.instr = "Vi. II"
         \m
       >
 %    >
-    \type Staff = vla <
+    \context Staff = vla <
       \property Staff.instrument = "Viola"
       \property Staff.instr = "Vla."
       \m
     >
-    \type Staff = vlc <
+    \context Staff = vlc <
       \property Staff.instrument = "Violoncello"
       \property Staff.instr = "Vlc"
       \m
     >
-    \type Staff = cb <
+    \context Staff = cb <
       \property Staff.instrument = "Contrabasso"
       \property Staff.instr = "C.B."
       \m
index 053b73744044f8466466a9aa9d32f1b18d500d29..ace006c6d612ca43a6dc4c1335a16d4e248144c2 100644 (file)
@@ -1,6 +1,6 @@
-\version "1.0.14";
+\version "1.0.16";
 
 \score {
 
-\notes { c1 c1 < {\clef "treble"; c1 c1 } \type Staff=stb{ c1 c1}>}
+\notes { c1 c1 < {\clef "treble"; c1 c1 } \context Staff=stb{ c1 c1}>}
 }
index 1275606bb0800bf9f5782465f13c4c1a3fae5889..c799c7bf165e2430a7f627d491736afcef16a960 100644 (file)
@@ -1,6 +1,6 @@
 \score{
        <
-                 \type Staff \notes\relative c'{ 
+                 \context Staff \notes\relative c'{ 
                          c4 d e f
                          \repeat 3 { g a b c }
 %                        \alternative { { c b a g } { f e d c } } c c c c
@@ -12,3 +12,5 @@
                  }
        >
 }
+
+\version "1.0.16"; 
index 914b665f96b10e62094228e048525e15e57ec660..cb1c8616be059ff10ad907155860198db0023141 100644 (file)
@@ -1,11 +1,11 @@
 \score{
        <
-                 \type Staff \notes\relative c'{ 
+                 \context Staff \notes\relative c'{ 
                          c d e f
                          \repeat 2 { g a b c }
                          \alternative { { c b a g } { f e d c } }
                  }
-                 \type Lyrics \lyrics {
+                 \context Lyrics \lyrics {
                          De eer- ste < { maat } { moet } >
                          \repeat 2 { }
                          \alternative < 
@@ -16,3 +16,5 @@
                  }
        >
 }
+
+\version "1.0.16"; 
index d34df43f90a64bf92b5e72fddd3c4811fff11950..1b9d1e2a14e622a2e686dcb25f945422144b87a5 100644 (file)
@@ -7,18 +7,18 @@ rests = \notes             {
   r r r  r r r r r r r r r r r r r
 } 
 
-scales = \type Staff \notes <
-       \type Voice=i { \stemup r1 r2 r2   \scale    c''1 c'2 a'2 \rests  }
-       \type Voice = ii { \stemdown a'1 a'2 d'2 \rests r1 r2 r2  \scale }
+scales = \context Staff \notes <
+       \context Voice=i { \stemup r1 r2 r2   \scale    c''1 c'2 a'2 \rests  }
+       \context Voice = ii { \stemdown a'1 a'2 d'2 \rests r1 r2 r2  \scale }
 >
 
-restsII = \type Staff \notes {
+restsII = \context Staff \notes {
        r4 r8
-       \type Staff < { \stemup r8 } { \stemdown r8} >
-       \type Staff < {\stemup r8} r8 { \stemdown r8} >
-       \type Staff < {\stemup r8} r8 r8 { \stemdown r8} >
-       \type Staff < {\stemup r} { \stemdown r} >
-       \type Staff < {\stemup r} r { \stemdown r} >
+       \context Staff < { \stemup r8 } { \stemdown r8} >
+       \context Staff < {\stemup r8} r8 { \stemdown r8} >
+       \context Staff < {\stemup r8} r8 r8 { \stemdown r8} >
+       \context Staff < {\stemup r} { \stemdown r} >
+       \context Staff < {\stemup r} r { \stemdown r} >
        \stemup
        \transpose c'' { [c''8 r8 c''8 c''8]
        [c8 r8 c8 c8]
@@ -33,3 +33,5 @@ restsII = \type Staff \notes {
                \restsII 
        }
 }      
+
+\version "1.0.16"; 
index e5c3d7bded3988c06206dfb3bcc6dc635ef1615b..5761183b7df7e5f5aeff0dc708ecb8594fd1bf01 100644 (file)
@@ -1,22 +1,22 @@
 
 
 
-\version "1.0.14";
+\version "1.0.16";
 
-onestaff =     \type Staff = foo\notes  {
+onestaff =     \context Staff = foo\notes  {
                \property Staff.instr = instr
                \property Staff.instrument = instrument \mark "B"; c1 \mark "A"; \break c2  c2 \break }
 
-grstaff =      \notes \type GrandStaff <
-       \type Staff = bar       {
+grstaff =      \notes \context GrandStaff <
+       \context Staff = bar    {
 
        \property Staff.instr = instr
        
         \mark "B"; \break c1 \mark "A"; c2  }
-       \type Staff = bufl        { c1 c2  } >
+       \context Staff = bufl     { c1 c2  } >
 
 scpaper =  \paper {Score = \translator {
-       \type Score_engraver;
+       \context Score_engraver;
        barScriptPadding = "2.0";       % dimension \pt
        markScriptPadding = "4.0";
        barColumnPriority = "-4";
@@ -42,7 +42,7 @@ scpaper =  \paper {Score = \translator {
 
 stpaper =\paper{
 Staff = \translator {
-       \type "Line_group_engraver_group";
+       \context "Line_group_engraver_group";
        defaultclef = violin;
        barColumnPriority = "0";
 
index 0f0490c502649c03dcbfe1fdcba5de00779eb3fc..44671d869794be1168eb72d60c0c803941c69640 100644 (file)
@@ -5,7 +5,7 @@ TestedFeatures =         "This file tests Feta embedded slurs" +
         "(Feta definitively is not an abbreviation of Font-En-TjA)";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 shortlong = \notes{
        c4()c( c c  |
index 2c8847044aaca79444e98bb3874fa4d023f95b6a..8cd78c967f8601867f6506f26b942e31141a3c88 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 % bug
 % excentric slur can't handle this ...
index c5502cffcb7eccdebed13dce001affd836fde74d..420093a9a95743203d3f2a993885b081a80a541b 100644 (file)
@@ -1,5 +1,5 @@
 % test damping
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        \notes\relative c'{
index 87c0df537498b9922470c1f61b1bd6fcd924bf36..30c46c2ec99f019b8348d027dd80cd2a22c645ce 100644 (file)
@@ -1,6 +1,6 @@
 \score{
-       \type GrandStaff <
-       \type Staff=one \notes\relative c'{
+       \context GrandStaff <
+       \context Staff=one \notes\relative c'{
                \stemup c4( c \translator Staff=two c )c |
                \translator Staff=one
                \stemup c4( c \translator Staff=two c )c |
@@ -21,7 +21,7 @@
                \stemup c4( \translator Staff=one c c \translator Staff=two )c
                r1
        }
-       \type Staff=two \notes\relative c'{
+       \context Staff=two \notes\relative c'{
                \clef bass;
                s1 s1 s1 s1 s1 s1 s1 s1 s1 s1
        }
@@ -37,3 +37,5 @@
                %linewidth=100.\mm;
        }
 }
+
+\version "1.0.16"; 
index f4ae8923f361367ffbb2432d609c7772b10cb796..88e3a44c352c369b90c646dc4da724d60aae7ebe 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 % urg, the direction of the slur gets swapped!
 \score{
index 3367ec63807ce33ae0947a75e20855c11b05f77c..d4673750a5816b72bc4b9ad1eb1bd21bdec3adae 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        \notes\transpose c'{
@@ -16,7 +16,7 @@
                < { c ~ d }
                  { e ~ f }
                >
-%      \type Staff <
+%      \context Staff <
 %      { \stemup c'8 ~g ~e( ~c~ [c'~ g' e' )c'] c'' ~ c'' c~c }
 %      { \stemdown c (e g )c'~( [b a g )d]     r2 } 
 %      >
index 8e1becef073e007477fb25056feff852542f0fd4..5c6d15bb4b14b4b3c13a8e99099ce2ccb53465c3 100644 (file)
@@ -12,15 +12,15 @@ source = "Petits Preludes et Fugues.  Urtext. Editions Henry Lemoine, Paris.";
 
 \score { 
     \notes \relative c''
-       \type GrandStaff <
-       \type Staff = SA <
-               \type Voice = VA { \property Voice.ydirection= 1
+       \context GrandStaff <
+       \context Staff = SA <
+               \context Voice = VA { \property Voice.ydirection= 1
                        e4 dis4 e2 }
-               \type Voice = VB { \property Voice.ydirection= -1
+               \context Voice = VB { \property Voice.ydirection= -1
                        [cis8 a] [fis b] gis2 }
                {\key e; }
                >
-       \type Staff = SB { \clef "bass"; \key e;
+       \context Staff = SB { \clef "bass"; \key e;
                [a,,16 e dis e] [b'8 b,] [e16 e, gis b] e4
        } 
 > 
@@ -34,3 +34,5 @@ source = "Petits Preludes et Fugues.  Urtext. Editions Henry Lemoine, Paris.";
        linewidth = 8.0 \cm;
 }
 }
+
+\version "1.0.16"; 
index fbe02806b1387fdb5ce439dc058cee39dd1d4676..5161bef5d237d72dc944a248718a70d0a7ae0091 100644 (file)
@@ -6,65 +6,65 @@ copyright =    "public domain";
 TestedFeatures =        "This file tests various spacings";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 multipart = \notes \relative c'{ 
-    \type StaffGroup < 
-                \type Staff = one { 
+    \context StaffGroup < 
+                \context Staff = one { 
                    c4
                    c 
                    c c 
                 }
-                \type Staff = two { 
+                \context Staff = two { 
                    [c8 c] 
                    [c c] 
                    [c c] [c c] 
                 }
-                \type Staff = three { 
+                \context Staff = three { 
                    \times 2/3 { [c8 c c] } 
                    \times 2/3 { [c  c c] } 
                    \times 2/3 { [c  c c] } \times 2/3 { [c c c] } 
                 }
-                \type Staff = four { 
+                \context Staff = four { 
                    \times 2/4 { [c8 c c c] }
                    \times 2/4 { [c  c c c] } 
                    \times 2/4 { [c  c c c] } \times 2/4 { [c c c c] } 
                 }
-                \type Staff = five { 
+                \context Staff = five { 
                    \times 2/5 { [c8 c c c c] } 
                    \times 2/5 { [c  c c c c] } 
                    \times 2/5 { [c  c c c c] } \times 2/5 { [c c c c c] } 
                }
-                \type Staff = six { 
+                \context Staff = six { 
                    \times 2/6 { [c8 c c c c c] } 
                    \times 2/6 { [c  c c c c c] } 
                    \times 2/6 { [c  c c c c c] } \times 2/6 { [c c c c c c] } 
                 }
-                \type Staff = seven { 
+                \context Staff = seven { 
                    \times 2/7 { [c8 c c c c c c] } 
                    \times 2/7 { [c  c c c c c c] } 
                    \times 2/7 { [c  c c c c c c] } 
                   \times 2/7 { [c  c c c c c c] } 
                 }
-                \type Staff = eight { 
+                \context Staff = eight { 
                    \times 2/8 { [c8 c c c c c c c] } 
                    \times 2/8 { [c  c c c c c c c] } 
                    \times 2/8 { [c  c c c c c c c] } 
                   \times 2/8 { [c  c c c c c c c] } 
                }
-                \type Staff = nine { 
+                \context Staff = nine { 
                    \times 2/9 { [c8 c c c c c c c c] } 
                    \times 2/9 { [c  c c c c c c c c] } 
                    \times 2/9 { [c  c c c c c c c c] } 
                   \times 2/9 { [c  c c c c c c c c] } 
                }
-                \type Staff = ten { 
+                \context Staff = ten { 
                    \times 2/10 { [c8 c c c c c c c c c] } 
                    \times 2/10 { [c  c c c c c c c c c] } 
                    \times 2/10 { [c  c c c c c c c c c] } 
                   \times 2/10 { [c  c c c c c c c c c] } 
                }
-                \type Staff = eleven { 
+                \context Staff = eleven { 
                    \times 2/11 { [c8 c c c c c c c c c c] } 
                    \times 2/11 { [c  c c c c c c c c c c] } 
                    \times 2/11 { [c  c c c c c c c c c c] } 
index 5c7fb2c324660d84de4abb8b7ece24da4ec6d56a..b67017bc6f0c2d3cb19382e8a83db58a7aae35b7 100644 (file)
@@ -1,23 +1,23 @@
 
-\version "1.0.14";
+\version "1.0.16";
 nt = \notes { c1 \break c1 c1 } 
 stuff = \notes \relative c'' <
-  \type Staff = stone  { \nt }
-  \type Staff = sttwo { \nt }
+  \context Staff = stone  { \nt }
+  \context Staff = sttwo { \nt }
 >
 
 \score{ 
-    \type StaffGroup \stuff
+    \context StaffGroup \stuff
 }
 
 \score{ 
-    \type StaffGroup < \type GrandStaff \stuff
-        \type Staff = stthree \nt 
+    \context StaffGroup < \context GrandStaff \stuff
+        \context Staff = stthree \nt 
     >
 }
 
 \score{ 
-    \type ChoirStaff \stuff
+    \context ChoirStaff \stuff
 }
 
 
diff --git a/input/test/staff-margin.ly b/input/test/staff-margin.ly
new file mode 100644 (file)
index 0000000..176e387
--- /dev/null
@@ -0,0 +1,18 @@
+
+       
+\version "1.0.16";
+
+\score {
+
+  \notes     \context PianoStaff <
+  
+    \context Staff = treble    {
+      \property PianoStaff.instrument = "Piano "
+      \property Staff.instrument = "Right " { c''4 }}
+    \context Staff = bass { \property Staff.instrument = "Left " \clef bass; c4 }>
+
+\paper {
+\translator { \StaffContext \consists "Staff_margin_engraver"; }
+\translator { \PianoStaffContext \consists "Staff_margin_engraver"; }
+}}
+
index d099cf61166a8c1c144225c956716e06ecebe675..d0c57aa4b60fb27cdd6238896e9a8eeaee01cf36 100644 (file)
@@ -1,5 +1,5 @@
 \score{
-       \type Staff \notes\relative c''{
+       \context Staff \notes\relative c''{
                \property Staff.instrument = "Toeters"
                c c c c(\break
                )c c c c ~\break
@@ -17,3 +17,5 @@
        }
 }
 
+
+\version "1.0.16"; 
index a9f063dc2670ab979ad894c3a2411346ea0779eb..08c1bb8c41960f162b32e484d9c496084ae944dd 100644 (file)
@@ -1,10 +1,12 @@
-< \type Staff = VA {
+< \context Staff = VA {
        \property Staff.staffLineLeading = "4" \property Staff.fontsize = "-2"
        \property Voice . dynamicDir = \up \stemdown
 \key gis;
        c8 d [e f g a] b c \ff
   }
 
-\type Staff = VB {  \property Voice . dynamicDir = \down c,,4 \ff} 
+\context Staff = VB {  \property Voice . dynamicDir = \down c,,4 \ff} 
 
 >
+
+\version "1.0.16"; 
index 992b5f73074a5963554996767ec1eead19a81b65..22b42ba0045d2f05bab1654229c8ec685a175bbf 100644 (file)
@@ -8,7 +8,7 @@ of beams";
        
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 beamintervals = \notes{
                \time 7/4;
index 78afbe96ede193b52b7e29d5cd8644306f59d4a0..3a6941eeea5252238f5ea8ce71353bebea79eb55 100644 (file)
@@ -7,7 +7,7 @@ enteredby =     "Maarten Storm";
 instrument=    "Violoncello";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 % this is an example of extreme dynamics
 
index 3ef1f47c4fc640eee6601d487ef0f6965ff5c94c..e55ef647a5b6ac5b988beaeb27d67f588bf3e41d 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 $somewhat_long = \lyrics{
        \property Lyrics . textstyle = "roman" 
@@ -30,15 +30,15 @@ $quite_long = \lyrics{
        Syyyyyyyyyyyyylllllllaaaaaabbble2
 }
 
-$somewhat_long_lyrics_staff = \type Lyrics = somewhat <
+$somewhat_long_lyrics_staff = \context Lyrics = somewhat <
        \$somewhat_long
 >
 
-$rather_long_lyrics_staff = \type Lyrics = rather <
+$rather_long_lyrics_staff = \context Lyrics = rather <
        \$rather_long
 >
 
-$quite_long_lyrics_staff = \type Lyrics = quite <
+$quite_long_lyrics_staff = \context Lyrics = quite <
        \$quite_long
 >
 
@@ -48,7 +48,7 @@ melody = \notes
        c4 e4 g4 e4  c4 e4 g4 e4  c4 e4 g4 e4  c4 e4 g4 e4
 }
 
-$melodic_staff = \type Staff = mel <
+$melodic_staff = \context Staff = mel <
        \melody
 >
 
index db218ab9b17bb51dce3c020bcc367c0ae18de083..f4baaeaf3c6d4e6d570750ef11640c8b9b294184 100644 (file)
@@ -7,7 +7,7 @@
 % the thumb-script is used in cello music to indicate a note that should
 % be played with your thumb. 
 
-\version "1.0.14";
+\version "1.0.16";
 
 \score { \notes \relative c'' {
                [<a8_\thumb a'8-3(> <)b_\thumb b'-3>
index 991f964f5a96782ab9e0a7e90003fdce26a196e8..35f2ede20838c37789190fc2df45e1605212272d 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 
 %  middle tie is wrong
index fd5c83fb43617265f278e9bbfd3a4e7807b640e5..aa965b7706de58ef63ba3f2a7f1a686f3568d692 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 tie = \notes\transpose c''{
 
index 00679b3926ed2ad3a3e06c8705861888fd70b5d1..6d5317899065e846a38800c21e472c2d35b61238 100644 (file)
@@ -10,7 +10,7 @@ source =      "urtext";
 instrument=    "Instrument";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        \notes
index 0b42cfca53bb3f7053a1051513f8b6c19b31537f..142eb644924ebf2f50e303741eea531d29dfe032 100644 (file)
@@ -22,7 +22,7 @@ copyright =    "public domain";
 }
 
 
-\version "1.0.14";
+\version "1.0.16";
 
 vOne = \notes \relative c''{
         \clef"violin";
@@ -51,7 +51,7 @@ vThree = \notes \relative c''{
 vFour = \notes \transpose d' \vThree
 
 \score {
-  \type StaffGroup <
+  \context StaffGroup <
          \vOne
          \vTwo
          \vThree
index f9dd57debb1ca1fe4532f4bffee418d129d6e284..3a8f9d0e168eb23be7344becd06447dcb3cc86cb 100644 (file)
@@ -1,5 +1,5 @@
 \score{
-       \notes \type Voice {
+       \notes \context Voice {
                 \times 2/3 { \times 2/3 { a8 b c}  c }
                 \times 3/4 { c4 c4 c4 c4 }
                 \time 6/8;
@@ -7,3 +7,5 @@
 
                 }
 }
+
+\version "1.0.16"; 
index 20ae55429f71faa251b3add065a5697031d85d18..4664cfc09fc541c85c9c23e440e78cbed2230768 100644 (file)
@@ -1,8 +1,10 @@
 \score{
-       \type Staff \notes\relative c'' {
+       \context Staff \notes\relative c'' {
        % doesn't quite work yet
        %       \property Staff.unfoldRepeats = 1
                \repeat 3 { a b c d } 
                \alternative { { d c b a } { a b c d } } d d d d
        }
 }
+
+\version "1.0.16"; 
index dfac8a1cf65dc6eb309f887efe4441ca4878d19f..eba99a194a40ea8de7d2a9f9750ec6fab32ecd06 100644 (file)
@@ -3,7 +3,9 @@
 % {\voicetwo c}>
 
 % now we need:
-\type Staff
+\context Staff
 <{\voiceone e}
 {\voicetwo c}>
 
+
+\version "1.0.16"; 
index 0df66e2fd6d8cd88e053ae0fe94356dd656f63a7..cb2664d47b3672f743fe439dfab1d1592ce65430 100644 (file)
@@ -1,9 +1,9 @@
 
-\version "1.0.14";
+\version "1.0.16";
 
 \score {
 \notes <
-       \type GrandStaff < {
+       \context GrandStaff < {
           \property GrandStaff . maxVerticalAlign = "60."
           \property GrandStaff . minVerticalAlign = "35."
 
index b69c4e8921ae149a23fc293b4989feff4c3ab973..49a22a946c01fd2d7e88b006fc8761f7be31bdfb 100644 (file)
@@ -1,12 +1,12 @@
 \score{
        <
-               \type Staff = o \notes\relative c,,, { 
+               \context Staff = o \notes\relative c,,, { 
                        \stemdown [c8 c c c] c4 c4 \break [c8 c c c] c4 c4
                }
-               \type Lyrics \lyrics{
+               \context Lyrics \lyrics{
                        BLA gag _2 < { BLA gag } { BLA gag la } > _2 
                }
-               \type Staff = t \notes\relative c''''' { 
+               \context Staff = t \notes\relative c''''' { 
                        \stemup [c8 c c c] c4 c [c8 c c c] c4 c
                } 
        >
@@ -14,3 +14,5 @@
                castingalgorithm = \Wordwrap;
        }
 }
+
+\version "1.0.16"; 
index 3d49c18a5003f37a63c0357efaa77babc28be8d4..64c4d07a832b145a9fa2d4a17e52eed77f9a3a51 100644 (file)
@@ -1,11 +1,15 @@
+
+%{
+What's supposed to be demonstrated here?
+%}
 \score{
-       \type Staff \notes\relative c'''{
-               < \type Voice = one {
+       \context Staff \notes\relative c'''{
+               < \context Voice = one {
                \stemup
                \voiceone
                [g8 a g f]
                }
-               \type Voice=two
+               \context Voice=two
                {
                \stemdown
                \voicetwo
@@ -16,3 +20,5 @@
                linewidth=-1.;
        }
 }
+
+\version "1.0.16"; 
index 088dd25b6249ed5fa6c171df1234ec7a44ce52a0..c6cf0f962eea7891d7187d0e8d4168a6f26e944a 100644 (file)
@@ -5,7 +5,7 @@ TestedFeatures =         "This file tests trills" +
         "(Feta definitively is not an abbreviation of Font-En-TjA)";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \score{
        \notes{ 
index 80c38ee46ce706fa7624ed130ac686ce5d0ddac5..4c605f54ac446712121c34f66e6fd550da3171f8 100644 (file)
@@ -11,7 +11,7 @@ copyright =    "public domain";
 Tested Features                lyrics and chords
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 melodie = \notes\relative c'' {
         \clef "violin";
@@ -51,9 +51,9 @@ text = \lyrics{
 
 \score {
         <  
-          \type ChordNames \acc
-          \type Staff=melody \melodie
-           \type Lyrics \text
+          \context ChordNames \acc
+          \context Staff=melody \melodie
+           \context Lyrics \text
         >
        \header{
                title = "Ah, vous dirais-je, maman ";
@@ -63,9 +63,9 @@ text = \lyrics{
 
 \score {
         <  
-          \chords \type ChordNames \transpose bes\acc
-          \notes \type Staff=melody \transpose bes\melodie
-           \lyrics \type Lyrics \text
+          \chords \context ChordNames \transpose d'\acc
+          \notes \context Staff=melody \transpose d'\melodie
+           \lyrics \context Lyrics \text
         >
        \header{
                piece = "clarinet in B\\textflat";
index 82a509a8a1f3c8f1b5877c5829bb3c91499851e7..069e82e830842711516537018b3cfa38e5a2453f 100644 (file)
@@ -19,7 +19,7 @@ traditional song in various languages.
 Tested Features: lyrics, interleaving lyrics and staffs, repeats
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 melody = \notes \relative c'' {
        \clef violin;
@@ -117,13 +117,13 @@ textiii = \lyrics{
 
 \score{
        <
-               \type Staff=i \repeat 2 < \global\melody >
-               \type Lyrics=top \repeat 2 {} \alternative < \tekst \texte >
-               \type GrandStaff <
-                       \type Staff=ii \repeat 2 < \global\melody >
-                       \type Staff=iii \repeat 2 < \global\accompany >
+               \context Staff=i \repeat 2 < \global\melody >
+               \context Lyrics=top \repeat 2 {} \alternative < \tekst \texte >
+               \context GrandStaff <
+                       \context Staff=ii \repeat 2 < \global\melody >
+                       \context Staff=iii \repeat 2 < \global\accompany >
                >
-               \type Lyrics=bottom \repeat 3 {} 
+               \context Lyrics=bottom \repeat 3 {} 
                        \alternative < \texti \textii \textiii >
        >
        \paper{
index 3bed6a0433c797d7d5f0806033f9cee17e053486..cb369d2c32a3c445e374cdf7fb24427dfc44027a 100644 (file)
@@ -12,7 +12,8 @@
 
 #include "string.hh"
 
-void warning (String message_str  );
+void programming_error (String s);
+void warning (String message_str);
 void error (String message_str);
 void non_fatal_error (String);
 #endif // WARN_HH
index ecb97a5f755e9f1f5accb664362be0a1ba0d6a34..16e7e82fded46cea2217552c138d457b1f181137 100644 (file)
@@ -27,3 +27,9 @@ message (String m)
 {
   cerr << m<<endl;
 }
+void
+programming_error (String s)
+{
+  cerr << _("Programming error: ") << s << _(" (continuing; cross thumbs)") << '\n';
+
+}
diff --git a/lily/axis-group-engraver.cc b/lily/axis-group-engraver.cc
new file mode 100644 (file)
index 0000000..44b85b4
--- /dev/null
@@ -0,0 +1,60 @@
+/*   
+  axis-group-engraver.cc --  implement Axis_group_engraver
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ */
+
+#include "axis-group-engraver.hh"
+#include "axis-group-spanner.hh"
+#include "p-col.hh"
+
+Axis_group_engraver::Axis_group_engraver ()
+{
+  staffline_p_ = 0;
+}
+
+void
+Axis_group_engraver::do_creation_processing ()
+{
+  staffline_p_ = get_spanner_p ();
+  staffline_p_->set_axes (Y_AXIS, Y_AXIS);
+  staffline_p_->set_bounds(LEFT,get_staff_info().command_pcol_l ());
+  announce_element (Score_element_info (staffline_p_, 0));
+}
+
+Axis_group_spanner*
+Axis_group_engraver::get_spanner_p () const
+{
+  return new Axis_group_spanner;
+}
+void
+Axis_group_engraver::do_removal_processing ()
+{
+  staffline_p_->set_bounds(RIGHT,get_staff_info().command_pcol_l ());
+  typeset_element (staffline_p_);
+  staffline_p_ = 0;
+}
+
+void
+Axis_group_engraver::acknowledge_element (Score_element_info i)
+{
+  if (!i.elem_l_->parent_l (Y_AXIS))
+    {
+      elts_.push (i.elem_l_);
+    }
+}
+
+void
+Axis_group_engraver::process_acknowledged ()
+{
+  for (int i=0; i < elts_.size (); i++)
+    {
+      if (!elts_[i]->parent_l (Y_AXIS))
+       staffline_p_->add_element (elts_[i]);
+    }
+  elts_.clear ();
+}
+
+ADD_THIS_TRANSLATOR(Axis_group_engraver);
index 7897404c657bd1ef977ea1fcbaf8e07ae759e16e..f466e1bc866b6c99a1c86f633b58739c518c8fbf 100644 (file)
@@ -14,6 +14,7 @@
 #include "g-text-item.hh"
 #include "lily-guile.hh"
 #include "p-col.hh"
+#include "paper-def.hh"
 
 Bar_script_engraver::Bar_script_engraver ()
 {
@@ -50,13 +51,15 @@ Bar_script_engraver::do_acknowledge_element (Item *i)
 
       /*
        How do we make sure that staff_side_p_ has a dependency from
-       someone else? We can't use i for that, 
+       someone else? We can't use i for that,  so we use some other element.
        */
       get_staff_info ().command_pcol_l ()->add_dependency (staff_side_p_);
     }
 }
 
-
+/*
+  URG.
+ */
 Item*
 Bar_script_engraver::cast_to_interesting_item (Score_element *e)
 {
@@ -146,7 +149,12 @@ Bar_script_engraver::create_items (Request *rq)
     {
       staff_side_p_->set_elt_property (padding_scm_sym, gh_double2scm(Real(padding)));
     }
-
+  else
+    {
+      staff_side_p_
+       ->set_elt_property (padding_scm_sym,
+                           gh_double2scm(paper_l ()->get_realvar (interline_scm_sym)));
+    }
   
   staff_side_p_->set_elt_property (visibility_lambda_scm_sym,
                                   visibility_lambda_);
index 3f96a5996e83fc49a63b5d1b5c34844b6f8c7447..fdf2ef5d08433da6d3524f34c509a86fa82289a6 100644 (file)
@@ -203,12 +203,12 @@ Beam::get_default_dir () const
       beamdir = (count[UP] > count[DOWN]) ? UP : DOWN;
       break;
     case MEAN:
-      // mean centre distance
+      // mean center distance
       beamdir = (total[UP] > total[DOWN]) ? UP : DOWN;
       break;
     default:
     case MEDIAN:
-      // median centre distance
+      // median center distance
       if (!count[UP])
        beamdir = DOWN;
       else if (!count[DOWN])
diff --git a/lily/context-specced-music.cc b/lily/context-specced-music.cc
new file mode 100644 (file)
index 0000000..138de63
--- /dev/null
@@ -0,0 +1,14 @@
+/*   
+  context-specced-music.cc --  implement Context_specced_music
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
+#include "context-specced-music.hh"
+
+Context_specced_music::Context_specced_music(Music *m)
+  : Music_wrapper  (m)
+{
+}
index 7ddb4f70281acb0b663287c472c622b407b72f9f..aa167cb3bc27a90f449b5adc320f7abfb5dbd933 100644 (file)
@@ -53,8 +53,9 @@ G_script_engraver::do_process_requests()
       G_stem_staff_side_item * ss =new G_stem_staff_side_item;
       list = SCM_CDR (list);
          
-      p->indices_drul_[LEFT] = ly_scm2string(SCM_CAAR (list));
-      p->indices_drul_[RIGHT] = ly_scm2string(SCM_CDAR (list));
+      p->set_elt_property (molecule_scm_sym,
+                          SCM_CAR(list));
+
       list = SCM_CDR(list);
       bool follow_staff = gh_scm2bool (SCM_CAR(list));
       list = SCM_CDR(list);
index 867bcf7dd59ddd57ea0fe9ec67b39ce7a8c96808..cf3c595b7733f4a8f5f3d9fe60d4af2c8519032f 100644 (file)
@@ -34,7 +34,24 @@ G_script::do_substitute_element_pointer (Score_element*o, Score_element*n)
 Molecule
 G_script::get_molecule(Direction d) const
 {
-  return lookup_l ()->afm_find ("scripts-" + indices_drul_[d]);
+  SCM s = get_elt_property (molecule_scm_sym);
+  assert  (s != SCM_BOOL_F);
+
+  s = SCM_CDR(s);
+  SCM key = SCM_CAR (s);
+  if (key == ly_symbol ("feta"))
+    {
+      return lookup_l ()->afm_find ("scripts-" +
+                                   ly_scm2string (index_cell (SCM_CDR (s), d)));
+    }
+  else if (key == ly_symbol ("accordion"))
+    {
+      return lookup_l ()->accordion (SCM_CDR(s));
+    }
+
+  else assert (false);
+
+  return Molecule ();
 }
 
 
@@ -71,5 +88,5 @@ G_script::do_brew_molecule_p () const
 void
 G_script::do_print () const
 {
-  DOUT << "Indices: " << indices_drul_[LEFT] << ", " << indices_drul_[RIGHT];
+
 }
index 4d74c166283821b48e5b45d53b6a501013db391f..865eb478add7cf4f13774e5ce48b8752f2d08d96 100644 (file)
@@ -10,6 +10,8 @@
 #include "g-staff-side.hh"
 #include "staff-symbol.hh"
 #include "debug.hh"
+#include "warn.hh"
+#include "dimensions.hh"
 
 G_staff_side_item::G_staff_side_item ()
 {
@@ -68,6 +70,9 @@ G_staff_side_item::do_substitute_element_pointer (Score_element*o, Score_element
 void
 G_staff_side_item::position_self ()
 {
+  if (to_position_l_ &&
+      to_position_l_->get_elt_property (transparent_scm_sym) != SCM_BOOL_F)
+    return;
 
   Interval dim;
   Dimension_cache *common = 0;
@@ -84,9 +89,11 @@ G_staff_side_item::position_self ()
        }
     }
   else
+     common = dim_cache_[axis_].parent_l_;
+
+  if (dim.empty_b ())
     {
       dim = Interval(0,0);
-      common = dim_cache_[axis_].parent_l_;
     }
 
   
@@ -102,7 +109,10 @@ G_staff_side_item::position_self ()
     {
       off += gh_scm2double (SCM_CDR(pad)) * dir_;
     }
-  dim_cache_[axis_].set_offset (dim[dir_] - sym_dim[-dir_] + off);
+  Real total_off = dim[dir_] - sym_dim[-dir_] + off;
+  dim_cache_[axis_].set_offset (total_off);
+  if (fabs (total_off) > 100 CM)
+    programming_error ("Huh ? Improbable staff side dim.");
 }
 
 void
diff --git a/lily/hara-kiri-engraver.cc b/lily/hara-kiri-engraver.cc
new file mode 100644 (file)
index 0000000..0761b36
--- /dev/null
@@ -0,0 +1,30 @@
+/*   
+  hara-kiri-engraver.cc --  implement Hara_kiri_engraver
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
+#include "hara-kiri-vertical-group-spanner.hh"
+#include "hara-kiri-engraver.hh"
+#include "rhythmic-head.hh"
+
+Axis_group_spanner*
+Hara_kiri_engraver::get_spanner_p () const
+{
+  return new Hara_kiri_group_spanner;
+}
+
+void
+Hara_kiri_engraver::acknowledge_element (Score_element_info i)
+{
+  Axis_group_engraver::acknowledge_element (i);
+  if (Rhythmic_head *h = dynamic_cast<Rhythmic_head *> (i.elem_l_))
+    {
+      dynamic_cast<Hara_kiri_group_spanner*> (staffline_p_)
+       ->add_interesting_item (h);
+    }
+  
+}
+ADD_THIS_TRANSLATOR(Hara_kiri_engraver);
index d38c0d19609e012a8261bb3693a9b89a12aa97ee..d57069b2560267299d224a2b602d5c8de4c4264a 100644 (file)
@@ -18,7 +18,8 @@
   This is a wrapper around Axis_group_administration
   */
 class Axis_group_element : public virtual Score_element,
-                          public virtual Graphical_axis_group {
+                          public virtual Graphical_axis_group
+{
 protected:
   virtual void do_print() const;
   virtual Link_array<Score_element> get_extra_dependencies() const;
diff --git a/lily/include/axis-group-engraver.hh b/lily/include/axis-group-engraver.hh
new file mode 100644 (file)
index 0000000..ee745cc
--- /dev/null
@@ -0,0 +1,37 @@
+/*   
+  axis-group-engraver.hh -- declare Axis_group_engraver
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
+
+#ifndef AXIS_GROUP_ENGRAVER_HH
+#define AXIS_GROUP_ENGRAVER_HH
+
+
+#include "engraver.hh"
+
+/**
+   Put stuff in a Axis_group_spanner.  Use as last element of a context. 
+ */
+class Axis_group_engraver : public Engraver
+{
+protected:
+  Axis_group_spanner *staffline_p_;
+  Link_array<Score_element> elts_;
+
+  virtual void do_creation_processing();
+  virtual void do_removal_processing();
+  virtual void acknowledge_element (Score_element_info);
+  virtual void process_acknowledged ();
+  virtual Axis_group_spanner* get_spanner_p () const;
+public:
+  VIRTUAL_COPY_CONS(Translator);
+  
+  Axis_group_engraver ();
+};
+
+#endif /* AXIS_GROUP_ENGRAVER_HH */
+
diff --git a/lily/include/context-specced-music.hh b/lily/include/context-specced-music.hh
new file mode 100644 (file)
index 0000000..8aadd33
--- /dev/null
@@ -0,0 +1,32 @@
+/*   
+  context-specced-music.hh -- declare Context_specced_music
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
+
+#ifndef CONTEXT_SPECCED_MUSIC_HH
+#define CONTEXT_SPECCED_MUSIC_HH
+
+#include "music-wrapper.hh"
+
+class Context_specced_music : public Music_wrapper
+{
+public:
+  /** The kind of translation needed for this music.  This doesn't
+    make sense for simple (ie non-list) music, but it does no harm
+    here. Yes, it did harm Music_sequence: you can forget to copy it.
+      
+    */
+  String translator_type_str_;
+
+  /// what identification for the translation unit
+  String translator_id_str_;
+  Context_specced_music (Music*);
+  VIRTUAL_COPY_CONS(Music);
+
+};
+#endif /* CONTEXT_SPECCED_MUSIC_HH */
+
index cbc5f6ee1b524d8be4accad52301cb42c8722234..3ee811f3fe8aa0ba808d9e85d71fc14324d2763f 100644 (file)
 #include "drul-array.hh"
 
 /**
-   articulation marks (and the like) that are attached to notes/stems.
-   Needs support from G_staff_side for proper operation.
- */
+   Articulation marks (and the like) that are attached to notes/stems.
+   Needs support from G_staff_side for proper operation.  G_staff_side
+   handles the positioning.
+
+*/
 class G_script : public Item
 {
   G_staff_side_item * staff_side_l_;
 
   Molecule get_molecule (Direction d) const;
 public:
-  Drul_array<String> indices_drul_;
   G_script ();
   void set_staff_side (G_staff_side_item*);
 
 protected:
-virtual void do_print () const;
+  virtual void do_print () const;
   virtual void do_substitute_element_pointer (Score_element*o,
                                              Score_element*n);
   virtual void do_pre_processing ();
diff --git a/lily/include/hara-kiri-engraver.hh b/lily/include/hara-kiri-engraver.hh
new file mode 100644 (file)
index 0000000..0d88b3d
--- /dev/null
@@ -0,0 +1,24 @@
+/*   
+  hara-kiri-engraver.hh -- declare Hara_kiri_engraver
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
+
+#ifndef HARA_KIRI_ENGRAVER_HH
+#define HARA_KIRI_ENGRAVER_HH
+
+#include "axis-group-engraver.hh"
+
+class Hara_kiri_engraver : public Axis_group_engraver
+{
+protected:
+  virtual Axis_group_spanner*get_spanner_p ()const;
+  virtual void acknowledge_element (Score_element_info);
+public:
+  VIRTUAL_COPY_CONS(Translator);
+};
+
+#endif /* HARA_KIRI_ENGRAVER_HH */
index ec45c65d0288d46fe3324cd731c93faa4cc3c42e..b7eea3d2f570d9c25382b132da9c800c4c47b83f 100644 (file)
@@ -8,12 +8,13 @@
 
 #ifndef LILY_GUILE_HH
 #define LILY_GUILE_HH
-
+// order of includes important?
 #include "config.hh"
 #include  "string.hh"
 
 #include <guile/gh.h>
 #include <libguile.h>
+#include "direction.hh"
 
 SCM ly_symbol (String name);
 String symbol_to_string (SCM);
@@ -25,6 +26,8 @@ SCM ly_func_o (char const* name);
 SCM ly_quote_scm (SCM s);
 void ly_display_scm (SCM s);
 String ly_scm2string (SCM s);
+SCM array_to_list (SCM *a , int l);
+
 
 #include "array.hh"
 #include "scalar.hh"
@@ -41,5 +44,6 @@ SCM ly_protect_scm (SCM s);
 SCM ly_unprotect_scm (SCM s);
 void init_ly_protection ();
 
+SCM index_cell (SCM cellp, Direction d);
 
 #endif // LILY_GUILE_HH
index cbc8a7a02147128e5d72a1fc77ec8e56eaaba2e3..37d9bce72b3acb2f569ba3eed281a1bd57963bbc 100644 (file)
@@ -32,6 +32,8 @@ struct Audio_staff;
 struct Audio_tempo;
 struct Auto_beam_engraver;
 struct Axis_group_element;
+struct Axis_group_spanner;
+struct Axis_group_item;
 struct Axis_group;
 struct Bar;
 struct Bar_column_engraver;
index 93e917310b809c696e568cd398a70693e4767386..1feaa57f97b7d181a859b72f103597d663aa4de5 100644 (file)
@@ -24,8 +24,6 @@ protected:
   virtual void do_creation_processing();
   virtual void do_removal_processing();
   virtual void typeset_element (Score_element*);
-virtual void do_announces ();
-
 public:
   VIRTUAL_COPY_CONS(Translator);
   
index 827e094f03da2b0252671e1dc74fd46023474ada..a4f60b00e16f79b4387d31535bc28b382fe5061e 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef LOOKUP_HH
 #define LOOKUP_HH
 
+#include "lily-guile.hh"
 #include "molecule.hh"
 #include "fproto.hh"
 #include "direction.hh"
@@ -27,7 +28,6 @@ public:
   Molecule accidental (int, bool cautionary) const;
   Molecule afm_find (String, bool warn=true) const;
   Molecule notehead  (int, String) const;
-
   Molecule bar (String, Real height) const;
   Molecule beam (Real, Real, Real) const;
   Molecule clef (String) const;
@@ -40,11 +40,9 @@ public:
   Molecule hairpin (Real width, bool decresc, bool continued) const;
   Molecule plet (Real dy, Real dx, Direction dir) const;
   Molecule rest (int, bool outside, String) const;
-  Molecule rule_symbol (Real height, Real width) const;
-
+  Molecule accordion (SCM arg) const;
   Molecule stem (Real y1_pos, Real y2_pos) const;
   Molecule slur (Array<Offset> controls) const;
-  Molecule streepje (int type) const;
   Molecule text (String style, String text) const;
   Molecule staff_brace (Real dy) const;
   Molecule staff_bracket (Real dy) const;
index 322d4ab8cbcfcc6478dec96cf89ba46b61501fcf..7d94aa2cebb360bad96b51daad30dad256aa2ae9 100644 (file)
@@ -38,6 +38,7 @@ DECLARE_LY_SYMBOL(interbeam);
 DECLARE_LY_SYMBOL(interbeam4);
 DECLARE_LY_SYMBOL(interline);
 DECLARE_LY_SYMBOL(linewidth);
+DECLARE_LY_SYMBOL(molecule);
 DECLARE_LY_SYMBOL(notewidth);
 DECLARE_LY_SYMBOL(non_default);
 DECLARE_LY_SYMBOL(octave_dir);
index ad8dca599f93affbd60d72d04f3cabdd3a22c7c4..0bd1e966d07330c1a066670649d844c5a3be10b5 100644 (file)
 class Music:public Input {
 public:
     
-  /** The kind of translation needed for this music.  This doesn't
-    make sense for simple (ie non-list) music, but it does no harm
-    here. Yes, it did harm Music_sequence: you can forget to copy it.
-      
-    */
-  String translator_type_str_;
-
-  /// what identification for the translation unit
-  String translator_id_str_;    
 
   virtual Musical_pitch to_relative_octave (Musical_pitch);
 
index c2b435eb59e12fecec1c6753f0aeb0e14224d282..1b85706da82b417d17f241ac6f780290d2ef9109 100644 (file)
@@ -21,6 +21,11 @@ public:
   int repeats_i_;
   bool unfold_b_;
   Music* repeat_p_;
+  /*
+    UGH FIXME: this should be:
+
+    Music_list  * alternative_p_;
+   */
   Music_sequence* alternative_p_;
 
   Repeated_music (Music*, int n, Music_sequence*);
index ab4f2eeca4281e33c77437dd50862083075fe620..bb9996fbd6691e4cf0063c6a1e406f2f3f15bc95 100644 (file)
@@ -26,6 +26,7 @@ typedef void (Translator::*Const_method_pointer)(void) const;
   */
 class Translator_group : public virtual Translator {
   Array<String> consists_str_arr_;
+  Array<String> consists_end_str_arr_;
   Array<String> accepts_str_arr_;
   Dictionary<Scalar> properties_dict_;
 
@@ -44,8 +45,8 @@ public:
   
 
   void set_acceptor (String accepts, bool add);
-  void set_element (String accepts, bool add);  
-  
+  void set_element (String elt, bool add);  
+  void add_last_element (String elt);  
   
   Translator_group(Translator_group const &);
   Translator_group();
index 4115bc66dd2b331ee0afe82e62476c556e0de600..98e7ed5495b2f63c313f4a28aa28b956da62b7d3 100644 (file)
 class Axis_align_spanner;
 class Vertical_align_engraver : public Engraver {
   Axis_align_spanner * valign_p_;
-    
+  bool qualifies_b (Score_element_info) const;  
 public:
   VIRTUAL_COPY_CONS(Translator);
   
   Vertical_align_engraver();
 protected:
+  
   virtual void acknowledge_element (Score_element_info);
   virtual void do_creation_processing();
   virtual void do_removal_processing();
index c1a8812ce83a35fecb6f8a69af9ee27c1898fb88..525e1e1e2ab01f35d22eb93f1134d58b33b1effb 100644 (file)
@@ -175,7 +175,7 @@ Item::Item (Item const &s)
 void
 Item::handle_prebroken_dependents ()
 {
-  Item * parent =  dynamic_cast<Item*> (parent_lX_AXIS));
+  Item * parent =  dynamic_cast<Item*> (parent_l (X_AXIS));
   if (breakable_b () && parent)
     {
        if(!(broken_to_drul_[LEFT] || broken_to_drul_[RIGHT]))
@@ -189,6 +189,25 @@ Item::handle_prebroken_dependents ()
 
          broken_self->dim_cache_[X_AXIS].parent_l_ =
            &broken_parent->dim_cache_[X_AXIS];
+
+         /*
+           ugh. Should do this is after breaking?
+          */
+         if (!broken_self->parent_l (Y_AXIS))
+           {
+             Score_element * yparent =dynamic_cast<Score_element*>(parent_l (Y_AXIS));
+             Item *yparenti = dynamic_cast<Item*> (yparent);
+             Item *broken_yparent = yparenti ?
+               yparenti->find_prebroken_piece (d) : 0;
+             
+             if (!yparent)
+               programming_error ("Vertical refpoint lost!");
+             else if (yparenti)
+               {
+                 broken_self->dim_cache_[Y_AXIS].parent_l_ =
+                   &broken_yparent->dim_cache_[Y_AXIS];
+               }
+           }
        }
       while ((flip (&d))!=LEFT);
     }
index 31b9f497bebddd350cc4dafc3d5fb2a774da1fed..bec431671e0f23c850487534428e21d1c0d1d81d 100644 (file)
@@ -17,6 +17,8 @@
 #include "debug.hh"
 
 
+
+
 /*
   scm_m_quote doesn't use any env, but needs one for a good signature in GUILE.
 
@@ -100,196 +102,22 @@ ly_scm2string (SCM s)
   return r;
 }
 
-/*
-  Layout of nodes:
-
-  (key . (left_child . right_child))
-
-  SCM_EOL is the nil-pointer (should use SCM_NIMP() ?)
- */
-
-#define left_child(s) SCM_CADR((s))
-#define right_child(s) SCM_CDDR((s))
-#define key(s) SCM_CAR((s))
-
-/*
-  Garble pointers, to prevent unbalanced tree due to ordered inserts.
- */
-
-unsigned int
-munge (SCM s) 
-{
-  const int SHIFT = 18;
-  return (unsigned int)(s << (32-SHIFT) | s >> SHIFT );
-}
-
 SCM
-ly_new_bintree_node (SCM val)
+index_cell (SCM s, Direction d)
 {
-  return gh_cons (val, gh_cons (SCM_EOL, SCM_EOL));
+  assert (d);
+  return (d == LEFT) ? SCM_CAR (s) : SCM_CDR (s);
 }
 
-
-/*
-  add VAL to TREE. TREE must be non-nil
- */
-void
-ly_addto_bintree (SCM *tree, SCM val)
-{
-  while(*tree != SCM_EOL)
-    {
-      if (munge (val) <= munge (key (*tree)))
-       tree = &left_child (*tree);
-      else
-       tree = &right_child (*tree);
-    }
-
-  *tree = ly_new_bintree_node (val);
-}
-
-
-/*
-  find the address of a node in the tree represented by *NODE with key VAL
- */
-SCM  *
-ly_find_in_bintree (SCM *node, SCM val)
-{
-  while (*node != SCM_EOL)
-    {
-      if (munge (val) < munge (key(*node) ))
-       node = &left_child(*node);
-      else if (munge (val) > munge (key (*node)))
-       node = &right_child (*node);
-      else
-       return node;
-    }
-  return node;
-}
-
-void
-ly_remove_from_bintree (SCM *node)
-{
-  SCM r = right_child  (*node);
-  SCM l = left_child (*node);
   
-  if (r == SCM_EOL)
-    {
-      *node = l;
-    }
-  else if (l == SCM_EOL)
-    {
-      *node = r;
-    }
-  else
-    {
-      /*deleting from binary trees.  See Knuth's TAOCP.
-       */
-      SCM *t = node;
-      SCM *left_t = &left_child (*t);
-
-      /*
-       INV:  LEFT_T  is the left child of T
-       */
-      while (*left_t != SCM_EOL)
-       {
-         t = left_t;
-         left_t = &left_child (*t);
-       }
-
-      /*
-       POST: T is the leftmost right child of NODE which has no left child,
-
-       leftchild (LASTT) == T
-       */
-      key(*node) = key(*t);
-      *left_t = right_child (*t);
-    }
-}
-
-
-static SCM protect_tree_root;
-
-SCM
-ly_protect_scm (SCM s)
-{
-  ly_addto_bintree (&protect_tree_root, s);
-  return s;
-}
-
 SCM
-ly_unprotect_scm (SCM s)
-{
-  SCM *to_remove = ly_find_in_bintree (&protect_tree_root, s);
-
-  /*
-    this shouldn't happen, according to me. But it does.
-   */
-  if (*to_remove != SCM_EOL)
-    ly_remove_from_bintree (to_remove);
-  return s;
-}
-
-void
-ly_init_protection ()
+array_to_list (SCM *a , int l)
 {
-  protect_tree_root = scm_protect_object (ly_new_bintree_node(SCM_EOL));
-  key (protect_tree_root) = protect_tree_root;
-}
-
-
-int
-ly_count_elements (SCM tree)
-{
-  if (tree == SCM_EOL)
-    return 0;
-  else
-    return 1 + ly_count_elements (left_child (tree)) + ly_count_elements (right_child( tree));
-}
-
-int
-ly_tree_depth (SCM tree)
-{
-  if (tree == SCM_EOL)
-    return 0;
-  else
-    return 1 + (ly_tree_depth (left_child (tree)) >? ly_tree_depth (right_child(tree)));
-}
-
-void
-ly_print_bintree (SCM node)
-{
-#ifndef NPRINT
-  if (node == SCM_EOL)
-    return;
-  DOUT << "{val = " << key(node) << " \nleft = ";
-  ly_print_bintree (left_child (node));
-  DOUT << "\n right =";
-  ly_print_bintree (right_child (node));
-  DOUT << "}";
-#endif
-}
-
-
-struct Imbalance { int imbalance; int total; };
-
-Imbalance
-ly_calc_imbalance (SCM node)
-{
-  Imbalance t;
-  if (node == SCM_EOL)
+  SCM list = SCM_EOL;
+  for (int i= l; i--;  )
     {
-      t.imbalance = 0;
-      t.total = 0;
-      return t;
+      list =  gh_cons (a[i], list);
     }
-
-  Imbalance l = ly_calc_imbalance (left_child (node));
-  Imbalance r = ly_calc_imbalance (right_child (node));
-
-  t.total = l.total + r.total + 1;
-  int dif = l.total - r.total;
-  if (dif < 0)
-     dif = -dif;
-  t.imbalance = l.imbalance + r.imbalance + dif;
-  return t;
+  return list;
 }
+
index 606fa918b905f9d67063610dabccd48c0b557451..e269689cc896c64bc36bcab402048bed9c47aa1c 100644 (file)
@@ -55,11 +55,6 @@ Line_group_engraver_group::create_line_spanner ()
   staffline_p_->set_axes (Y_AXIS,Y_AXIS);
 }
 
-void
-Line_group_engraver_group::do_announces ()
-{
-  Engraver_group_engraver::do_announces ();
-}
 
 
 
index 4f6488648937c11686c3716bc2b64ac427454b17..a04237bd95fb13f47bcfad85b3b0829942abb86a 100644 (file)
@@ -92,7 +92,7 @@ Local_key_item::do_brew_molecule_p() const
   
  if (accidental_arr_.size()) 
     {
-      Box b(Interval (0, note_distance), Interval (0,0));
+      Box b(Interval (0, 0.6 * note_distance), Interval (0,0));
       Molecule m (lookup_l ()->fill (b));
       output->add_at_edge (X_AXIS, RIGHT, m, 0);
     }
@@ -108,6 +108,7 @@ Local_key_item::do_brew_molecule_p() const
 
       x_int.unite (x + support_items_[i]->extent (X_AXIS));
     }
+
   if (x_int.empty_b ())
     x_int = Interval(0,0);
   
index 42b78d69aff45999f900e72713891abc52d9880c..efe249977ae11803d51d15b45b52caa963de5f69 100644 (file)
@@ -9,8 +9,6 @@
 
   TODO
       Glissando
-
-      merge rulesym and filledbox.
 */
 
 #include <ctype.h>
 #include "atom.hh"
 #include "lily-guile.hh"
 
-SCM
-array_to_list (SCM *a , int l)
-{
-  SCM list = SCM_EOL;
-  for (int i= l; i--;  )
-    {
-      list =  gh_cons (a[i], list);
-    }
-  return list;
-}
-
 
 Lookup::Lookup ()
 {
@@ -56,24 +43,37 @@ Lookup::Lookup (Lookup const& s)
 }
 
 
+/*
+  build a ledger line for small pieces.
+ */
 Molecule
 Lookup::ledger_line (Interval xwid) const
 {
-  Molecule end (afm_find ("noteheads-ledgerending"));
-  Interval ed = end.dim_[X_AXIS];
-  xwid = Interval (xwid[LEFT] - ed[LEFT],
-                  xwid[RIGHT] - ed[RIGHT]);
-  Molecule mid = filledbox (Box (xwid, end.dim_[Y_AXIS]));
-  Molecule l (mid);
-
-  Molecule e2 = end;
-  Molecule e1 = end;
-  e1.translate_axis (xwid[RIGHT], X_AXIS);
-  e2.translate_axis (xwid[LEFT], X_AXIS);
-
-  l.add_molecule (e1);
-  l.add_molecule (e2);
-  return l;
+  Drul_array<Molecule> endings;
+  endings[LEFT] = afm_find ("noteheads-ledgerending");
+  Molecule * e = &endings[LEFT];
+  endings[RIGHT] = *e;
+  
+  Real thick = e->dim_[Y_AXIS].length();
+  Real len = e->dim_[X_AXIS].length () - thick;
+
+  Molecule total;
+  Direction d = LEFT;
+  do {
+    endings[d].translate_axis (xwid[d] - endings[d].dim_[X_AXIS][d], X_AXIS);
+    total.add_molecule (endings[d]);    
+  } while ((flip(&d)) != LEFT);
+
+  Real xpos = xwid [LEFT] + len;
+
+  while (xpos + len + thick /2 <= xwid[RIGHT])
+    {
+      e->translate_axis (len, X_AXIS);
+      total.add_molecule (*e);
+      xpos += len;
+    }
+
+  return total;
 }
 
 
@@ -318,22 +318,6 @@ Lookup::rest (int j, bool o, String style) const
   return afm_find (String ("rests-") + to_str (j) + (o ? "o" : "") + style);
 }
 
-Molecule
-Lookup::rule_symbol (Real height, Real width) const
-{
-  Atom at  (gh_list (rulesym_scm_sym,
-                    gh_double2scm (height),
-                    gh_double2scm (width),
-                    SCM_UNDEFINED));
-
-  Molecule m;
-  m.dim_.x () = Interval (0, width);
-  m.dim_.y () = Interval (0, height);
-  
-  m.add_atom (&at);
-
-  return m;
-}
 
 Molecule
 Lookup::special_time_signature (String s, int n, int d) const
@@ -612,4 +596,14 @@ Lookup::volta (Real w, bool last_b) const
   return m;
 }
 
+Molecule
+Lookup::accordion (SCM s) const
+{
+  Molecule m;
 
+  /*
+    Tom: go ahead.
+   */
+  return m;
+  
+}
index 6e979b68b9cb0fe734cb8216bf74764c971213ba..4e6cd44f62e3b24e8c0a62e1ef12db82c08c8b44 100644 (file)
@@ -61,7 +61,7 @@ Molecule::translate_axis (Real x,Axis a)
   for (CELLTYPE  ptr = atom_list_; ptr != MOL_EOL; ptr = NEXT_CELL(ptr))
     UNBOX_ATOM (UNBOX_PTR(ptr))->off_[a] += x;
 
-  if (!empty_b ())
+  if (!dim_[a].empty_b ())
     dim_[a] += x;
 }
 
@@ -165,7 +165,7 @@ Molecule::add_at_edge (Axis a, Direction d, Molecule const &m, Real padding)
   Real my_extent= empty_b () ? 0.0 : dim_[a][d];
   Interval i (m.extent ()[a]);
   if (i.empty_b ())
-    warning ("Molecule::add_at_edge: adding empty molecule. [PROGRAMMING ERROR]");
+    programming_error ("Molecule::add_at_edge: adding empty molecule.");
   
   Real his_extent = i[-d];
   Real offset = my_extent -  his_extent;
index 3741d74f08d31b8673103d2f49fc5b6fc43d0c70..b9c5e74c24507cc160b1d4662f9a1cac1434d9fb 100644 (file)
@@ -22,6 +22,7 @@
 #include "time-scaled-music.hh"
 #include "repeated-music.hh"
 #include "repeated-music-iterator.hh"
+#include "context-specced-music.hh"
 
 void
 Music_iterator::do_print() const
@@ -129,10 +130,11 @@ Music_iterator::static_get_iterator_p (Music const *m, Translator_group *report_
     assert (0);
 
   p->music_l_ = m;
-  if (m->translator_type_str_.length_i ())
+
+  if (Context_specced_music const * csm =dynamic_cast<Context_specced_music const*>(m))
     {
       Translator_group* a =report_l->
-       find_create_translator_l (m->translator_type_str_, m->translator_id_str_);
+       find_create_translator_l (csm->translator_type_str_, csm->translator_id_str_);
       p->set_translator (a);
     }
 
index 1c2deb27977c3901025fe378338275fb4ecee69e..c7bd75a435ecec314b057217db7210ab4ee8c09d 100644 (file)
@@ -39,8 +39,10 @@ Music::print() const
   if (! check_debug)
     return ;
   DOUT << classname(this) << "{";
+  /*
   if  (translator_type_str_.length_i ())
     DOUT << translator_type_str_ << " = " << translator_id_str_;
+  */
   do_print();
   DOUT << "}\n";
 #endif
index 309602f469d1320723852103a032c82647aae85d..4d5a2a024c0bc0565bdadaa64f07521eb37829a9 100644 (file)
@@ -31,6 +31,8 @@ static Keyword_ent the_key_tab[]={
   {"clef", CLEF},
   {"cm", CM_T},
   {"consists", CONSISTS},
+  {"consistsend", CONSISTSEND},
+  {"context", CONTEXT},
   {"duration", DURATION},
   {"font", FONT},
   {"grouping", GROUPING},
@@ -65,8 +67,8 @@ static Keyword_ent the_key_tab[]={
   {"spandynamic", SPANDYNAMIC},
   {"tempo", TEMPO},
   {"translator", TRANSLATOR},
-  {"type", TYPE},
   {"transpose", TRANSPOSE},
+  {"type", TYPE},
   {"version", VERSION},
   {0,0}
 };
index 19f82c1b1f1c6e05b410153ae20c2b1a3a639f81..8378a68f7a069c69a02f8f278c22697877d46007 100644 (file)
@@ -17,7 +17,7 @@ Paper_column::add_rod (Paper_column * p, Real d)
   
   if (!dir)
     {
-      warning ("Must set minimum distance between differing columns. [PROGRAMMING ERROR]");
+      warning ("Must set minimum distance between differing columns.");
       return;
     }
   
index abd0ed5bf0a67dd420e4f00e8292331da8370db5..a3194757f2e7ce707fb762cd7f01439e64931cd4 100644 (file)
@@ -52,7 +52,7 @@ Paper_score::typeset_element (Score_element * elem_p)
 {
   elem_p_arr_.push (elem_p);
   elem_p->pscore_l_ = this;
-  elem_p->add_processing ();
+
 
   SCM p =  elem_p->remove_elt_property (break_helper_only_scm_sym);
   if (p != SCM_BOOL_F)
@@ -65,7 +65,6 @@ Paper_score::typeset_unbroken_spanner (Spanner*span_p)
 {
   span_p_arr_.push (span_p);
   span_p->pscore_l_=this;
-  span_p->add_processing ();
 
   SCM p =  span_p->remove_elt_property (break_helper_only_scm_sym);
   if (p != SCM_BOOL_F)
index 308c07734d1b784cf41961abbb4df748c5d59c0c..4337ad92d64ca226b68347a567a4629fc882c38b 100644 (file)
@@ -111,7 +111,7 @@ Paper_outputter::output_molecule (Molecule const*m, Offset o, char const *nm)
 
       if (a_off.length () > 100 CM)
        {
-         warning (_f("Improbable dimension for object type `%s\'", nm));
+         warning (_f("Improbable offset for object type `%s\'", nm));
          Axis a  =X_AXIS;
          while (a < NO_AXES)
            {
index 300834a24872042779e92c7028826121cb59a738..64850abe4f1a101d63053ec9c72c0f6fd723fb4c 100644 (file)
@@ -29,7 +29,7 @@
 #include "command-request.hh"
 #include "musical-request.hh"
 #include "my-lily-parser.hh"
-
+#include "context-specced-music.hh"
 #include "translator-group.hh"
 #include "score.hh"
 #include "music-list.hh"
@@ -44,8 +44,8 @@
 #include "repeated-music.hh"
 
 // mmm
-Mudela_version oldest_version ("1.0.14");
-Mudela_version version ("1.0.15");
+Mudela_version oldest_version ("1.0.16");
+Mudela_version version ("1.0.16");
 
 
 // needed for bison.simple's malloc() and free()
@@ -148,6 +148,7 @@ yylex (YYSTYPE *s,  void * v_l)
 %token CLEF
 %token CM_T
 %token CONSISTS
+%token CONSISTSEND
 %token DURATION
 %token EXTENDER
 %token FONT
@@ -186,6 +187,7 @@ yylex (YYSTYPE *s,  void * v_l)
 %token TRANSLATOR
 %token TRANSPOSE
 %token TYPE
+%token CONTEXT
 %token VERSION
 
 /* escaped */
@@ -481,6 +483,10 @@ translator_spec_body:
                dynamic_cast<Translator_group*> ($$)-> set_element (*$3, true);
                delete $3;
        }
+       | translator_spec_body CONSISTSEND STRING semicolon {
+               dynamic_cast<Translator_group*> ($$)-> set_element (*$3, true);
+               delete $3;
+       }
        | translator_spec_body ACCEPTS STRING semicolon {
                dynamic_cast<Translator_group*> ($$)-> set_acceptor (*$3, true);
                delete $3;
@@ -754,17 +760,24 @@ Simple_music:
 
 
 Composite_music:
-       TYPE STRING Music       {
-               $$ = $3;
-               $$->translator_type_str_ = *$2;
+       CONTEXT STRING Music    {
+               Context_specced_music *csm =  new Context_specced_music ($3);
+
+               csm->translator_type_str_ = *$2;
+               csm->translator_id_str_ = "";
                delete $2;
+
+               $$ = csm;
        }
-       | TYPE STRING '=' STRING Music {
-               $$ = $5;
-               $$->translator_type_str_ = *$2;
-               $$->translator_id_str_ = *$4;
+       | CONTEXT STRING '=' STRING Music {
+               Context_specced_music *csm =  new Context_specced_music ($5);
+
+               csm->translator_type_str_ = *$2;
+               csm->translator_id_str_ = *$4;
                delete $2;
                delete $4;
+
+               $$ = csm;
        }
        | TIMES {
                THIS->remember_spot ();
@@ -833,11 +846,16 @@ translator_change:
 property_def:
        PROPERTY STRING '.' STRING '=' scalar   {
                Translation_property *t = new Translation_property;
-               t-> translator_type_str_ = *$2;
+
                t-> var_str_ = *$4;
                t-> value_ = *$6;
-               $$ = t;
+
+               Context_specced_music *csm = new Context_specced_music (t);
+               $$ = csm;
                $$->set_spot (THIS->here_input ());
+
+               csm-> translator_type_str_ = *$2;
+
                delete $2;
                delete $4;
                delete $6;
diff --git a/lily/scm-bintree.cc b/lily/scm-bintree.cc
new file mode 100644 (file)
index 0000000..7477c1b
--- /dev/null
@@ -0,0 +1,212 @@
+/*   
+  scm-bintree.cc --  implement binary trees, an experiment in GC.
+  
+  source file of the GNU LilyPond music typesetter
+  
+  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  
+ */
+
+#include <stdio.h>
+#include "libc-extension.hh"
+#include "lily-guile.hh"
+#include "main.hh"
+#include "debug.hh"
+
+
+
+
+/*
+  Layout of nodes:
+
+  (key . (left_child . right_child))
+
+  SCM_EOL is the nil-pointer (should use SCM_NIMP() ?)
+ */
+
+#define left_child(s) SCM_CADR((s))
+#define right_child(s) SCM_CDDR((s))
+#define key(s) SCM_CAR((s))
+
+/*
+  Garble pointers, to prevent unbalanced tree due to ordered inserts.
+ */
+
+unsigned int
+munge (SCM s) 
+{
+  const int SHIFT = 18;
+  return (unsigned int)(s << (32-SHIFT) | s >> SHIFT );
+}
+
+SCM
+ly_new_bintree_node (SCM val)
+{
+  return gh_cons (val, gh_cons (SCM_EOL, SCM_EOL));
+}
+
+
+/*
+  add VAL to TREE. TREE must be non-nil
+ */
+void
+ly_addto_bintree (SCM *tree, SCM val)
+{
+  while(*tree != SCM_EOL)
+    {
+      if (munge (val) <= munge (key (*tree)))
+       tree = &left_child (*tree);
+      else
+       tree = &right_child (*tree);
+    }
+
+  *tree = ly_new_bintree_node (val);
+}
+
+
+/*
+  find the address of a node in the tree represented by *NODE with key VAL
+ */
+SCM  *
+ly_find_in_bintree (SCM *node, SCM val)
+{
+  while (*node != SCM_EOL)
+    {
+      if (munge (val) < munge (key(*node) ))
+       node = &left_child(*node);
+      else if (munge (val) > munge (key (*node)))
+       node = &right_child (*node);
+      else
+       return node;
+    }
+  return node;
+}
+
+void
+ly_remove_from_bintree (SCM *node)
+{
+  SCM r = right_child  (*node);
+  SCM l = left_child (*node);
+  
+  if (r == SCM_EOL)
+    {
+      *node = l;
+    }
+  else if (l == SCM_EOL)
+    {
+      *node = r;
+    }
+  else
+    {
+      /*deleting from binary trees.  See Knuth's TAOCP.
+       */
+      SCM *t = node;
+      SCM *left_t = &left_child (*t);
+
+      /*
+       INV:  LEFT_T  is the left child of T
+       */
+      while (*left_t != SCM_EOL)
+       {
+         t = left_t;
+         left_t = &left_child (*t);
+       }
+
+      /*
+       POST: T is the leftmost right child of NODE which has no left child,
+
+       leftchild (LASTT) == T
+       */
+      key(*node) = key(*t);
+      *left_t = right_child (*t);
+    }
+}
+
+
+static SCM protect_tree_root;
+
+SCM
+ly_protect_scm (SCM s)
+{
+  ly_addto_bintree (&protect_tree_root, s);
+  return s;
+}
+
+SCM
+ly_unprotect_scm (SCM s)
+{
+  SCM *to_remove = ly_find_in_bintree (&protect_tree_root, s);
+
+  /*
+    this shouldn't happen, according to me. But it does.
+   */
+  if (*to_remove != SCM_EOL)
+    ly_remove_from_bintree (to_remove);
+  return s;
+}
+
+void
+ly_init_protection ()
+{
+  protect_tree_root = scm_protect_object (ly_new_bintree_node(SCM_EOL));
+  key (protect_tree_root) = protect_tree_root;
+}
+
+
+int
+ly_count_elements (SCM tree)
+{
+  if (tree == SCM_EOL)
+    return 0;
+  else
+    return 1 + ly_count_elements (left_child (tree)) + ly_count_elements (right_child( tree));
+}
+
+int
+ly_tree_depth (SCM tree)
+{
+  if (tree == SCM_EOL)
+    return 0;
+  else
+    return 1 + (ly_tree_depth (left_child (tree)) >? ly_tree_depth (right_child(tree)));
+}
+
+void
+ly_print_bintree (SCM node)
+{
+#ifndef NPRINT
+  if (node == SCM_EOL)
+    return;
+  DOUT << "{val = " << key(node) << " \nleft = ";
+  ly_print_bintree (left_child (node));
+  DOUT << "\n right =";
+  ly_print_bintree (right_child (node));
+  DOUT << "}";
+#endif
+}
+
+
+struct Imbalance { int imbalance; int total; };
+
+Imbalance
+ly_calc_imbalance (SCM node)
+{
+  Imbalance t;
+  if (node == SCM_EOL)
+    {
+      t.imbalance = 0;
+      t.total = 0;
+      return t;
+    }
+
+  Imbalance l = ly_calc_imbalance (left_child (node));
+  Imbalance r = ly_calc_imbalance (right_child (node));
+
+  t.total = l.total + r.total + 1;
+  int dif = l.total - r.total;
+  if (dif < 0)
+     dif = -dif;
+  t.imbalance = l.imbalance + r.imbalance + dif;
+  return t;
+}
+
index f2db1d0f1e6987ef802def49d401ff6ac2aa5f49..90fb553a55850b2b1d1a2390722e32dd07210ca3 100644 (file)
@@ -83,6 +83,11 @@ Score_engraver::announce_element (Score_element_info info)
 {
   announce_info_arr_.push (info);
   info.origin_grav_l_arr_.push (this);
+
+  if (Spanner *s = dynamic_cast <Spanner *> (info.elem_l_))
+    pscore_p_->typeset_unbroken_spanner (s);
+  else if (Item *i = dynamic_cast<Item*> (info.elem_l_))
+    pscore_p_->typeset_element (i);
 }
 
 /* All elements are propagated to the top upon announcement. If
@@ -111,10 +116,9 @@ Score_engraver::typeset_all()
   for  (int i =0; i < elem_p_arr_.size(); i++) 
     {
       Score_element * elem_p = elem_p_arr_[i];
+      elem_p->add_processing ();
       if (Spanner *s = dynamic_cast <Spanner *> (elem_p))
        {
-         pscore_p_->typeset_unbroken_spanner (s);
-
            /*
            do something sensible if spanner not 
            spanned on 2 items.
@@ -131,7 +135,7 @@ Score_engraver::typeset_all()
       else 
        {
          Item *item_p = dynamic_cast <Item *> (elem_p);
-         pscore_p_->typeset_element (item_p);
+
          if (!item_p->parent_l (X_AXIS))
            {
              bool br = (item_p->remove_elt_property (breakable_scm_sym) != SCM_BOOL_F);
index b83e5eaee85f38ecf78ef96af66a279baeeb732a..45fd7cae7bbbdd242f85c84bcdfd380ed00e6cf4 100644 (file)
@@ -32,8 +32,11 @@ Simultaneous_music_iterator::construct_children()
       Music_iterator * mi = get_iterator_p (i->car_);
       if (mi->ok()) 
        {
+#if 0
          if  (sim->translator_type_str_.empty_b ())
            set_translator (mi->report_to_l()->ancestor_l (0)); // huh?
+#endif
+
          children_p_list_.append (new Killing_cons<Music_iterator> (mi,0));
        }
       else
index 789f0aac8c765140280feef29f726a0d6f29315f..5d04e5fae87775741b1b40c4a73ee96348e75e19 100644 (file)
@@ -138,7 +138,7 @@ Slur::do_post_processing ()
    [OSU]: slur and tie placement
 
    slurs:
-   * x = centre of head (upside-down: inner raakpunt stem) - d * gap
+   * x = center of head (upside-down: inner raakpunt stem) - d * gap
 
    * y = length < 5ss : horizontal raakpunt + d * 0.25 ss
      y = length >= 5ss : y next interline - d * 0.25 ss
index ce66cb52651c700ef70d4d0da0ce380126f3b018..2d352365f62fa3f82a015421a8e96e240a2e5bd3 100644 (file)
@@ -26,7 +26,7 @@ Staff_margin_engraver::Staff_margin_engraver ()
 /*
     TODO
 
-    should be able to set whole paragraph (multiple lines, centre) to
+    should be able to set whole paragraph (multiple lines, center) to
     left (right?) of staff, e.g.:
                     ______
                    |_______
@@ -54,6 +54,12 @@ Staff_margin_engraver::acknowledge_element (Score_element_info inf)
   text_p_->text_str_ = long_str;
   staff_side_p_->dir_ = LEFT;
   Bar_script_engraver::do_acknowledge_element (i);
+
+  /*
+    UGH. ignores font size settings.
+   */
+  Interval iv(text_p_->extent (Y_AXIS));
+  text_p_->translate_axis (- iv.center (),  Y_AXIS);
 }
 
 
index 351b747dee52cd72c669090efb59fe6604687f5d..2065ef5d42a9e08b71d1761af5b8b2324221b449 100644 (file)
@@ -42,8 +42,10 @@ Staff_symbol::do_brew_molecule_p() const
 {
   Real w = extent (X_AXIS).length ();
   Paper_def * p = paper_l ();
-  Molecule rule  = lookup_l ()->rule_symbol (p->get_var ("rulethickness"),
-                                            w);
+  Real t = p->get_var ("rulethickness");
+  Molecule rule  = lookup_l ()->filledbox (Box (Interval (0,w),
+                                               Interval (-t/2, t/2)));
+
   Real height = (no_lines_i_-1) * staff_line_leading_f_ /2;
   Molecule * m = new Molecule;
   for (int i=0; i < no_lines_i_; i++)
index 009f7b9e95620f40e149f7a2f1d1e4595913c0be..bd451be2b91a599d1dc463a12722abc9f934f6c8 100644 (file)
@@ -19,6 +19,7 @@ Translator_group::Translator_group (Translator_group const&s)
   : Translator(s)
 {
   consists_str_arr_ = s.consists_str_arr_;
+  consists_end_str_arr_ = s.consists_end_str_arr_;
   accepts_str_arr_ = s.accepts_str_arr_;
   iterator_count_ =0;
   properties_dict_ = s.properties_dict_;
@@ -74,6 +75,19 @@ Translator_group::set_acceptor (String accepts, bool add)
        accepts_str_arr_.del (i);
 }
 
+void
+Translator_group::add_last_element (String s)
+{
+  if (!get_translator_l (s))
+    error ("Program has no such type");
+
+  for (int i=consists_end_str_arr_.size (); i--; )
+    if (consists_end_str_arr_[i] == s)
+      warning (_f("Already contains a `%s\'", s));
+      
+  consists_end_str_arr_.push (s);
+}
+
 void
 Translator_group::set_element (String s, bool add)
 {
@@ -89,11 +103,15 @@ Translator_group::set_element (String s, bool add)
       consists_str_arr_.push (s);
     }
   else
-    for (int i=consists_str_arr_.size (); i--; )
-      if (consists_str_arr_[i] == s)
-       consists_str_arr_.del (i);
+    {
+      for (int i=consists_str_arr_.size (); i--; )
+       if (consists_str_arr_[i] == s)
+         consists_str_arr_.del (i);
+      for (int i=consists_end_str_arr_.size (); i--; )
+       if (consists_end_str_arr_[i] == s)
+         consists_end_str_arr_.del (i);
+    }
 }
-
 bool
 Translator_group::removable_b() const
 {
@@ -410,12 +428,22 @@ Translator_group::do_add_processing ()
 {
    for (int i=0; i < consists_str_arr_.size(); i++)
     {
-      Translator * t = output_def_l ()->find_translator_l (consists_str_arr_[i]);
+      String s = consists_str_arr_[i];
+      Translator * t = output_def_l ()->find_translator_l (s);
       if (!t)
-       warning (_f ("can't find `%s\'", consists_str_arr_[i]));
+       warning (_f ("can't find `%s\'", s));
       else
        add_translator (t->clone ());
     }
+   for (int i=0; i-- < consists_end_str_arr_.size (); i++)
+     {
+       String s = consists_end_str_arr_[i];
+       Translator * t = output_def_l ()->find_translator_l (s);
+       if (!t)
+        warning (_f ("can't find `%s\'", s));
+       else
+        add_translator (t->clone ());
+    }
 }
 
 Scalar
@@ -428,10 +456,12 @@ Translator_group::get_property (String id,
        *where_l = (Translator_group*) this; // ugh
       return properties_dict_[id];
     }
-  
+
+#if 0
   if (daddy_trans_l_)
     return daddy_trans_l_->get_property (id, where_l);
-
+#endif
+  
   if (where_l)
     *where_l = 0;
   return "";
index 036cb8d5d82ccebb21cd67a618979002209eb141..69f29785205cb76ce65f48176fac7c1fb2db73ff 100644 (file)
@@ -5,7 +5,8 @@
 
   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
-
+#include "translator-group.hh"
+#include "axis-group-engraver.hh"
 #include "p-col.hh"
 #include "vertical-align-engraver.hh"
 #include "axis-align-spanner.hh"
@@ -52,12 +53,21 @@ Vertical_align_engraver::do_removal_processing()
   valign_p_ =0;
 }
 
+
+bool
+Vertical_align_engraver::qualifies_b (Score_element_info i) const
+{
+  Translator * t =   i.origin_grav_l_arr_[0];
+  int sz = i.origin_grav_l_arr_.size()  ;
+
+  return (sz == 1 && dynamic_cast<Translator_group*> (t))
+    || (sz == 2 && dynamic_cast<Axis_group_engraver*> (t));
+}
+
 void
 Vertical_align_engraver::acknowledge_element (Score_element_info i)
 {
-  if (i.origin_grav_l_arr_.size() == 1 &&
-      dynamic_cast<Axis_group_spanner *> (i.elem_l_)
-      && !i.elem_l_->parent_l (Y_AXIS))
+  if (qualifies_b (i))
     {
       valign_p_->add_element (i.elem_l_);
     }
index 46fd731997cb89dcbbddf69c9a38330d5b9035b4..68c497d4ee3a553564f6ff0dbf464a1be8ab5cf8 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.0.14";
+\version "1.0.16";
 
 
 \include "declarations.ly"
index 7cb2e6b12b27875cda6b237b864e179b4c5120e3..ce8bcabc70c2cc546a8afc11f309e5a31a6e5b59 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.0.14";
+\version "1.0.16";
 
 
 \include "declarations.ly";
index 72be0acd364f7b467bee6ef0f7a93dec4f899015..08b7fbc43a1e6c8f272cfe43db455efb75b22ec3 100644 (file)
@@ -1,7 +1,7 @@
 % Toplevel initialisation file. 
        
 
-\version "1.0.14";
+\version "1.0.16";
 
 
 \include "declarations.ly"
index 3cebe3647c46b78927de3910854035a1f929e891..48a1303fdea7d1fdc38cd0dbe208f817b4702109 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.0.14";
+\version "1.0.16";
 
 
 \include "declarations.ly"
index 6bfa8744e7399ce5c52d5b4b5f9542eb0dfb2b6d..123d8fb627272caf7d83fe340a9c569aeac4b9a4 100644 (file)
@@ -3,20 +3,11 @@
 %
 
 StaffContext=\translator {
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
        \name Staff ;
        barAuto = "1";
        voltaVisibility = "1";
 
-%{
-       The Hara_kiri_line_group_engraver is a Line_group_engraver 
-       that will not typeset an empty line of staff, i.e., a line 
-       of staff with only rests in it.  This is needed for orchestral
-       scores.  Comment-out Line_group_engraver_group, and uncomment 
-       Hara_kiri_line_group_engraver.
-%}
-%      \type "Hara_kiri_line_group_engraver";
-
        \consists "Multi_measure_rest_engraver";
        \consists "Repeat_engraver";
        \consists "Bar_engraver";
@@ -27,6 +18,7 @@ StaffContext=\translator {
        \consists "Staff_symbol_engraver";
        \consists "Collision_engraver";
        \consists "Rest_collision_engraver";
+       \consistsend "Axis_group_engraver";
 
 %{
        Uncomment to get bar numbers on single staff systems:
@@ -43,18 +35,20 @@ StaffContext=\translator {
 %{
        \consists "Bar_number_engraver";
 %}
+
 %{
        The Staff_margin_engraver puts the name of the instrument
        (\property Staff.instrument; Staff.instr for subsequent lines)
        to the left of a staff.
+%}
+%{
+       \consists "Staff_margin_engraver";
 %}
        defaultClef = treble;
 
        marginBreakPriority = "-5";
 
-%{
-       \consists "Staff_margin_engraver";
-%}
+
        \consists "Separating_line_group_engraver";
          
        \accepts "Voice";
@@ -63,11 +57,12 @@ StaffContext=\translator {
 
 \translator{\StaffContext }
 \translator {
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
        \name ChoirStaff;
        \consists "Vertical_align_engraver";
        alignmentReference = \center;   
        \consists "Staff_group_bar_engraver";
+       \consistsend "Axis_group_engraver";
        \accepts "Staff";
        \accepts "RhythmicStaff";
        \accepts "GrandStaff";
@@ -79,7 +74,7 @@ StaffContext=\translator {
 
 
 RhythmicStaffContext=\translator{
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
        numberOfStaffLines  = "1";
        \consists "Pitch_squash_engraver";
        \consists "Separating_line_group_engraver";     
@@ -89,6 +84,7 @@ RhythmicStaffContext=\translator{
        \consists "Bar_engraver";
        \consists "Time_signature_engraver";
        \consists "Staff_symbol_engraver";
+       \consistsend "Axis_group_engraver";
        \accepts "Voice";
 };
 \translator{\RhythmicStaffContext}
@@ -123,7 +119,7 @@ VoiceContext = \translator {
 \translator {\VoiceContext}
 
 GrandStaffContext=\translator{
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
        \name GrandStaff;
        \consists "Span_bar_engraver";
        \consists "Vertical_align_engraver";
@@ -131,20 +127,21 @@ GrandStaffContext=\translator{
        alignmentReference = \center;
        minVerticalAlign = 1.5*\staffheight;
 
+       \consistsend "Axis_group_engraver";
        \accepts "Staff";
+
 };
 \translator{\GrandStaffContext}
-\translator{\GrandStaffContext
+
+PianoStaffContext = \translator{\GrandStaffContext
        minVerticalAlign = 3.0*\staffheight;
        maxVerticalAlign = 3.0*\staffheight;
 
        \name "PianoStaff";
        
-}
-
+};
+\translator{\PianoStaffContext}
 StaffGroupContext= \translator {
-%      \type "Hara_kiri_line_group_engraver";
-%      \type "Line_group_engraver_group";
        \type "Engraver_group_engraver";
        \consists "Span_bar_engraver";
        \consists "Vertical_align_engraver";
@@ -159,11 +156,14 @@ StaffGroupContext= \translator {
        
        \accepts "Lyrics";
        \accepts "ChordNames";
+       \consistsend "Axis_group_engraver";
+
 };
 \translator { \StaffGroupContext }
 
 \translator{
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
+       \consistsend "Axis_group_engraver";
 
        \name LyricVoice ;
        \consists "Separating_line_group_engraver";
@@ -173,15 +173,18 @@ StaffGroupContext= \translator {
 }
 
 \translator {
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
        \name Lyrics;
        \consists "Vertical_align_engraver";
+       \consistsend "Axis_group_engraver";
+       
        \accepts "LyricVoice";
 }
 
 \translator{
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
 
+       \consistsend "Axis_group_engraver";
        \name ChordNameVoice ;
        \consists "Separating_line_group_engraver";
        \consists "Chord_name_engraver";
@@ -189,11 +192,12 @@ StaffGroupContext= \translator {
 
 
 ChordNameContext = \translator {
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
        \name ChordNames;
        \consists "Vertical_align_engraver";
        \accepts "ChordNameVoice";
-};
+       \consistsend "Axis_group_engraver";
+       };
 \translator { \ChordNameContext }
 
 
@@ -202,7 +206,6 @@ ScoreWithNumbers = \translator {
 
        % uncomment to bar numbers on a whole system.
        \consists "Bar_number_engraver";
-
 };
 
 StupidScore = \translator {
@@ -219,27 +222,12 @@ BarNumberingStaffContext = \translator {
        marginBreakPriority = "-4";
        \consists "Mark_engraver";
        \consists "Bar_number_engraver";
-
 };
 
 HaraKiriStaffContext = \translator {
-       \type "Hara_kiri_line_group_engraver";
-       \name Staff;
-       barColumnPriority = "0";
-       marginBreakPriority = "-4";
-
-       \consists "Repeat_engraver";
-       \consists "Bar_engraver";
-       \consists "Clef_engraver";
-       \consists "Key_engraver";
-       \consists "Time_signature_engraver";
-       \consists "Local_key_engraver";
-       \consists "Staff_symbol_engraver";
-       \consists "Collision_engraver";
-       \consists "Rest_collision_engraver";
-       \consists "Staff_margin_engraver";
-       \consists "Separating_line_group_engraver";
-         
+       \StaffContext
+       \remove "Axis_group_engraver";
+       \consistsend "Hara_kiri_engraver";        
        \accepts "Voice";
 };
 
@@ -251,13 +239,11 @@ OrchestralPartStaffContext = \translator {
        \consists "Bar_number_engraver";
 };
 
-
 ScoreContext = \translator {
        \type Score_engraver;
        \name Score;
 
        \consists "Timing_engraver";
-
        \consists "Span_score_bar_engraver";
        \consists "Score_priority_engraver";
        \consists "Spacing_engraver";
@@ -282,8 +268,6 @@ OrchestralScoreContext= \translator {
 
        barScriptPadding = "2.0";       % dimension \pt
        markScriptPadding = "4.0";
-       
-
 
        \consists "Bar_number_engraver";
        \consists "Mark_engraver";
index 3ddb7de69a2efd6d65fb903b39a1854dc1c4e94c..6715f97705c611f3c725407561094a9675c7a976 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.0.14";
+\version "1.0.16";
 
 
 \include "declarations.ly"
index cacdd4b865f371b14f1d52a923a99f0f99e9bd6c..9714db87a04e8f0f9062d573ca43cd21081b69b8 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.0.14";
+\version "1.0.15";
 
 
 \include "declarations.ly"
index c01291c340111c291a09591602353e68bf8e8790..d4b1857f6bf44ac201a21925e87cc8f0c1a404d1 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.0.14";
+\version "1.0.16";
 
 
 \include "declarations.ly";
index e2ebe1905dffd6d611ef7924de2d51218cb031b6..3b7c183d705bc5901feec169414f4785cb40977e 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.0.14";
+\version "1.0.15";
 
 
 \include "declarations.ly"
index 37f9b0fabcda8240db2c9f18be9922b5dce0a3c8..2e1f00139dc494a80023e47bf5b51922ce795089 100644 (file)
@@ -2,7 +2,7 @@
 
 
 
-\version "1.0.14";
+\version "1.0.16";
 
 paper_sixteen = \paper {
        staffheight = 16.0\pt;
index f26068d0e699a0ae4edbcebc6e26815beeaff8fb..92662e2ad45e048a613bb70d9a055a51e9b8f4af 100644 (file)
@@ -1,7 +1,7 @@
 % paper20.ly
 
 
-\version "1.0.14";
+\version "1.0.16";
 
 paper_twenty = \paper {
        staffheight = 20.0\pt;
index 2c7bcbae1dcbf908e986dfa781d6559779708d19..9d98c77b4a18e9c55edae85a32f59d040c5bde95 100644 (file)
@@ -103,8 +103,7 @@ chordInversion              0/1     Find and display chord with inversion?
 %hmm, (these) abbrevs suck, imo
 % i guess they're meant as some form of doco
 % that's what i use them for...
-stemup = 
-       \property Voice.ydirection = \up 
+stemup =        \property Voice.ydirection = \up 
 stemboth=      \property Voice.ydirection = \center
 stemdown =     \property Voice.ydirection = \down
 
@@ -128,24 +127,24 @@ onevoice = {
        \stemboth \shiftoff     
 }
 
-voiceone = {   
-       \type Voice = one 
+voiceone = 
+       \context Voice = one  {
        \stemup
 }
 
-voicetwo = {   
-       \type Voice = two
+voicetwo = 
+       \context Voice = two {
        \stemdown
 }
 
-voicethree = {         
-       \type Voice = three
+voicethree = 
+       \context Voice = three {
        \stemup
 
 }
 
-voicefour = {  
-       \type Voice = four
+voicefour = 
+       \context Voice = four {
        \stemdown
        \shifton
 }
@@ -179,6 +178,8 @@ stafffour = {
 }
 
 % ugh, cluttering global namespace...
+
+% ugh2. 
 none=0
 free=0
 normal=1
index 3ff6986bd862680992714cd9706c9ee3d47f7f5c..c96f3e588a74f29e015f6e28fa33abcefd5ad61c 100644 (file)
@@ -13,7 +13,10 @@ thumb = \script "thumb"
 accent = \script "accent"
 marcato = \script "marcato"
 staccatissimo = \script "staccatissimo"
-portato = \script "portato"
+
+% portato is indicated by slurred & dotted notes. Not really supported. 
+% portato = \script "portato"
+
 fermata = \script "fermata"
 stopped = \script "stopped"
 staccato = \script "staccato"
index 578e4cbf03e04d1745e4e7c23503e9dcd4808c89..fc2996b1ae427559211b4271c29656fce804ed62 100644 (file)
@@ -64,26 +64,26 @@ fet_endchar;
 % should use ledgerline thickness?
 %
 fet_beginchar( "whole rest (outside staff)", "0o", "outsidewholerest");
-       set_char_box(block_rest_y#, block_rest_x# + block_rest_y#, 
+       set_char_box(0, block_rest_x#,
                block_rest_y#, ledgerlinethickness#/2);
        block_rest;
        currentpicture := currentpicture shifted (0, - block_rest_y);
        pickup pencircle scaled ledgerlinethickness;
 
        y5 = y6 = 0;
-       lft x5 = - b
-       rt x6 = w;
+       lft x5 = - b - block_rest_y;
+       rt x6 = w + block_rest_y;
        draw z5 .. z6;
 fet_endchar;
 
 fet_beginchar("half rest (outside staff)", "1o", "outsidehalfrest");
-       set_char_box(block_rest_y#, block_rest_x#+ block_rest_y#, 
+       set_char_box(0, block_rest_x#,
                ledgerlinethickness#/2, block_rest_y#);
        block_rest;
        pickup pencircle scaled ledgerlinethickness;
        y5 = y6 = 0;
-       lft x5 = - b; 
-       rt x6 = w;
+       lft x5 = - b - block_rest_y ;  
+       rt x6 = w + block_rest_y;
        draw z5 .. z6;
 fet_endchar;
 
index 397628db30fb4db7d9c70cffbb8b5f7ab1210e9a..58be0e457691c537c7f27a104fdb7290da68c4ea 100644 (file)
@@ -37,11 +37,11 @@ if test = 0:
 else:
 %      input feta-bolletjes;   
 %      input feta-banier;
-%      input feta-eindelijk;
+       input feta-eindelijk;
 %      input feta-klef;
 %      input feta-toevallig;
 %      input feta-schrift;
 %      input feta-schrift;
 %      input feta-haak;
-       input feta-timesig;
+%      input feta-timesig;
 fi
index 0272371e23783ee66744139fe38ca0ded3d15fce..a0800cf0f001c9b7754c0eafa1e8b0e9721fdaf4 100644 (file)
@@ -11,7 +11,7 @@
 
 % cmchar "Italic letter f";
 % beginchar("f",max(1.5u#,stem#)+max(3.5u#,2flare#),asc_height#,desc_depth#);
-\"Dynamic letter f";
+"Dynamic letter f";
 beginchar(fcode ,max(1.5u#,stem#)+max(3.5u#,2flare#),asc_height#,desc_depth#);
 
 italcorr asc_height#*slant+.75u#;
index 7b59000b69c3260359507b979ba7f4628904ba07..73f1a8abc8f3b16a4b09aaa5c390fc77cd3577db 100644 (file)
@@ -11,9 +11,9 @@
 
 % cmchar "Italic letter m";
 % beginchar("m",15u#,x_height#,0);
-\"Dynamic letter m";
+\"Dynamic letter m\";
 % beginchar(incr num,15u#,x_height#,0);
-beginchar( 109 ,12u#,x_height#,0);
+beginchar( 109 ,12u#, asc_height#,0);
 
 italcorr 1/3x_height#*slant+.5hair#+.5u#;
 adjust_fit(if monospace:-1.5u#,-2u# else: 0,0 fi); pickup fine.nib;
index 54b42997fed2a11ee7175a07ea5550b815d31319..a1320364fee68978cbc510bc35adf13a13cd6f04 100644 (file)
@@ -11,7 +11,7 @@
 
 % cmchar "Italic letter p";
 % beginchar("p",9u#,x_height#,desc_depth#);
-\"Dynamic letter p";
+"Dynamic letter p";
 beginchar(112, 9u#,x_height#,desc_depth#);
 italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi;
 adjust_fit(0,0); pickup fine.nib;
index 2256905086a0a2b1afe5e2548988120d1b6bb524..b5a5e67a53f280f41cc4031fd5dd3f8c1a2bc5ad 100644 (file)
@@ -11,7 +11,7 @@
 
 % cmchar "Italic letter r";
 % beginchar("r",5.5u#+max(1.75u#,flare#),x_height#,0);
-\"Dynamic letter r";
+"Dynamic letter r";
 beginchar( 114 ,5.5u#+max(1.75u#,flare#),x_height#,0);
 
 italcorr x_height#*slant;
index b0d14d3316e6c068e4db353324f465accb11e16d..31bbe575c1dcbaecf40ef4bbf285de342e79cf91 100644 (file)
@@ -11,7 +11,7 @@
 
 % cmchar "Italic letter s";
 % beginchar("s",5.25u#+max(1.75u#,flare#),x_height#,0);
-\"Dynamic letter s";
+"Dynamic letter s";
 beginchar(115 ,5.25u#+max(1.75u#,flare#),x_height#,0);
 italcorr x_height#*slant-.5u#;
 adjust_fit(0,0); pickup fine.nib;
index 6565db77fdb5334e8b363e6b31c34718ec1926fe..e78e43ae173b172170fb1014275cd1e767387f1e 100644 (file)
 (defconst mudela-font-lock-keywords
   (let* ((keywords '("alternative" "repeat"
                     "accepts" "accidentals" "break" "bar" "cadenza" 
-                    "clef" "cm" "consists" "contains" "duration" 
+                    "clef" "cm" "consists" "consistsend" "contains" "duration" 
                     "absdynamic" "scmfile" "lyrics"
-                    "in" "translator" "type" "key" "maininput" "notes"
+                    "in" "translator" "context" "key" "maininput" "notes"
                     "musical_pitch" "time" "midi" "mm" "header"
                     "notenames" "octave" "output" "partial" "paper" "plet" "name"
                     "property" "pt" "shape" "relative" "include" "score"
                     "scm" "scmfile"
-                    "script" "skip"  "table" "times" "spandynamic" "symboltables"
-                    "tempo" "texid" "textstyle" "transpose" "version" "grouping"
+                    "script" "skip"  "table" "times" "spandynamic" "symboltables" "type"
+                    "tempo" "transpose" "version" "grouping"
                     ))
        (kwregex (mapconcat (lambda (x) (concat "\\\\" x))  keywords "\\|")))
 
index 14fac641d38a69c522175bc453ffc8601caac3c5..f3e771414e46eaf67753061a976a8f1be19cfb5f 100644 (file)
@@ -7,19 +7,19 @@ enteredby =    "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "violoncello.ly"
 \include "contrabasso.ly"
 
-$bassi = \type GrandStaff = bassi_group <
+$bassi = \context GrandStaff = bassi_group <
        \$violoncello_staff
        \$contrabasso_staff
 >
 
 
-$bassi = \type GrandStaff = bassi_group <
+$bassi = \context GrandStaff = bassi_group <
        \$violoncello_staff
        \$contrabasso_staff
 >
index c62420360fe99f1fac89ecd9486f64165d313031..a2c61557c70c0d9b620358d963a2119fff3edcd3 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "clarinetti.ly"
index ea3d37a1a57d6156ce931ef141a3e3188f21ca9b..2ba9a145a84f38c9cf9e43f5eb780b3cd28e7fcb 100644 (file)
@@ -9,19 +9,19 @@ copyright =    "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "clarinetto-1.ly"
 \include "clarinetto-2.ly"
 
-$clarinetti_staff = \type Staff = clarinetti <
+$clarinetti_staff = \context Staff = clarinetti <
        \property Staff.midi_instrument = "clarinet"
        \property Staff.instrument = "2 Clarinetti (B\\textflat)"
        \property Staff.instr = "Cl. (B\\textflat)"
        % urg: can't; only My_midi_lexer:<non-static> () parses pitch?
        %\property Staff.transposing = "bes"
        \property Staff.transposing = -3
-       \notes \type Voice=one < 
+       \notes \context Voice=one < 
                \time 4/4;
                \key F;
                \$clarinetto1
index 7aec16dcf7cb0387902daa6796bf9dc80532447c..29ecb9c21c87dd99832d74bd18d261808a1b8b4e 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 clarinetto1 = \notes \relative c {
        R1 *2 | d''4-.\ff r r2 | R1 *3 | e4-. r r2 | R1 *3 |
index 31738f0b254e9e8eea7ddf58a7c1e1ad6db8da18..23087514880e7e73f6a49fd6404f5d64cb908592 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 clarinetto2 = \notes \relative c { 
        R1*2 bes''4-.\ff r r2 | R1*3 | cis4-. r r2 | R1 *3 | 
index 91ae1e5763cb6a78d35e3e1602c8cc8b1e8ea13c..224f28298fc9e39303879dba7b4889a045600042 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "contrabasso.ly"
index 86ff955b71ebce2ac2939d1e11267b47ccca1a97..cb879ccfe281ec151dfac97b26b866fa3889b8d0 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 contrabasso = \notes \relative c {
 %      \translator Staff=violoncello
@@ -139,12 +139,12 @@ contrabasso = \notes \relative c {
        c4 r r2 |
 }
 
-$contrabasso_staff = \type Staff = contrabasso <
+$contrabasso_staff = \context Staff = contrabasso <
        \property Staff.midi_instrument = "contrabass"
        \property Staff.instrument = "Contrabasso"
        \property Staff.instr = "Cb."
        \clef "bass";
-       \notes \type Voice=one< 
+       \notes \context Voice=one< 
                \global
                \$contrabasso
        >
index 6ad5f01e98a2f7551f54a8a4e27a7722b5886cf6..5779e199c1d773c1c32d5b227041a6721bf540ac 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 
@@ -25,39 +25,39 @@ copyright =  "public domain";
 \include "violino-2.ly"
 \include "violoncello.ly"
 
-legno = \type StaffGroup = legno_group <
+legno = \context StaffGroup = legno_group <
        \$flauti_staff
        \$oboi_staff
        \$clarinetti_staff
        \$fagotti_staff
 >
 
-koper = \type StaffGroup = koper_group <
+koper = \context StaffGroup = koper_group <
        \$corni_staff
        \$trombe_staff
 >
 
-$timpani_g = \type StaffGroup = timpani_group <
+$timpani_g = \context StaffGroup = timpani_group <
        \$timpani_staff
-       \type Staff = urgtimpany \notes{ \skip 1*34; }
+       \context Staff = urgtimpany \notes{ \skip 1*34; }
 >
 
-$violini = \type GrandStaff = violini_group <
+$violini = \context GrandStaff = violini_group <
        \$violino1_staff
        \$violino2_staff
 >
 
-$violi = \type GrandStaff = violi_group <
+$violi = \context GrandStaff = violi_group <
        \$viola1_staff
        \$viola2_staff
 >
 
-$bassi = \type GrandStaff = bassi_group <
+$bassi = \context GrandStaff = bassi_group <
        \$violoncello_staff
        \$contrabasso_staff
 >
 
-strijkers = \type StaffGroup = strijkers_group <
+strijkers = \context StaffGroup = strijkers_group <
        \$violini
        \$violi
        \$bassi
index 6ee7f94c2484b2ff58251494593c157bd3c954d8..b2e537037ce9c79190d50a2ee8685d144d83073a 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "corni.ly"
index 35ae851869e272721a5ebe4eefc84a9e703d9467..3c418520e3dfc312561812225306ae081044266e 100644 (file)
@@ -9,19 +9,19 @@ copyright =    "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "corno-1.ly"
 \include "corno-2.ly"
 
-$corni_staff = \type Staff = corni <
+$corni_staff = \context Staff = corni <
        \property Staff.midi_instrument = "french horn"
        \property Staff.instrument = "2 Corni (E\\textflat)"
        \property Staff.instr = "Cor. (E\\textflat)"
        % urg: can't; only My_midi_lexer:<non-static> () parses pitch?
        %\property Staff.transposing = "es"
        \property Staff.transposing = 3
-       \notes \type Voice=corni < 
+       \notes \context Voice=corni < 
                \time 4/4;
                \$corno1
                \$corno2
index 7313cf617a1f72abc1ae7c31da3e108f6cfd00f5..573ba15ba6f086489b66aa45f4293739e8e89bea 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 corno1 = \notes \relative c {
        R1 *2 | f''4-.\ff r r2 | R1 *3 | f4-. r r2 | R1 *3 |
index e24bed021a8382a78ea45ca62327915ee32996e7..41aed2d76a14eb50d7224e26f423237bd9790a0e 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 corno2 = \notes \relative c {
        R1 *2 | d''4-.\ff r r2 | R1 *3 | d4-. r r2 | R1 *3 |
index 20d56dfd29bacb25409fc2f466f7124a075d80df..20e8d5ca2361459c7c930e373038a9697ff53bd6 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "fagotti.ly"
index 016f3a59cb69d7d26cb3e8ffc756e47bef78316b..c37d189ad8add33a55a9dc146671316c22d080b9 100644 (file)
@@ -9,17 +9,17 @@ copyright =    "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "fagotto-1.ly"
 \include "fagotto-2.ly"
 
-$fagotti_staff = \type Staff = fagotti <
+$fagotti_staff = \context Staff = fagotti <
        \property Staff.midi_instrument = "bassoon"
        \property Staff.instrument = "2 Fagotti"
        \property Staff.instr = "Fg."
        \clef "bass";
-       \notes \type Voice=fagotti < 
+       \notes \context Voice=fagotti < 
                \global
                \$fagotto1
                \$fagotto2
index 3111902d5eb6ff02914170a774de9b0e8a360904..5f49713a57f4808171779f62d1b07ed98a1c9aac 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 fagotto1 = \notes \relative c {
        R1 *2 | as'4-.\ff r r2 | R1 *3 | as4-. r r2 | R1 *3 |
index 12f7c68b145e39cf063db10bcadfd4276949f8c7..f822ed283d226f906d2d16b8e149ca40ab20ca32 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 fagotto2 = \notes \relative c {
        R1 *2 | f4-.\ff r r2 | R1 *3 | f4-. r r2 | R1 *3 |
index d50c1abae5a9a0656b899e643852e9d425076ec7..8cc643201850e9f77415a315030b7e38be50ffb7 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "flauti.ly"
index db56765385ec6136c0a533c7480f89d413787987..a8ffaf7f09a426a128cce4b364bd26689f0b7134 100644 (file)
@@ -9,16 +9,16 @@ copyright =    "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "flauto-1.ly"
 \include "flauto-2.ly"
 
-$flauti_staff = \type Staff = flauti <
+$flauti_staff = \context Staff = flauti <
        \property Staff.midi_instrument = "flute"
        \property Staff.instrument = "2 Flauti"
        \property Staff.instr = "Fl."
-       \notes \type Voice=flauti < 
+       \notes \context Voice=flauti < 
                \global
                \$flauto1
                \$flauto2
index 4af6b54a6493cf9565d7f3be717f28866e3b10cb..dfe2529d6b579cb44fd667224bed14fd7964ec1b 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 flauto1 = \notes \relative c {
        R1 *2 | c'''4-.\ff r r2 | R1 *3 | d4-. r r2 | R1 *3 |
index f7d266083c0773a1419727ddce7d90d69e1a007c..4dc61cc10a88717a5eb9eb944e1443db0b80c66e 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 flauto2 = \notes \relative c {
        R1 *2 | as'''4-.\ff r r2 | R1 *3 | b4-. r r2 | R1 *3 | 
index 37c80a8298fd51c1d34c4e324ff3b3fda5763161..946a86e8a954cc337387e228e63dda2b53a4f1f3 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 global = \notes {
        \time 4/4;
index ae7073b1e6ae74d3fb6d42a9293df7da2716c1aa..7464da33a6fd51b10bd19e17be6b2085a90c6610 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 oboe1 = \notes \relative c'' {
        R1 *2 | as'4-.\ff r r2 | R1 *3 | as4-. r r2 | R1 *3 |
index 4c3e5c141b2093f83ebdedf0295a5b8789ccf177..1fd042fb15f7e4423b030cb1ac5a970feef8ed3a 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 oboe2 = \notes \relative c{
        R1 *2| f''4-.\ff r r2 | R1 *3 | f4-. r r2 | R1 *3 |
index 967010b981553b6f247bf7a88007d4e3f69c49ab..9d605f1b97df5eeefe56fca9a790e6cf4863c0db 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "oboi.ly"
index 57ed1985f00112eb815e11d58aa70c234864c558..cfff9dd963cfb041f644179fbc516b880eee3638 100644 (file)
@@ -9,16 +9,16 @@ copyright =    "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "oboe-1.ly"
 \include "oboe-2.ly"
 
-$oboi_staff = \type Staff = oboi <
+$oboi_staff = \context Staff = oboi <
        \property Staff.midi_instrument = "oboe"
        \property Staff.instrument = "2 Oboi"
        \property Staff.instr = "Ob."
-       \notes \type Voice=oboi < 
+       \notes \context Voice=oboi < 
                \global
                \$oboe1
                \$oboe2
index 74374f04b08b3b01aa24c8b270764aaa6eedf466..60b4ca0a40bf47b063b24fa21a9d58b1c9338b72 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 timpani = \notes \relative c {
        R1 *2 | c4-.\ff r r2 | R1 *3 | c4-. r r2 | R1 *3 |
@@ -20,7 +20,7 @@ timpani = \notes \relative c {
        %35
 }
 
-$timpani_staff = \type Staff = timpani <
+$timpani_staff = \context Staff = timpani <
        \property Staff.midi_instrument = "timpani"
        \property Staff.instrument = "2 Timpani (C-G)"
        \property Staff.instr = "Timp."
index 818d668d9103e31484787a0812c5ee2b6c3af019..d05551831511e438227d5ca9ad71b0f08dd84f05 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "trombe.ly"
index d8fc0b91b4b68c68065200db29a1e3fadf35ba2b..07ac2bce1d233a9be96937ee4f75ac4e7f442d62 100644 (file)
@@ -9,16 +9,16 @@ copyright =    "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "trombo-1.ly"
 \include "trombo-2.ly"
 
-$trombe_staff = \type Staff = trombe <
+$trombe_staff = \context Staff = trombe <
        \property Staff.midi_instrument = "trumpet"
        \property Staff.instrument = "2 Trombe (C)"
        \property Staff.instr = "Tbe."
-       \notes \type Voice=trombe < 
+       \notes \context Voice=trombe < 
 %              \global
                \time 4/4;
                \$trombo1
index fb52b473e5c21582676fbd5bfcc35b86f3e09858..888ea5807c33082be02dbeec653c05cbc1e4927d 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 trombo1 = \notes \relative c {
        R1 *2 | c''4-.\ff r r2 | R1 *3 | c4-. r r2 | R1 *3 |
index 0788561f0c7b553068081885f2fe0b9aa018d387..e4b3ec8ca406065871867455001ede6da91e9b7f 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 trombo2 = \notes \relative c {
        R1 *2 | c'4-.\ff r r2 | R1 *3 | c4-. r r2 | R1 *3 |
index 155c8b5b53fc6c51535d0a33f876f999fa3a88d2..b9d80bde3f13cbbb811a7ee76b270fe9f743e17a 100644 (file)
@@ -7,10 +7,10 @@ enteredby =    "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 viola1 = \notes \relative c {
-       \type Voice=one
+       \context Voice=one
        c'1\ff ~ | c | f,4-. r r2 | r1 |
        % copied 3 bars from three back...
        %5
@@ -290,13 +290,13 @@ viola1 = \notes \relative c {
 \include "viola-2.ly";
 
 
-% $viola1_staff = \type Staff = viola1 <
-$viola1_staff = \type Staff = violai <
+% $viola1_staff = \context Staff = viola1 <
+$viola1_staff = \context Staff = violai <
        \property Staff.midi_instrument = "viola"
        \property Staff.instrument = "Viola"
        \property Staff.instr = "Vla."
        \clef "alto";
-       \notes \type Voice=one < 
+       \notes \context Voice=one < 
                \global
                \$viola1
        >
index edfa67e706c658809baff5797355831ee0084763..78137f47fbbf9ef0d4075c6460398d2d78acfbae 100644 (file)
@@ -7,14 +7,14 @@ enteredby =    "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 viola2 = \notes \relative c {
        % starts on (actualy, most part is on) same staff as viola1
        %urg, parse error
 %urg   \translator Staff=viola1
        \translator Staff=violai
-       \type Voice=one
+       \context Voice=one
        c1 ~ | c | s1*2 |
        % copied 3 bars from three back...
        c ~ | c | s1*2 % |
@@ -30,13 +30,13 @@ viola2 = \notes \relative c {
        [as'16\ff as a as][as as as as]as2:16 |
 }
 
-% $viola2_staff = \type Staff = viola_2 <
-$viola2_staff = \type Staff = violaii <
+% $viola2_staff = \context Staff = viola_2 <
+$viola2_staff = \context Staff = violaii <
        \property Staff.midi_instrument = "viola"
        \property Staff.instrument = "Viola II"
        \property Staff.instr = "Vla. II"
        \clef "alto";
-       \notes \type Voice=one< 
+       \notes \context Voice=one< 
                \global
                \$viola2
        >
index 94a0f7e8822d4d275d3f41e455a5d20954f10271..cb8cdbaf18ea8d2656b519a13f2187e18fbb2995 100644 (file)
@@ -7,18 +7,18 @@ enteredby =    "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "viola-1.ly"
 \include "viola-2.ly"
 
-$viola_staff = \type Staff = violai <
+$viola_staff = \context Staff = violai <
        \property Staff.midi_instrument = "viola"
        \property Staff.instrument = "Viola"
        \property Staff.instr = "Vla."
        \clef "alto";
-       \notes \type Voice=one < 
+       \notes \context Voice=one < 
                \global 
                \$viola1
                \$viola2
index 7b6c9bd1a7223e49482fef7ecc566c11047437d4..5bb957b4fd96ac7b73dc2b09807bf3bd59a46212 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "violino-1.ly"
index ab12d3ca958e415fe7f7b9875146d4c4bf886c8f..e3eb7ce8d302b40fdf713e30442d30ea481a9c5b 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 violino1 = \notes \relative c {
        c'1\ff ~ | c | <f4-. c'-. as'-.> r r2 | R1 |
@@ -272,7 +272,7 @@ violino1 = \notes \relative c {
        c4 r r2 |
 }
 
-$violino1_staff = \type Staff = violino1 <
+$violino1_staff = \context Staff = violino1 <
        \property Staff.midi_instrument = "violin"
        \property Staff.instrument = "Violino I"
        \property Staff.instr = "Vl. I"
index efa657dbd67124752659ba8e0d75fbfef0036887..820bebbdbc0eff8f24a23f55608522f75097db54 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "violino-2.ly"
index 44dbc3964710d8f71e35ec1b4ac6f38cc7265b6d..4c8119367613f4fe17dfa5faa3bdb937c31921ba 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 violino2 = \notes \relative c {
        c'1\ff ~ | c | <f4-. c'-. as'-.> r r2 | R1 |
@@ -290,7 +290,7 @@ violino2 = \notes \relative c {
        c4 r r2 |
 }
 
-$violino2_staff = \type Staff = violino2 <
+$violino2_staff = \context Staff = violino2 <
        % MIDI hoort geeneens verschil tussen een
        % eerste en tweede viool ;-)
        \property Staff.midi_instrument = "violin"
index 8ff1afdfcdf30c836e05bf16be001bf2f0c63d12..d92816b4ecbdada58838b5868b97a262f5e7517a 100644 (file)
@@ -7,7 +7,7 @@ enteredby =      "JCN";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "violoncello.ly"
index 7c5a1eb2780b37d5e1fdc3a66aee40d97dfe6304..f35c3d7769b640711fe678c1b81836c1278e1f9a 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 violoncello = \notes \relative c {
        c1\ff ~ | c | f,4-. r r2 | r1 | c'1\ff ~ | c | f,4-. r r2 |
@@ -299,12 +299,12 @@ violoncello = \notes \relative c {
        c4 r r2 |
 }
 
-$violoncello_staff = \type Staff = violoncello <
+$violoncello_staff = \context Staff = violoncello <
        \property Staff.midi_instrument = "cello"
        \property Staff.instrument = "Violoncello"
        \property Staff.instr = "Vc."
        \clef "bass";
-       \notes \type Voice=one< 
+       \notes \context Voice=one< 
                \global
                \$violoncello
        >
index fe16c92147b7ebf33bb7495e5011f5ff0c4b1416..b61ec33a3ea093e926ea0c30247f3caa2cddf1b7 100644 (file)
@@ -48,12 +48,12 @@ John
  % vOne is right hand outside part, vTwo r.h. inside part,
  % vThree left hand outside, vFour l.h. inside.
  \notes {
-   \type Staff=staffOne <
+   \context Staff=staffOne <
     \property Staff.nolines=11
     \property Voice.pletvisibility=0
     \time 2/2;
     \clef alto;
-    \type Voice=vOne <{
+    \context Voice=vOne <{
 % 1
 \stemup s1
 % 2
@@ -285,11 +285,11 @@ s2. f'4 |
 % 94
 e'2 e'2
      }>
-    \type Voice=vTwo <
+    \context Voice=vTwo <
      {
      %- right hand unchorded notes -
      }>
-    \type Voice=vThree <{
+    \context Voice=vThree <{
 % 1
 \stemdown s2.  [e''16 d'' c'' b'] |
 % 2
@@ -481,7 +481,7 @@ s1 s s s s s s s s s s s s s s s s s s s s s s s s s s s s
 % 90
 b2 a4 
      } >
-    \type Voice=vFour <
+    \context Voice=vFour <
      {
      %- left hand unchorded notes -
      }
@@ -498,12 +498,12 @@ Bar_number_engraver;}}
  % vOne is right hand outside part, vTwo r.h. inside part,
  % vThree left hand outside, vFour l.h. inside.
  \notes {
-   \type Staff=staffOne <
+   \context Staff=staffOne <
    \property Staff.nolines=11
     \keysignature bes;
     \time 4/4;
     \clef alto;
-    \type Voice=vOne <
+    \context Voice=vOne <
 {
 % 1
 \stemup \skip 4..*15/7; g'16 |
@@ -622,7 +622,7 @@ s1 s s
 s4. c'8 s4 ees'16
 }
     >
-    \type Voice=vTwo <
+    \context Voice=vTwo <
  {
 s1 s s s s s s s s s
 % 11
@@ -658,7 +658,7 @@ fis'4~fis'16 \skip 4..*27/7; |
 % 40
 [fis'16 a' bes' g']~[g' c'' a'd'] <g'4 bes'>
 }   >
-    \type Voice=vThree <
+    \context Voice=vThree <
 {
 % 1
 \stemdown \skip 4..*23/7;
@@ -768,7 +768,7 @@ s4. g'8}
 % 29
 b'16}
     >
-    \type Voice=vFour <
+    \context Voice=vFour <
      {
 \stemdown \skip 4..*74/7;
 % 5
@@ -807,3 +807,4 @@ Bar_number_engraver;}}
 
 ----------------------------------------------------
 
+\version "1.0.16";
index 1da1230281bd817ef86f7ac263e2146933dbfa31..13ce839c8c4e30c4cbcf41accfc0766be3e7aa8f 100644 (file)
@@ -31,12 +31,12 @@ John
 % vOne is right hand outside part, vTwo r.h. inside part,
 % vThree left hand outside, vFour l.h. inside.
 \notes {
-\type Staff = staffOne <
+\context Staff = staffOne <
 \property Staff.nolines=11
 \keysignature bes;
 \time 4/4;
 \clef alto;
-\type Voice = vOne <
+\context Voice = vOne <
 {
 % 1
 \stemup [d''16 e'' f'' g''] [a'' a' cis'' a'] d''4. e''8 |
@@ -142,7 +142,7 @@ s8 f'' s e'' s2 |
 % 29
 s8 f'' s cis''
 } >
-\type Voice = vTwo <
+\context Voice = vTwo <
 {s1 s s s s
 %6
 \stemdown  s2 d'16 s s4. |
@@ -155,7 +155,7 @@ s1
 %29
 s2 d''8}
 >
-\type Voice = vThree <
+\context Voice = vThree <
 {
 % 1
 \stemdown s2 [d'16 e' f' g'] [a' a cis' a] |
@@ -244,7 +244,7 @@ s1
 % 28
 s2 s8 f'' s cis'' |
 } >
-\type Voice = vFour <
+\context Voice = vFour <
 {s1 s s s s s s s s
 %10
 \stemdown d''16 s s4. a'16 s s4. |
@@ -266,3 +266,4 @@ s1
 \paper{barsize=50.0; \translator {\StaffContext \consists
 Bar_number_engraver;}}
 }
+\version "1.0.16";
index e7e77332dccf663bf52c3a6b71db501770dc20fc..03df3984fe945419bb594c22f8ed60492b8a02f9 100644 (file)
@@ -6,13 +6,13 @@
  % vOne is right hand outside part, vTwo r.h. inside part,
  % vThree left hand outside, vFour l.h. inside.
  \notes {
-   \type Staff=staffOne <
+   \context Staff=staffOne <
     \property Staff.nolines=11
     \property Voice.pletvisibility=0
     \keysignature fis;
     \time 3/8;
     \clef alto;
-    \type Voice=vOne <{
+    \context Voice=vOne <{
 %1
 \stemup [g''8 g' g'] |
 % 2
@@ -173,7 +173,7 @@ g'4. |}
 %6
 d4
      }>
-    \type Voice=vThree <{
+    \context Voice=vThree <{
 % 1
 \stemdown s4. |
 % 2
@@ -336,3 +336,4 @@ g,4. |
 Bar_number_engraver;}}
 }
 
+\version "1.0.16";
index 47f49c89de89a3c47eb392a336d23d9a83b3ace4..bfda05aac78977bc60306208117aeed87605433e 100644 (file)
@@ -16,8 +16,8 @@ LHtoL = { \tolower \stemdown }
 
 \score {
  \notes 
-   \type PianoStaff  <
-    \type Staff = upper <\type Voice = mainV <{
+   \context PianoStaff  <
+    \context Staff = upper <\context Voice = mainV <{
     % 1
        \stemup s1
        s4 [e'16 d' c' b] a4 s |
@@ -75,14 +75,14 @@ LHtoL = { \tolower \stemdown }
        s4 c'' g'
        <
          { f''4 e'' c'' d'' b' c''2. }
-         \type Voice = anotherV { a'4 g'2 f'2 e'2. }
+         \context Voice = anotherV { a'4 g'2 f'2 e'2. }
        > s4 |
 
 
        s4 [g'16 f' e' d'] c'4 s |
        s4 c'' g' ees'' ~
        < { ees'' d''2 c''4 }
-         \type Voice = anotherV { \stemdown g'2 fis'2 }
+         \context Voice = anotherV { \stemdown g'2 fis'2 }
        > 
          |
        bes'4 s2 [d'16 c' bes a] |
@@ -93,7 +93,7 @@ LHtoL = { \tolower \stemdown }
        s4 d'' a' f'' |
        <
           { f''4 e'' e'' d'' }
-          \type Voice = anotherV { \stemdown bes'2 bes'2 }
+          \context Voice = anotherV { \stemdown bes'2 bes'2 }
        > |
        < a'4 cis''> s2. |
        \RHtoL s4 a' gis' g' |
@@ -120,16 +120,16 @@ LHtoL = { \tolower \stemdown }
        f'4 gis' a' b' |
        c''4 d'' e'' f'' |
        gis'4 [a'8 b'] e'4 d'' |
-       < \type Voice = mainV { c''4 d'' s2 }
-         \type Voice = anotherV { \stemdown a'2 <b'2 gis'> } 
+       < \context Voice = mainV { c''4 d'' s2 }
+         \context Voice = anotherV { \stemdown a'2 <b'2 gis'> } 
        > 
        a'4 a'' gis'' g'' |
        fis''4 f''2 e''4~e''
        d''2 c''4~c''
        b'2 a'4~a'
        gis'4 a' d'' |
-       < \type Voice = mainV { c''4 d'' s2 }
-         \type Voice = anotherV { \stemdown <a'2 e'> <gis' b'> }  |
+       < \context Voice = mainV { c''4 d'' s2 }
+         \context Voice = anotherV { \stemdown <a'2 e'> <gis' b'> }  |
        >
        a'4 s2 [e'16 d' c' b] |
        a4 s2 <f'4 a' d''4> | %% added some chording.
@@ -138,7 +138,7 @@ LHtoL = { \tolower \stemdown }
        }>>
 
 
-     \type Staff = lower <{
+     \context Staff = lower <{
 
        \stemdown s2.  [e''16 d'' c'' b'] |
 
@@ -251,3 +251,4 @@ LHtoL = { \tolower \stemdown }
  
 
 }
+\version "1.0.16";
index 9e3c7880947df14bd68ddece1aa3fcecd7092eb6..4d1dab4d5318236adbcd7802306933062cfc7534 100644 (file)
@@ -5,12 +5,12 @@
  % vOne is right hand outside part, vTwo r.h. inside part,
  % vThree left hand outside, vFour l.h. inside.
  \notes {
-   \type Staff=staffOne <
+   \context Staff=staffOne <
    \property Staff.nolines=11
     \keysignature bes;
     \time 4/4;
     \clef alto;
-    \type Voice=vOne <
+    \context Voice=vOne <
 {
 % 1
 \stemup \skip 4..*15/7; g'16 |
@@ -129,7 +129,7 @@ s1 s s
 s4. c'8 s4 ees'16
 }
     >
-    \type Voice=vTwo <
+    \context Voice=vTwo <
  {
 s1 s s s s s s s s s
 % 11
@@ -165,7 +165,7 @@ fis'4~fis'16 \skip 4..*27/7; |
 % 40
 [fis'16 a' bes' g']~[g' c'' a'd'] <g'4 bes'>
 }   >
-    \type Voice=vThree <
+    \context Voice=vThree <
 {
 % 1
 \stemdown \skip 4..*23/7;
@@ -275,7 +275,7 @@ s4. g'8}
 % 29
 b'16}
     >
-    \type Voice=vFour <
+    \context Voice=vFour <
      {
 \stemdown \skip 4..*74/7;
 % 5
@@ -311,3 +311,4 @@ s8 [c''16 g'8 fis'16] [bes'' g' f' ees'] |
  \paper{barsize=50.0; \translator {\StaffContext \consists
 Bar_number_engraver;}}
 }
+\version "1.0.16";
index d8f3dbd6a4497d0bca5bed0b292b49c408594858..50f75d7dc0078ca07c67cb1e3478dd776dbf8a50 100644 (file)
@@ -17,7 +17,7 @@ title = "Verso II";
        under the Gnu Public Licence.
 %}
        
-\version "1.0.14";
+\version "1.0.16";
 
 $voice_one = \notes \relative c' {
        a'2 bes4. [c16 bes] | a4 d ~ d c ~ | c b ~ [b8 a] a4 ~|
@@ -51,21 +51,21 @@ global=\notes {
 recorder= {
 %      For three recorders.
 %
-       \type StaffGroup
+       \context StaffGroup
        <
-               \type Staff = descant {
+               \context Staff = descant {
                        \property Staff.Instrument = "Descant"
                        \clef "G^8";
                        \notes \transpose bes' {\global \$voice_one }
                }
 
-               \type Staff = treble {
+               \context Staff = treble {
                      \property Staff.Instrument = "Treble"
                        \clef "G";
                        \notes \transpose bes' {\global  \$voice_two }
                }
 
-               \type Staff = lower {
+               \context Staff = lower {
                      \property Staff.Instrument = "Tenor or Treble II"
                        \clef "G";
                        \notes \transpose bes'' {\global \$voice_three }
@@ -80,17 +80,17 @@ recorder= {
 %       Try to make parts cross staves as apropriate.
 %
 organ={
-       \type GrandStaff
+       \context GrandStaff
        <
-               \type Staff = treble {
+               \context Staff = treble {
                      \clef "G";
                      \global
-                     \type Staff <
+                     \context Staff <
                        { \voiceone \$voice_one }
                        { \voicetwo \$voice_two }
                      >
                }
-               \type Staff = bass {
+               \context Staff = bass {
                      \clef "F"; \global \$voice_three
                }
        >
index f0c9e553a2508f4829e334642e1a8c1bb4c926de..7cc91b517a64eb0134f759d78f56bef4d9841e81 100644 (file)
@@ -12,7 +12,7 @@
  Tested Features: cross staff beams and slurs, grace notes, no bars
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "nederlands.ly"
 
@@ -24,43 +24,43 @@ global = \notes {
   \bar ".|";
 }
   
-upper = \type Staff=treble \notes\relative c''{
+upper = \context Staff=treble \notes\relative c''{
   \clef violin;
   \stemup
-  \type Voice=one
+  \context Voice=one
   r2 r r 
   r2 r r
   r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> gis f \!e]
   % grace hack
-  < { [es8 )c] } \type Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
+  < { [es8 )c] } \context Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
   r2 r r
   r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> gis f \!e]
-  < { [es8 )c] } \type Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
+  < { [es8 )c] } \context Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
   r4 [g16( a bes a] [g a bes a g a bes a] [g a bes a g fis es fis] 
   )d4 \tiny fis8*1/2 ~ \normalsize gis4*3/4 ~ gis8 r r4 r2
   r4 [g16( a bes a] [g a bes a g a bes a] [g a bes a g fis es fis] 
   )d4 \tiny fis8*1/2 ~ \normalsize gis4*3/4 ~ gis8 r r4 r2
   \tiny a8*1/2 ~ \normalsize f4*3/4 ~ f8 r r2 r
   r2 r4 [a8( b][c d c b] \tiny b8*1/2 ~ \normalsize 
-  < { [e8*1/2 )g,8] } \type Voice=x { \stemup s8*1/4 \tiny a8*1/2 ~ } > r4 r2 r
+  < { [e8*1/2 )g,8] } \context Voice=x { \stemup s8*1/4 \tiny a8*1/2 ~ } > r4 r2 r
   r2 r4 [a8( b][c d c b] [a b c d][c b a b][c d c b]
   \tiny b8*1/2 ~ \normalsize 
-  < { [e8*1/2 )g,8] } \type Voice=x { \stemup s8*1/4 \tiny a8*1/2 ~ } > r4 r2 r
+  < { [e8*1/2 )g,8] } \context Voice=x { \stemup s8*1/4 \tiny a8*1/2 ~ } > r4 r2 r
   a2( \tiny e'8*1/2 ~ \normalsize f4*3/4 ~ )f8 r r2
   r2 r r
   fis,4( \tiny dis8*1/2 \normalsize <)cis4*3/4 ais> r2 r
   \tiny b'8*1/2 ~ \normalsize 
-  < { [a8*1/2 a8] } \type Voice=x { \stemup s8*1/4 \tiny b8*1/2 ~ } > r4 r2 r
+  < { [a8*1/2 a8] } \context Voice=x { \stemup s8*1/4 \tiny b8*1/2 ~ } > r4 r2 r
   r4 [a'8--(\< a--] [a-- a-- c-- \!b--] [a--\> gis f \!e]
-  < { [es8 )c] } \type Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
+  < { [es8 )c] } \context Voice=x { \stemup s8*1/2 \tiny b8*1/2 ~ } > r4 r2 r
   d,4( \tiny fis8*1/2 ~ \normalsize gis4*3/4 ~ )gis8 r r4 r2
   f4 ~ f8 r r2 r
   [f'8( g a b][a g f g][a b a g]
   \tiny f8*1/2 ~ \normalsize 
-  < { [g8*1/2 )e8] } \type Voice=x { \stemup s8*1/4 \tiny d8*1/2 ~ } > r4 r2 r
+  < { [g8*1/2 )e8] } \context Voice=x { \stemup s8*1/4 \tiny d8*1/2 ~ } > r4 r2 r
   [f8( g a b][a g f g][a b a g]
   \tiny f8*1/2 ~ \normalsize 
-  < { [g8*1/2 )e8] } \type Voice=x { \stemup s8*1/4 \tiny d8*1/2 ~ } > r4 r2 r
+  < { [g8*1/2 )e8] } \context Voice=x { \stemup s8*1/4 \tiny d8*1/2 ~ } > r4 r2 r
   a,2( \tiny e'8*1/2 ~ \normalsize f4*3/4 ~ )f8 r r2
   r2 r r
   fis,4( \tiny dis8*1/2 \normalsize <)cis4*3/4 ais> r2 r
@@ -76,7 +76,7 @@ bassbeam = \notes{
 %   [s2] [s2] [s2]
 }
 
-lower = \type Voice=two \notes \relative c{
+lower = \context Voice=two \notes \relative c{
   \stemdown
   \property Staff.slurydirection = 1
 
@@ -118,12 +118,12 @@ lower = \type Voice=two \notes \relative c{
 }
 
 \score {
-    \type GrandStaff < 
-      \type Staff = treble < 
+    \context GrandStaff < 
+      \context Staff = treble < 
         \global 
        \upper
       >
-      \type Staff = bass <
+      \context Staff = bass <
         \global
        \clef bass;
         \lower
index 67b645ef5491b1fd8f7195b250fbe80509577128..010aedb0b1f4c4f4fe0a536101a81a1131732897 100644 (file)
@@ -12,7 +12,7 @@
  Tested Features:
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "nederlands.ly"
 
@@ -37,8 +37,8 @@ global = \notes {
   \bar ".|";
 }
   
-i = \type Staff \notes\relative c''{
-  \type Voice=i
+i = \context Staff \notes\relative c''{
+  \context Voice=i
   \stemup
 
   c8.( es16 bes4 ~ | )bes8 r c8.( bes16 | des4 c8. bes16 | c4 ~ ) c8 r |
@@ -65,8 +65,8 @@ i = \type Staff \notes\relative c''{
   
 }
 
-ii = \type Staff \notes\relative c'{
-  \type Voice=ii
+ii = \context Staff \notes\relative c'{
+  \context Voice=ii
   \stemdown
 
   r8 <es as> r <des f> | r <es g> r <es as> | r <f as> r <f as> |
@@ -103,8 +103,8 @@ ii = \type Staff \notes\relative c'{
  
 }
 
-lower = \type Staff \notes \relative c{
-  \type Voice=iii
+lower = \context Staff \notes \relative c{
+  \context Voice=iii
 
   <as4 as'> <es es'> | r <as as'> | <des, des'> <f f'> | <c c'> r |
   <as as'> <des des'> | <bes bes'> r | <des des'> <bes bes'> |
@@ -132,14 +132,14 @@ lower = \type Staff \notes \relative c{
 }
 
 \score {
-    \type GrandStaff < 
-      \type Staff = treble < 
+    \context GrandStaff < 
+      \context Staff = treble < 
         \global 
         \clef violin;
        \i
        \ii
       >
-      \type Staff = bass <
+      \context Staff = bass <
         \global
        \clef bass;
         \lower
index b9f51c010fd2a33a36cac446e6dcc23fb421b34e..5c6687cd6ba9d918b1407a3376ff6f6b26d0edde 100644 (file)
@@ -10,7 +10,7 @@ title = "An Sylvia";
 }
 
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "paper16.ly";
 \include "paper13.ly";
@@ -210,7 +210,7 @@ tune=\notes  \relative c''  {
 %5
                b2. g4 |
 %6
-               g( )fis \type Staff < {\voiceone r2}{\voicetwo r4 a4}> |
+               g( )fis \context Staff < {\voiceone r2}{\voicetwo r4 a4}> |
 %7
                g2. e4 |
 %8
@@ -236,15 +236,15 @@ tune=\notes  \relative c''  {
 %18
                r1 |
 %19
-               d2. \type Staff < {\voiceone b8 ~ g8} {\voicetwo [b8 g8]} > |
+               d2. \context Staff < {\voiceone b8 ~ g8} {\voicetwo [b8 g8]} > |
 %20
                \property Voice.slurdash = 2
                fis4( )e                \property Voice.slurdash = ""
-                \type Staff < {\voiceone r2}{\voicetwo r4 e4} > |
+                \context Staff < {\voiceone r2}{\voicetwo r4 e4} > |
 %21
                c'2. [b16( a g )fis] |
 %22
-               e4( )d \type Staff <{\voiceone r2} {\voicetwo r4 d4}> |
+               e4( )d \context Staff <{\voiceone r2} {\voicetwo r4 d4}> |
 %23
                d2 d'2 |
 %24
@@ -350,11 +350,11 @@ global=\notes {
                \property Staff.timeSignatureStyle = "C"
 }
 
-Piano=\type GrandStaff = piano {
+Piano=\context GrandStaff = piano {
            \property GrandStaff.instrument="Piano"
            < 
-            \type Staff=RH {\global \pianoRH }
-            \type Staff=LH {\global \pianoLH }
+            \context Staff=RH {\global \pianoRH }
+            \context Staff=LH {\global \pianoLH }
            >
 }
 
@@ -373,10 +373,10 @@ GermanWords = \lyrics<
 >
 
 Vocals= <
-       \type Staff = vocal < 
+       \context Staff = vocal < 
               \notes \transpose c {\clef "F"; \global\tune}
-%             {\type  Lyrics = vocal \EnglishWords}
-              {\type  Lyrics = vocal \GermanWords}
+%             {\context  Lyrics = vocal \EnglishWords}
+              {\context  Lyrics = vocal \GermanWords}
             >
 >
 
index 971e9f5c813e956fb8f1ad0b58343f101d750603..abbf68a2300823a9011a12d97676c0f588126ca1 100644 (file)
@@ -9,6 +9,6 @@ description = "A schubert song in 16 pt";
 copyright =     "public domain";
 } 
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "standchen.ly"
index daaed0bbcabb382da4870c3cde5a43857ebd0efb..8d0d5d468ad89abdca19345922569d2d3c8ddc1a 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 description = "A schubert song in 20 pt";
 } 
 
-\version "1.0.14";
+\version "1.0.16";
 
 % fool make-website
 % \include "standchen.ly";
index 3a9d9a039f58aca266c825b97d421df702f386f4..16ad602cd5e5aecde104af13beb415dcfed15f81 100644 (file)
@@ -16,7 +16,7 @@ multiple \paper{}s in one \score
 Note: Original key F.
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 $vocal_verse1 = \notes\relative c''{
        % ugh: treble/bass
@@ -239,7 +239,7 @@ $treble_through = \notes \relative c'{
 % ugh ugh: connecting chords
        %65
        < { d,2.\f a'2} { e2. ~ e2 } { b'2. c,2 }> r4 |
-       \type Staff < 
+       \context Staff < 
                {
                        \voiceone 
                        [a8. b16] c4-> ~ a8 r |
@@ -394,7 +394,7 @@ allLyrics = {
        \$lyric_through
 }
 
-$lyric_staff = \type Lyrics = lyric<
+$lyric_staff = \context Lyrics = lyric<
        \allLyrics
 >
                
@@ -407,7 +407,7 @@ vocals = \notes{
        \$vocal_through
 }
 
-$vocal_staff = \type Staff = vocal<
+$vocal_staff = \context Staff = vocal<
        \property Staff.instrument = "alto sax"
        \global
        \$vocals
@@ -421,7 +421,7 @@ treble = {
        \$treble_through
 }
 
-$treble_staff = \type Staff = treble< 
+$treble_staff = \context Staff = treble< 
        \global
        \treble
 >
@@ -434,12 +434,12 @@ bass = {
        \$bass_through
 }
 
-$bass_staff = \type Staff = bass<
+$bass_staff = \context Staff = bass<
        \global
        \bass
 >
 
-$grand_staff = \type GrandStaff<
+$grand_staff = \context GrandStaff<
        \$treble_staff
        \$bass_staff
 >
index a4c7cea4178bcc6d4488e2f81107040f1367f652..57735bf9842bdc1d2d5bdce17424f11ff81fdf33 100644 (file)
@@ -6,7 +6,7 @@ date = "1868";
 title = "Diademata";
 metre = "6 6. 8 6. D";
 }
-\version "1.0.14";
+\version "1.0.16";
 
 sop=\notes \transpose c''{
        ees2  | ees4 ees4 g2 g2 |  c'1.  \bar "||";
@@ -60,26 +60,26 @@ global = \notes{
        \key ees;
 }
 
-$upper_staff = \type Staff = upper {
+$upper_staff = \context Staff = upper {
        \global
        \clef "treble";
-       \type Staff <
+       \context Staff <
                { \voiceone \sop }
                { \voicetwo \alt }
        >
 }
 
-$lower_staff = \type Staff = lower {
+$lower_staff = \context Staff = lower {
        \global
        \clef "bass";
-       \type Staff <
+       \context Staff <
                { \voiceone \ten }
                { \voicetwo \bass }
        >
 }
 
 \score{
-       \type ChoirStaff\notes  <
+       \context ChoirStaff\notes       <
                \$upper_staff
                \$lower_staff
        >
index ff97300514113373616f2e1a30f40bb758eac4fd..1541d103e132677522982fd3c115fa87a22e4418 100644 (file)
@@ -4,7 +4,7 @@ composer = "Parry";
 metre = "10 10 . 11 11";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 sop = \notes \transpose c''{
        f4 | d' bes c' | f2 \bar "||";
@@ -58,16 +58,16 @@ global = \notes {
 
 \score {
        <
-         \type Staff=top { 
+         \context Staff=top { 
                \global \clef "G";
-               \type Staff <
+               \context Staff <
                        \notes{\voiceone \sop }
                        \notes{\voicetwo \alto }
                        >
          }
-         \type Staff=bottom { 
+         \context Staff=bottom { 
                \global \clef "F";
-               \type Staff <
+               \context Staff <
                      \notes{\voiceone \tenor}
                      \notes{\voicetwo \bass }
                >
index 6e83b1adc9970e76c89078ee70c7f1bd037730e4..52e100e95838f4adea492189dcc1b7830a9d3dad 100644 (file)
@@ -7,7 +7,7 @@ title = "Maccabaeus";
 metre = "10 11. 11 11. and refrain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 sop=\notes \relative c'' {
        b2 gis4. a8  |b2 e,2 |
@@ -81,19 +81,19 @@ global = \notes {
        \key E;
 }
 
-$upper_staff = \type Staff = upper {
+$upper_staff = \context Staff = upper {
        \global
        \clef "treble";
-       \type Staff <
+       \context Staff <
              {\voiceone \sop }
              {\voicetwo \alt }
        >
 }
 
-$lower_staff = \type Staff = lower {
+$lower_staff = \context Staff = lower {
        \global
        \clef "bass";
-       \type Staff <
+       \context Staff <
            {\voiceone \ten }
            {\voicetwo \bass }
        >
index a7b8937d1189a08c5c93b93de1290b612f1ee85c..38116d4b34f4efef3f3859ef38eb29025e064868 100644 (file)
@@ -7,7 +7,7 @@ title = "Ode to Joy";
 metre = "8 7 8 7 D";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 sop=\notes \relative c'' {
        b4 b c d | d c b a | g g a b | b4. a8 a2 \bar "||";
@@ -44,20 +44,20 @@ global=\notes{
        \key G;
 }
 
-$upper_staff = \type Staff = upper \notes {
+$upper_staff = \context Staff = upper \notes {
        \global
        \clef "G";
-       \type Staff <
+       \context Staff <
            {\voiceone \sop}
            {\voicetwo \alto}
        >
        \bar "|.";
 }
 
-$lower_staff = \type Staff = lower \notes {
+$lower_staff = \context Staff = lower \notes {
        \global
        \clef "F";
-       \type Staff <
+       \context Staff <
            {\voiceone \tenor}
            {\voicetwo \bass }
        >
index 5ac3f7ab386575642f700f93eb611aea4cd5b693..be7e855c7a15c1b6c0a96145637df6fb248bbbd6 100644 (file)
@@ -5,7 +5,7 @@ composer = "J. S. Bach";
 enteredby = "Peter Chubb";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 sop=\notes \transpose c'' {
        \repeat 2 {
@@ -65,15 +65,15 @@ global=\notes{
 
 \score{
        <
-               \type Staff = "top" {
+               \context Staff = "top" {
                \clef "treble";
                \global
-               \type Staff <{\voiceone \sop}{\voicetwo \alt} >
+               \context Staff <{\voiceone \sop}{\voicetwo \alt} >
                }
-               \type Staff = "bottom" {
+               \context Staff = "bottom" {
                \clef "bass";
                \global
-               \type Staff <  {\voiceone \ten}{\voicetwo \bass} >
+               \context Staff <  {\voiceone \ten}{\voicetwo \bass} >
                }
        >
 
index 96708ca2dd832679a6560311fac8a63cc17fcc42..825dfc202a25f3ad32a124071ab9845b75a2318c 100644 (file)
@@ -8,7 +8,7 @@ poet = "Joseph Mohr";
 }
 
 
-\version "1.0.14";
+\version "1.0.16";
 
 global=\notes {
              \time 6/4;
@@ -155,9 +155,9 @@ v3e = \lyrics {
 
 
 upper= \notes {
-       \type Staff = upper { 
+       \context Staff = upper { 
                \clef "treble"; \global
-               \type Staff <
+               \context Staff <
                        { \voiceone \sop }
                        { \voicetwo \alt }
                >
@@ -165,9 +165,9 @@ upper= \notes {
 }
 
 lower = \notes {
-       \type Staff = lower {
+       \context Staff = lower {
                \clef "bass"; \global 
-               \type Staff <
+               \context Staff <
                        { \voicethree \ten }
                        { \voicefour \bass }
                >
@@ -175,13 +175,13 @@ lower = \notes {
 }
 
 \score {
-       \type ChoirStaff 
+       \context ChoirStaff 
        <
-             { \type Lyrics = top \chords }
+             { \context Lyrics = top \chords }
               \upper
-             { \type Lyrics = upper \v1 }
-             { \type Lyrics = upper \v2 }
-             { \type Lyrics = upper \v3 }
+             { \context Lyrics = upper \v1 }
+             { \context Lyrics = upper \v2 }
+             { \context Lyrics = upper \v3 }
              \lower
        >
 }
index 810712d226a4cb783af5147d4efa2eda818d7a36..99c3c005c4581ed06e3edc75d91f988d7775ecaf 100644 (file)
@@ -4,7 +4,7 @@
        piece = "Allemande";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 global = \notes{
        \time 4/4;
@@ -27,7 +27,7 @@ hoyreEn = \notes\relative c'''{
        [c16 d es8][f,16 es' d c][d es f8][g,16 f' es d] |
        [es16 f g8][as,16 g' f es][f g as8][b,16  as' g f] |
 %5
-       \type Staff < { 
+       \context Staff < { 
                \stemup es4~ [es8. c16] d4~ [d8. b16] |
                c4.~ [c16 b] c4~ [c16 c bes as] |
                \stemboth [g c32 d es16 c][g8 as] \stemup bes4~ [bes8 g'~] |
@@ -49,7 +49,7 @@ hoyreEn = \notes\relative c'''{
        [bes d g bes~][bes fis g bes,][c es g bes~][bes fis g c,] |
        [d fis g bes~][bes fis g d][es fis g bes~][bes fis g bes] |
        [e a, bes fis][g bes a g][fis d es bes][c es d c] |
-       \type Staff <
+       \context Staff <
                { \stemup [bes8 d'][bes a16 g] g4~ g16 }
                { \stemup s2 s16 d8.~ d16 }
                { \stemdown r8 <g d> <[g d><fis c>] r16 [d16 b8~] b16 }
@@ -73,7 +73,7 @@ hoyreEn = \notes\relative c'''{
        [c8 es'( as, )g][d f'( as, )g] |
        [es g'( as, )g][f as'16( g][as g fis )g] |
        fis4.~ [fis16 e32 fis][g16 d f es][d c b a] |
-       \type Staff <
+       \context Staff <
                { \stemup [g8 g'][es d16 c] c4. }
                { \stemdown r8 <g c es> <[g c> <f b>] <es4. g> } 
        >       s8
@@ -90,7 +90,7 @@ venstreEn = \notes\relative c{
 %5
        [c8 es][f, as][b, d][es, g] |
        [as f][g g'][c, g']
-       \type Staff <
+       \context Staff <
                { \stemup [c8 d] | es4 }
                { \stemdown c4 ~ | [c8. g32 f] }
        >
@@ -107,7 +107,7 @@ venstreEn = \notes\relative c{
        <cis4 cis,> r8 cis8 [d a][fis d] |
 %16
        [g16 a bes c][d8 d,]
-       \type Staff <
+       \context Staff <
                { \stemup r8 r16 d' g }
                { \stemdown g,4~ g16 }
        >
@@ -134,12 +134,12 @@ venstreEn = \notes\relative c{
 }
 
 \score{
-       \type GrandStaff <
-               \type Staff = treble <
+       \context GrandStaff <
+               \context Staff = treble <
                        \global
                        \hoyreEn
                >
-               \type Staff = bass <
+               \context Staff = bass <
                        \global
                        \venstreEn
                >
index d121ae998cc1c9294bd48e35dfd8c96fd5e1cc38..87bc4fdc06cf22964a7f10c82ed03cf4fdc4d857 100644 (file)
@@ -10,7 +10,7 @@
 %% 
 %% Noe liknende skjer ogsÃ¥ i mellom andre og tredje stemme i takt 28
 
-\version "1.0.14";
+\version "1.0.16";
 
 global = \notes{
        \time 2/4;
@@ -21,7 +21,7 @@ global = \notes{
        \bar "|.";
 }
 
-vOne = \type Voice = voiceOne \notes\relative c''{
+vOne = \context Voice = voiceOne \notes\relative c''{
        r8 g c4~ |      
        [c8 d16 c][b a g f] |
        [es8 g' d, f'] |
@@ -142,7 +142,7 @@ vOne = \type Voice = voiceOne \notes\relative c''{
        <c2 g es>
 }
 
-vTwo = \type Voice = voiceTwo \notes\relative c{
+vTwo = \context Voice = voiceTwo \notes\relative c{
        es4 r8 es |
        f4 r8 bes |
        c4. b8 |
@@ -263,7 +263,7 @@ vTwo = \type Voice = voiceTwo \notes\relative c{
        \property Voice.hshift = 0
        c4 b8 |
 }
-vThree = \type Voice = voiceThree \notes\relative c{
+vThree = \context Voice = voiceThree \notes\relative c{
        \stemdown
        c4 r8 c |
        d4 r |
@@ -386,7 +386,7 @@ vThree = \type Voice = voiceThree \notes\relative c{
        <c2 c,>
 }
 
-vOneSwitch = \type Voice = voiceOne \notes{
+vOneSwitch = \context Voice = voiceOne \notes{
        s2*4
 %5
        \stemup s2*17
@@ -414,7 +414,7 @@ vOneSwitch = \type Voice = voiceOne \notes{
        \stemboth
 }
 
-vTwoSwitch = \type Voice = voiceTwo \notes{
+vTwoSwitch = \context Voice = voiceTwo \notes{
        \stemup s2*4 
 %5
        \stemdown \translator Staff = treble s2*17
@@ -449,7 +449,7 @@ vTwoSwitch = \type Voice = voiceTwo \notes{
        \translator Staff = treble \stemdown s2*35
 }
 
-vThreeSwitch = \type Voice = voiceThree \notes{
+vThreeSwitch = \context Voice = voiceThree \notes{
        \stemdown s2*6
 %7
        \stemboth s2*21
@@ -477,13 +477,13 @@ vThreeSwitch = \type Voice = voiceThree \notes{
 }
 
 \score{
-       \type GrandStaff<
-               \type Staff = treble <
+       \context GrandStaff<
+               \context Staff = treble <
                        \global
                        \vOneSwitch
                        \vOne
                >
-               \type Staff = bass <                    
+               \context Staff = bass <                 
                        \clef bass;
                        \global
                        \vTwoSwitch
index 891ff5acfef22ffac958f21cf5f6dba433fc25bf..7bd1dd7b5f56ae199c94193b4303cbf1efbb7385 100644 (file)
@@ -10,7 +10,7 @@
   copyright =   "Public Domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 global = \notes {
        \time 4/4;
@@ -29,7 +29,7 @@ hoyreOpp = \notes\relative c''  {
        [as8. as16] [as16 g32 f g16. d32] es4 r16 [g g. as32] |
 %3
        bes4 r16 [bes,16 bes. c32] [des8. des16] 
-       \type Staff < 
+       \context Staff < 
                { \stemup e4 }
                { \stemup \property Voice.hshift = 1 [des16 c32 bes c16. g32] }
        >
@@ -38,7 +38,7 @@ hoyreOpp = \notes\relative c''  {
        c4 ~ [c32 es des c des16. f32] [b,16. c32 b16. c32] d4 ~ |
        d2 ~ [d16. g,32 a16. b32] [c16. <b32 g> <c16. a> <d32 b>] |
        <[es8. c> <es16 c>]
-       \type Staff <
+       \context Staff <
                { \stemup fis4 }
                { \stemup \property Voice.hshift = 1 [es16 d32 c d16. a32] }
        > g2
@@ -66,7 +66,7 @@ venstreOpp = \notes\relative c' {
        <c as f> r r16 <[as d,><as. d,><g32 d>] <g4 d> |
 %5
        r16 <[g c,><g. c,><f32 c>] 
-       \type Staff <
+       \context Staff <
                {\stemup f4~ f}
                {\stemup c4 d}
        > r16 [f f. g32] |
@@ -79,7 +79,7 @@ venstreNed = \notes\relative c{
        \stemdown
        c4 r c r | r c c r | c r r c | c r r16 [c c. bes32] bes4 |
        r16 [bes bes. as32] as4_"tr" g r16 [d' d. es32] |
-       \type Staff <
+       \context Staff <
                { \stemdown \property Voice.hshift = 1 [f8. f16] [b,8. b16] g4 r | }
                { \stemdown s4 g}
        >
@@ -134,7 +134,7 @@ andanteEn = \notes\relative c''{
        [bes'8-\fermata~ bes32 a g fis] [g bes a g fis e d c] [bes d c es d g fis e]
        [d c bes a bes d bes g] |
        r16 [e'32 fis fis16.-\prall \times 2/3 { e64 fis g] }  
-       \type Staff <
+       \context Staff <
                {       \stemup  
                        [bes,32 a g fis g32 bes16.~] [bes16 c32 bes a bes c a] [fis8. g16] }
                {       \stemdown s8 g8 ~ g4 d}
@@ -168,10 +168,10 @@ andanteTo = \notes\relative c{
 %26
        [c16 d32 es f g as bes] [c16 c, c'8~] [c32 c, d es f g as bes][c16 c, c'8~]|
        [c c,] [bes bes'] [fis d] [g es] |
-       \type Staff <
+       \context Staff <
                {       \stemup <g4 e> r <d'2 bes g> |
                        cis4~ [cis8. cis16] [d8 c16 bes] 
-                       \type Staff <   
+                       \context Staff <        
                                { \stemup [a bes c8] }
                                { \stemdown a4 } >
                | }
@@ -248,7 +248,7 @@ allegroEn = \notes\relative c''{
        [c g' c, bes] [c d e f] [es g c, bes] |
        [c g' f e] [f c f g] [as bes c d] | [es d c d] [es8 f16 g] [as8 des,] |
        [f b,] [d g,] [g'16 f es d] | 
-       \type Staff <
+       \context Staff <
                { \stemup [es8. c16] c4 ~ [b8.-\prall c16] | c2-\fermata }
                { \stemdown r8 r16 <a16 es> <g2 d> | <g es> }
        >
@@ -256,7 +256,7 @@ allegroEn = \notes\relative c''{
 allegroTo = \notes\relative c'{
        \clef bass;
 %30
-       \type Staff <
+       \context Staff <
                { \stemup <b8 g> r r4 r }
                { \stemdown g,8 r8 r4 r }
        >
@@ -320,13 +320,13 @@ allegroTo = \notes\relative c'{
 }
 
 \score {
-     \type GrandStaff < 
-      \type Staff = treble < 
+     \context GrandStaff < 
+      \context Staff = treble < 
         \global 
         { \hoyreOpp \andanteEn \allegroEn }
         \hoyreNed
       >
-      \type Staff = bass <
+      \context Staff = bass <
         \global
         { \venstreOpp \andanteTo \allegroTo }
        \venstreNed
index 757db58c92f86b5e848b84ccd6099868351d242f..9659b5d23b993ad26bd31e5b8355dff426b7c8c8 100644 (file)
@@ -12,11 +12,11 @@ enteredby =  "jcn";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
-% upper = \type Staff \notes\relative c {
-upper = \type Staff=upper \notes\relative c {
-       \type Voice=i
+% upper = \context Staff \notes\relative c {
+upper = \context Staff=upper \notes\relative c {
+       \context Voice=i
        \property Voice . textstyle = "italic"
 % rediculous dim...
 %      r16\p_"legato"\< g''-1( c-3 )e-5 r g,-1( c )e 
@@ -41,7 +41,7 @@ upper = \type Staff=upper \notes\relative c {
        % ugh arpeggio
        <
                { \stemup f4 r }
-               \type Voice=ii { \stemdown <g,4 d'> r }
+               \context Voice=ii { \stemdown <g,4 d'> r }
        >
        \stemboth 
        \translator Staff=lower\stemup
@@ -78,16 +78,16 @@ upper = \type Staff=upper \notes\relative c {
        es-2 fis-3 a-4 c-5 
        < 
                { \stemup r c8 b16 }
-               \type Voice=ii { \stemdown  d,8 f-2 }
+               \context Voice=ii { \stemdown  d,8 f-2 }
        >
        \stemboth |
        <c1\mf g e>
        \bar "|.";
 }
 
-% lower = \type Staff \notes\relative c{
-lower = \type Staff=lower \notes\relative c{
-       \type Voice=i
+% lower = \context Staff \notes\relative c{
+lower = \context Staff=lower \notes\relative c{
+       \context Voice=i
        \property Voice . textstyle = "roman"
        c4-5 e-3 g-\mordent^"(\\textsharp)" g,4 |
        d'4-\mordent-5 f-3 a-\mordent^"(\\textsharp)" a,4 |
@@ -100,7 +100,7 @@ lower = \type Staff=lower \notes\relative c{
        g' r s s | s s s s \clef "bass"; |
        <
                { \stemup g1 ~ g ~ g ~ g ~ g ~ g ~ g }
-               \type Voice=ii { \stemdown g,1 ~ g ~ g ~ g ~ g ~ g ~ g }
+               \context Voice=ii { \stemdown g,1 ~ g ~ g ~ g ~ g ~ g ~ g }
        >
        <c,1 c,>
        \bar "|.";
@@ -112,12 +112,12 @@ global = \notes{
 
 \score{
        % Moderato
-       \type GrandStaff <
-               \type Staff = upper <
+       \context GrandStaff <
+               \context Staff = upper <
                        \global
                        \upper
                >
-               \type Staff = lower <
+               \context Staff = lower <
                        \global
                        \clef "bass";
                        \lower
index 91b3d1eab89daa9e074cdea1b97484193d151a2a..1b6a870fd137b0c3fabc9199de3db64409a48ad3 100644 (file)
@@ -10,37 +10,37 @@ enteredby =  "jcn";
 copyright =     "public domain";
 }
 
-\version "1.0.14";
-upper = \type Staff \notes\relative c{
-       \type Voice=i
+\version "1.0.16";
+upper = \context Staff \notes\relative c{
+       \context Voice=i
        \property Voice . textstyle = "italic"
        r8\mf c'-1( e-2 g-4  e-2 c-1 bes'-5 g-3 |
        )a-4\< c,-1( f-2 a-4  f c c'-5 a-3 |
        )b-4 g-1( b-2 d-4  b-2 g f'-5 \!d-3 |
        <
                {\stemup )e2-4\f r4 e-5 }
-               \type Voice = ii {\stemdown <c2 g > r4 <c g > }
+               \context Voice = ii {\stemdown <c2 g > r4 <c g > }
        >
        \stemboth |
        < 
                 { \stemup d2-4 r4 d-4 }
-                \type Voice = ii { \stemdown <c2 a > r4 <c a > }
+                \context Voice = ii { \stemdown <c2 a > r4 <c a > }
        >
        \stemboth |
        < 
                 { \stemup d8 }
-                \type Voice = ii { \stemdown <b 8 g > }
+                \context Voice = ii { \stemdown <b 8 g > }
        >
        \stemboth 
        g, 8-1\mf( b-2 d-4 
        <
                { \stemup )b 4 e-5 }
-               \type Voice = ii { \stemdown g, 4 b }
+               \context Voice = ii { \stemdown g, 4 b }
        >
        \stemboth |
        <
                { \stemup c2 r4 < {c-5 ~ c8} {a 4 ~ a 8} > }
-               \type Voice=ii { \stemdown c2 r4 e, 4 ~ e 8 }
+               \context Voice=ii { \stemdown c2 r4 e, 4 ~ e 8 }
        >
        \stemboth 
        d,-1\p( fis-2 a-4  fis-2 d-1 c'-5 a-3 |
@@ -49,7 +49,7 @@ upper = \type Staff \notes\relative c{
        )fis-4 a,-1( c-2 fis-4  c a a'-5 \!fis-3 |
        <
                { \stemup )g2-5\f }
-               \type Voice = ii { \stemdown <d2 b > }
+               \context Voice = ii { \stemdown <d2 b > }
        >
        \stemboth 
        r4 b4-2( |
@@ -59,22 +59,22 @@ upper = \type Staff \notes\relative c{
        g4-5\ff
        <
                { \stemup c,2-5 b 4-4 }
-               \type Voice=ii { \stemdown g 2-2 d 4-1 }
+               \context Voice=ii { \stemdown g 2-2 d 4-1 }
        >
        \stemboth 
        <
                { \stemup c1^5 }
-               \type Voice=ii { \stemdown e, 1_1}
+               \context Voice=ii { \stemdown e, 1_1}
        >
        \stemboth 
        \bar "|.";
 }
 
-lower = \type Staff \notes\relative c{
-       \type Voice=i
+lower = \context Staff \notes\relative c{
+       \context Voice=i
        <
                { \stemup c1 ~ | c ~ | c }
-               \type Voice=ii { \stemdown c,1 ~ | c ~ | c }
+               \context Voice=ii { \stemdown c,1 ~ | c ~ | c }
        >
        \stemboth |
        r8 c-5( e-3 g-1  e-3 c-5 c' e,-4 |
@@ -100,12 +100,12 @@ global = \notes{
 }
 
 \score{
-       \type GrandStaff <
-               \type Staff = upper <
+       \context GrandStaff <
+               \context Staff = upper <
                        \global
                        \upper
                >
-               \type Staff = lower <
+               \context Staff = lower <
                        \global
                        \clef "bass";
                        \lower
index 757de5889b6ade39084a6561df9a7626717a5fd2..9e8c5b9bb22da37616f1d398fb345516ce6bb415 100644 (file)
@@ -8,10 +8,10 @@ composer =    "Johann Sebastian Bach (1685-1750)";
 enteredby =    "jcn";
 copyright =    "public domain";
 }
-\version "1.0.14";
+\version "1.0.16";
 
-one = \type Staff \notes\relative c {
-       \type Voice=i
+one = \context Staff \notes\relative c {
+       \context Voice=i
        \property Voice . textstyle = "italic"
 %      r16\p_"legato" 
        r16\p
@@ -69,8 +69,8 @@ one = \type Staff \notes\relative c {
        \bar "|.";
 }
 
-two = \type Staff \notes\relative c{
-       \type Voice=ii
+two = \context Staff \notes\relative c{
+       \context Voice=ii
        \stemup
        \property Voice . textstyle = "finger"
        fis4-1( e8-2 a4 a4 gis8-2 | 
@@ -116,7 +116,7 @@ two = \type Staff \notes\relative c{
        \translator Staff=lower \stemup
        <
                { \stemup  d8-2 a~ a4 }
-               \type Voice=ii { \stemdown  a8-1 g  fis16-2 e-1 fis-2 d-1 }
+               \context Voice=ii { \stemdown  a8-1 g  fis16-2 e-1 fis-2 d-1 }
        >
        \stemup 
        g-1 fis-2 g-1 a-2  g-1 b-3 a-2 g-1 ~ |
@@ -125,7 +125,7 @@ two = \type Staff \notes\relative c{
 }
 
 three = \notes\relative c{
-       \type Voice=iii
+       \context Voice=iii
        \stemdown 
        d4-3 c-4 b e-3 |
        a16 a,-5\mf( cis-3 a-5  d-2 e-1 fis-2 d-4 
@@ -161,9 +161,9 @@ three = \notes\relative c{
        d a-2~  a16 a-2 b cis-2 d2 |
 }
 
-four = \type Staff \notes\relative c{
+four = \context Staff \notes\relative c{
        \skip 1*9;
-       \type Voice=iv
+       \context Voice=iv
        \stemup
        \property Voice.hshift = 1 
        %10
@@ -189,13 +189,13 @@ global = \notes{
 
 \score{
        % Allegretto
-       \type GrandStaff <
-               \type Staff = upper <
+       \context GrandStaff <
+               \context Staff = upper <
                        \global
                        \one
                        \four
                >
-               \type Staff = lower <
+               \context Staff = lower <
                        \global
                        \clef "bass";
                        \two
index 7073930a1e7cecd7de0984faf645b9647b7f5c23..30d30a0bde9504be3d23f533ed69268291836bec 100644 (file)
@@ -8,12 +8,12 @@ composer =    "Johann Sebastian Bach (1685-1750)";
 enteredby =    "jcn";
 copyright =    "public domain";
 }
-\version "1.0.14";
+\version "1.0.16";
 
 
-upper = \type Staff \notes\relative c{
+upper = \context Staff \notes\relative c{
        \property Voice . textstyle = "italic"
-       \type Voice=i
+       \context Voice=i
 %      d'8-1\p a'-5-"legato" f-3 d-1 a'-5 f-3 |
        d'8-1\p a'-5 f-3 d-1 a'-5 f-3 |
        d-1 a'-5 f-3 d-1 a'-5 f-3 |
@@ -35,7 +35,7 @@ upper = \type Staff \notes\relative c{
                        c4-\mordent^"(\\textsharp)" r r
                        \property Voice . textstyle = "italic"
                }
-               \type Voice=ii { \stemdown a4 r r | a4 r r }
+               \context Voice=ii { \stemdown a4 r r | a4 r r }
        > |
        \stemboth 
        a'8\mf( es-3\> d c bes!-3 a |
@@ -55,7 +55,7 @@ upper = \type Staff \notes\relative c{
 %                      cis8-\prall e8-5-"poco cresc." cis-3 a e' cis 
                        cis8-\prall e8-5 cis-3 a e' cis 
                }
-               \type Voice=ii { \stemdown a4 }
+               \context Voice=ii { \stemdown a4 }
        >
        \stemboth 
        a8 e'-5 cis a bes!-3 a |
@@ -94,7 +94,7 @@ upper = \type Staff \notes\relative c{
                        \stemup 
                        f4-4\> ~ | [\!f8 e] [e32-4 f e8.] ~ [e8 d-3]
                }
-               \type Voice=ii { \stemdown <d4 a> r4 cis-2 }
+               \context Voice=ii { \stemdown <d4 a> r4 cis-2 }
        > |
        \stemboth 
        d8-4 c!-3 a-1 d-4 bes-2 g-1 |
@@ -104,14 +104,14 @@ upper = \type Staff \notes\relative c{
        a-5 fis d g-5 e cis-2 |
        <
                { \stemup <fis2-.-5\p a,> }
-               \type Voice=ii { \stemdown  [d32( cis d8.] ~ ) d2 }
+               \context Voice=ii { \stemdown  [d32( cis d8.] ~ ) d2 }
        > |
        \bar "|.";
 }
 
 
-lower = \type Staff \notes\relative c{
-       \type Voice=i
+lower = \context Staff \notes\relative c{
+       \context Voice=i
 %      d32( cis )d8. r4 r |
        d4-\mordent r r |
        d,4 r r |
@@ -186,12 +186,12 @@ global = \notes{
 
 \score{
        % Moderato
-       \type GrandStaff <
-               \type Staff = upper <
+       \context GrandStaff <
+               \context Staff = upper <
                        \global
                        \upper
                >
-               \type Staff = lower <
+               \context Staff = lower <
                        \global
                        \clef "bass";
                        \lower
index dd1472ae6a2a110633884ad6ccb4d4560ab9265b..040a27c6a2e1777f67a61d3e9e53e1702b374dc4 100644 (file)
@@ -8,11 +8,11 @@ composer =    "Johann Sebastian Bach (1685-1750)";
 enteredby =    "jcn";
 copyright =    "public domain";
 }
-\version "1.0.14";
+\version "1.0.16";
 
 
-one = \type Staff \notes\relative c{
-       \type Voice=i
+one = \context Staff \notes\relative c{
+       \context Voice=i
        \skip 1; |
        \stemup
        r4 d''2-5( cis4-4 |
@@ -33,8 +33,8 @@ one = \type Staff \notes\relative c{
        \bar "|.";
 }
 
-two = \type Staff \notes\relative c{
-       \type Voice=ii
+two = \context Staff \notes\relative c{
+       \context Voice=ii
        r16\p d''-5( c-4 bes-3  a-2 bes-3 f-1 g-2 
        a8.-\mordent bes16-1  g8.-\prall f16-1 |
        \stemdown
@@ -53,8 +53,8 @@ two = \type Staff \notes\relative c{
        fis1-2
 }
 
-three = \type Staff \notes\relative c{
-       \type Voice=iii
+three = \context Staff \notes\relative c{
+       \context Voice=iii
        \stemup
        f2-1( e-2 |
        \stemboth
@@ -76,8 +76,8 @@ three = \type Staff \notes\relative c{
        \bar "|.";
 }
 
-four = \type Staff \notes\relative c{
-       \type Voice=iv
+four = \context Staff \notes\relative c{
+       \context Voice=iv
        \stemdown 
        d2-3 cis-4 |
        \skip 1*3; |
@@ -103,13 +103,13 @@ global = \notes{
 
 \score{
        % Allegretto
-       \type GrandStaff <
-               \type Staff = upper <
+       \context GrandStaff <
+               \context Staff = upper <
                        \global
                        \one
                        \two
                >
-               \type Staff = lower <
+               \context Staff = lower <
                        \global
                        \clef "bass";
                        \three
index 40ba14ccd477549dd10ead177e2914c709be28aa..229585501f9cc10f2f2e9fffd0b7710e175c22a7 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "allemande-urtext.ly";
 
@@ -42,7 +42,7 @@ allemande_cello_global = \notes{
 allemande_cello_scripts = \notes{
 }
 
-allemande_cello_staff = \type Staff <
+allemande_cello_staff = \context Staff <
        \$allemande
        \$allemande_cello_global
        \$allemande_cello_scripts
index 401eccfdc4926acb9c95f8fce458b1fa99085fae..f6e37ada8c04630b1c7414e7fc87b5ed78df4652 100644 (file)
@@ -11,8 +11,8 @@ n = { \slurnormal }
 d = { \slurdotted }
 comma = "\\sethuge\\ \\ ,"
 
-allemande_a = \type Staff \notes \relative c {
-       \type Voice=i
+allemande_a = \context Staff \notes \relative c {
+       \context Voice=i
        \stemup
        a'16 | 
        a8 bes16()a \stemboth
@@ -70,7 +70,7 @@ allemande_a = \type Staff \notes \relative c {
 }
 
 allemande_b = \notes \relative c {
-       \type Voice=ii
+       \context Voice=ii
        \stemdown
        s16 |
        % <d'8 g' f'> s8 s2. |
@@ -98,9 +98,10 @@ allemande_b = \notes \relative c {
 %      }
 }
 
-allemande = \type Staff \notes<
+allemande = \context Staff \notes<
        \$allemande_a
        \$allemande_b
 >
 
 
+\version "1.0.16";
index f7474f22d77d186d1f2d91cbed127e2b1c827be9..e59035d9a8ee991e21673460b3800d2313b1112c 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "allemande-urtext.ly";
 
@@ -42,7 +42,7 @@ allemande_viola_global = \notes{
 allemande_viola_scripts = \notes{
 }
 
-allemande_viola_staff = \type Staff <
+allemande_viola_staff = \context Staff <
        \notes \transpose c'' \$allemande
        \$allemande_viola_global
        \$allemande_viola_scripts
index 9b29acde14ddb89250979c2f2c3ae064278e1aaf..4ef6fb8f48867a3d3cc066cf9a6a0e791bb6c197 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "courante-urtext.ly";
 
@@ -43,7 +43,7 @@ courante_cello_global = \notes{
 courante_cello_scripts = \notes{
 }
 
-courante_cello_staff = \type Staff <
+courante_cello_staff = \context Staff <
        \$courante
        \$courante_cello_global
        \$courante_cello_scripts
index e665ec7b1b4d4fbcb733258a04b7f6d138ebce04..25d8b797f2beb70de21bede477790450a97b9584 100644 (file)
@@ -10,8 +10,8 @@ But merging melodic and scripts doen't work too well yet (see viola_scripts).
 n = { \slurnormal }
 d = { \slurdotted }
 
-courante_a = \type Staff \notes \relative c {
-       \type Voice=i
+courante_a = \context Staff \notes \relative c {
+       \context Voice=i
        d'16 |
        d a f a d, f g a \d bes()a bes()g |
        \stemup <g4 a> s4 \stemboth \d g16()f g()e |
@@ -62,7 +62,7 @@ courante_a = \type Staff \notes \relative c {
 }
 
 courante_b = \notes \relative c {
-       \type Voice=ii
+       \context Voice=ii
        \stemdown
        s16 |
        s2. |
@@ -86,8 +86,9 @@ courante_b = \notes \relative c {
        s2 s8.
 }
 
-courante = \type Staff \notes<
+courante = \context Staff \notes<
  \$courante_a
  \$courante_b
 >
 
+\version "1.0.16";
index ee0f6c4f9e93dfd08d4aa7995431d64231580226..3205773dcb8e1548e93cfe094d3437db64c548c5 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "courante-urtext.ly";
 
@@ -43,7 +43,7 @@ courante_viola_global = \notes{
 courante_viola_scripts = \notes{
 }
 
-courante_viola_staff = \type Staff <
+courante_viola_staff = \context Staff <
        \notes \transpose c' \$courante
        \$courante_viola_global
        \$courante_viola_scripts
index a60db7abd6621ad444fbce0211a84d9f7aa63298..439eed58abe91949dc49a778f42ef64aeba27cf9 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "gigue-urtext.ly";
 
@@ -41,7 +41,7 @@ gigue_cello_global = \notes{
 gigue_cello_scripts = \notes{
 }
 
-gigue_cello_staff = \type Staff <
+gigue_cello_staff = \context Staff <
        \$gigue
        \$gigue_cello_global
        \$gigue_cello_scripts
index 87aa2b5553fe70a23361239a307db3133dbaf0d0..ebffb4bbbf23a89dadcfc7df38203c32acdfd910 100644 (file)
@@ -16,8 +16,8 @@ d = { \slurdotted }
 % * slurs/ties in two different threads (like beams): urtext, and additionals
 % 
 
-gigue_notes = \type Staff \notes \relative c {
-       \type Voice=i
+gigue_notes = \context Staff \notes \relative c {
+       \context Voice=i
        a'8 |
        d,4 bes'8 | cis,4 g'8 | f16 e f g a8 |
        d,4 d'8 | e,16(f)g8 bes | c,16(d)e8 c' | a16 g a bes c a |
@@ -72,8 +72,8 @@ gigue_notes = \type Staff \notes \relative c {
        d4
 }
 
-gigue_b = \type Staff \notes \relative c {
-       \type Voice=ii
+gigue_b = \context Staff \notes \relative c {
+       \context Voice=ii
        \stemdown
        s8
        s4.*14
@@ -97,7 +97,7 @@ gigue_b = \type Staff \notes \relative c {
        <g4 e'>
 }
 
-gigue_a = \type Voice \notes<
+gigue_a = \context Voice \notes<
        \$gigue_notes
 >
 
@@ -106,3 +106,4 @@ gigue = \notes<
        \$gigue_b
 >
 
+\version "1.0.16";
index ab4becc7b827757de68eee3ee0ff142aa53a44aa..72be38e830451e3aae51b5f4b8c05aef8471d7de 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "gigue-urtext.ly";
 
@@ -41,7 +41,7 @@ gigue_viola_global = \notes{
 gigue_viola_scripts = \notes{
 }
 
-gigue_viola_staff = \type Staff <
+gigue_viola_staff = \context Staff <
        \notes \transpose c' \$gigue
        \$gigue_viola_global
        \$gigue_viola_scripts
index 94da30920d8914e657d160653841b2ecff274f39..d7003409d47a87ca8ee07daded9ffe91c98390ae 100644 (file)
@@ -16,7 +16,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "menuetto-urtext.ly";
 
@@ -35,7 +35,7 @@ menuetto_i_cello_global = \notes{
 }
 
 menuetto_i_cello_scripts = \notes{
-       \type Voice=i
+       \context Voice=i
        s2.
        s8^"~"^1_2_4 s8 s4 s^4
        s4^0_1 s_4 s
@@ -55,7 +55,7 @@ menuetto_i_cello_scripts = \notes{
        s8^2_3 s s s^1 s4^1
 }
 
-menuetto_i_cello_staff = \type Staff <
+menuetto_i_cello_staff = \context Staff <
        \$menuetto_i
        \$menuetto_i_cello_global
 %      \$menuetto_i_cello_scripts
@@ -90,7 +90,7 @@ menuetto_ii_cello_global = \notes{
 
 }
 
-menuetto_ii_cello_staff = \type Staff <
+menuetto_ii_cello_staff = \context Staff <
        \$menuetto_ii
        \$menuetto_ii_cello_global
 %      \$menuetto_ii_cello_scripts
index 7786b53df7e8402f7e28a812674a86ee941b7903..e351e611f4a61b366180c3629ed4ffed69e01eb8 100644 (file)
@@ -7,8 +7,8 @@ Well, there are still some scripts in this "urtext".
 But merging melodic and scripts doen't work too well yet (see viola_scripts).
 %}
 
-menuetto_i_a = \type Staff \notes \relative c {
-       \type Voice=i
+menuetto_i_a = \context Staff \notes \relative c {
+       \context Voice=i
        <d2\f f a> bes'4 |
        bes8 a bes g a4 |
        <d,4 bes> g f8 e |
@@ -41,8 +41,8 @@ menuetto_i_a = \type Staff \notes \relative c {
        <d2. a d,> |
 }
 
-menuetto_i_b = \type Staff \notes \relative c {
-       \type Voice = ii
+menuetto_i_b = \context Staff \notes \relative c {
+       \context Voice = ii
        \stemdown
        \slurdotted
        \skip 2.*1; |
@@ -72,7 +72,7 @@ menuetto_i_b = \type Staff \notes \relative c {
 
 % UGH, fix this like in sarabande
 menuetto_i_a_voice_urg = \notes{
-       \type Voice = i
+       \context Voice = i
        \skip 2.*1; \stemup
        \skip 2.*1; \stemboth
        \skip 2.*1; \stemup
@@ -100,7 +100,7 @@ menuetto_i_a_voice_urg_urg = \notes<
 >
 
 menuetto_i_b_voice_urg = \notes{
-       \type Voice=ii
+       \context Voice=ii
        \stemdown
        % urg urg, huh?
        \skip 2.*8; \stemdown
@@ -111,13 +111,13 @@ menuetto_i_b_voice_urg_urg = \notes<
        \$menuetto_i_b
 >
 
-menuetto_i = \type Staff \notes<
+menuetto_i = \context Staff \notes<
        { \$menuetto_i_a_voice_urg_urg }
        { \$menuetto_i_b_voice_urg_urg }
 >
 
-menuetto_ii = \type Staff\notes \relative c {
-       \type Voice=i
+menuetto_ii = \context Staff\notes \relative c {
+       \context Voice=i
        \slurdotted
        fis4^\trill d8( e fis )g |
        a4 fis, a' |
@@ -156,3 +156,4 @@ menuetto_ii = \type Staff\notes \relative c {
        d2.
 }
 
+\version "1.0.16";
index a1ff358dd3dd3f5282331d5e5c3f1f358774192d..8a2e3de470a44482b74d4244d4fad54a28453915 100644 (file)
@@ -17,7 +17,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "menuetto-urtext.ly";
 
@@ -39,7 +39,7 @@ menuetto_i_viola_global = \notes{
 }
 
 menuetto_i_viola_scripts = \notes{
-       \type Voice=i
+       \context Voice=i
        s2.
        s8^"~"^1_2_4 s8*5
        s2.*5
@@ -54,7 +54,7 @@ menuetto_i_viola_scripts = \notes{
        s4-\downbow s4-\upbow
 }
 
-menuetto_i_viola_staff = \type Staff <
+menuetto_i_viola_staff = \context Staff <
        \notes \transpose c' \$menuetto_i
        \$menuetto_i_viola_global
 %      \$menuetto_i_viola_scripts
@@ -88,7 +88,7 @@ menuetto_ii_viola_global = \notes{
        }
 }
 
-menuetto_ii_viola_staff = \type Staff <
+menuetto_ii_viola_staff = \context Staff <
        \notes \transpose c' \$menuetto_ii
        \$menuetto_ii_viola_global
 %      \$menuetto_ii_viola_scripts
index 11eea31cc56ca1769488ba35738a6e86daffecef..858a55d4aeb7425e76d778c3cd2fb56f3ffa2510 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "prelude-urtext.ly";
 
@@ -30,7 +30,7 @@ prelude_cello_global = \notes{
 prelude_cello_scripts = \notes{
 }
 
-prelude_cello_staff = \type Staff <
+prelude_cello_staff = \context Staff <
        \$prelude
        \$prelude_cello_global
        \$prelude_cello_scripts
index 36cd78f85952cdac8dedc19c9df5219c3bc9749c..e03d4d703014f599b5930930aa8cbc289a1ec194 100644 (file)
@@ -8,7 +8,7 @@ But merging melodic and scripts doen't work too well yet see viola_scripts .
 %}
 
 prelude_notes = \notes \relative c {
-       \type Voice=i
+       \context Voice=i
        d8 f a4 ~ a16 f e d |
        cis e g a bes4 ~ bes16 a g f |
        e g bes cis e8. bes16 a16 g f e |
@@ -89,7 +89,7 @@ prelude_notes = \notes \relative c {
 }
 
 prelude_b = \notes \relative c {
-       \type Voice=ii
+       \context Voice=ii
        \stemdown
        s2.*47
        %48
@@ -118,7 +118,7 @@ fig5 = \notes{ \slurnormal s8.()s16 }
 
 % of course, i just type fig1, and add the \ and the silly $ later
 prelude_slurs = \notes{
-       \type Voice=i
+       \context Voice=i
        s4 s4 \$fig3 |
        \$fig1 s4 \$fig3 |
        \$fig1 s4 \$fig3 |
@@ -200,7 +200,7 @@ fig5 = \notes{ \slurdotted s8.()s16 }
 fig6 = \notes{ \slurdotted s16()s \slurdotted s()s }
 
 prelude_suggested_slurs = \notes{
-       \type Voice=i
+       \context Voice=i
        \slurdotted
        s2. |
        s2. |
@@ -275,8 +275,9 @@ prelude_a = \notes<
        \$prelude_suggested_slurs
 >
 
-prelude = \type Staff \notes<
+prelude = \context Staff \notes<
        \$prelude_a
        \$prelude_b
 >
 
+\version "1.0.16";
index 542888a99bd89a8d591f6a4a61f6fc969403b287..47816c7ac65a811e71c124bfe6c8a696b14e084c 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "prelude-urtext.ly";
 
@@ -30,7 +30,7 @@ prelude_viola_global = \notes{
 prelude_viola_scripts = \notes{
 }
 
-prelude_viola_staff = \type Staff <
+prelude_viola_staff = \context Staff <
        \notes \transpose c' \$prelude
        \$prelude_viola_global
        \$prelude_viola_scripts
index 9abe3b887eb68108aac5d161afa25dd47b903e69..e7e8cd846f15cfb1b72f68a4ca3e96ac656d14cf 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "sarabande-urtext.ly";
 
@@ -33,7 +33,7 @@ sarabande_cello_global = \notes{
 sarabande_cello_scripts = \notes{
 }
 
-sarabande_cello_staff = \type Staff <
+sarabande_cello_staff = \context Staff <
        \$sarabande
        \$sarabande_cello_global
        \$sarabande_cello_scripts
index 0ff1a86066073a253c7984ea22f31e62736f7f2b..2cf94f0089c797e6f0fbafb92579f3839d4f0982 100644 (file)
@@ -10,8 +10,8 @@ But merging melodic and scripts doen't work too well yet (see viola_scripts).
 n = { \slurnormal }
 d = { \slurdotted }
 
-sarabande_a = \type Staff \notes \relative c {
-       \type Voice=i
+sarabande_a = \context Staff \notes \relative c {
+       \context Voice=i
        \stemup \d d8.()e16 e4.-\trill( d16 )e |
        f4. \stemboth e8(d)c |
        bes g' \n f e16(f g a bes)d, |
@@ -49,8 +49,8 @@ sarabande_a = \type Staff \notes \relative c {
        d4 d,,2 |
 }
 
-sarabande_b = \type Staff \notes \relative c {
-       \type Voice=ii
+sarabande_b = \context Staff \notes \relative c {
+       \context Voice=ii
        \stemdown
 % dispute
 %      d4 a2 |
@@ -87,8 +87,9 @@ sarabande_b = \type Staff \notes \relative c {
 }
 
 
-sarabande = \type Staff \notes<
+sarabande = \context Staff \notes<
        \$sarabande_a
        \$sarabande_b
 >
 
+\version "1.0.16";
index 9c1cea87a657c73927d435409ca28496220b005b..cdefd2bacc564a38489dc6bb0c1dd5d2369901ae 100644 (file)
@@ -15,7 +15,7 @@ copyright =    "public domain";
  dotted slurs
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "sarabande-urtext.ly";
 
@@ -33,7 +33,7 @@ sarabande_viola_global = \notes{
 sarabande_viola_scripts = \notes{
 }
 
-sarabande_viola_staff = \type Staff <
+sarabande_viola_staff = \context Staff <
        \notes \transpose c' \$sarabande
        \$sarabande_viola_global
        \$sarabande_viola_scripts
index e36eb7a01b9efc36039bfe4a9d23793436075a00..9d6ea2e36f4a4c27ab3f56bc14797247a5d79a67 100644 (file)
@@ -11,8 +11,9 @@ copyright =    "Public Domain";
 \include "global-i.ly"
 \include "violoncello-i.ly";
 
-$viola_i_staff = \type Staff = viola <
+$viola_i_staff = \context Staff = viola <
        \notes\transpose c'' \$violoncello_i
        \clef alto;
        \$global_i
 >
+\version "1.0.16";
index f365d06a7b7ca582588aed9a1a96d68f5aea78d8..c6791b7e2e7cd52c20989b3e3addef83b4cd5642 100644 (file)
@@ -28,7 +28,7 @@ $violino_i = \notes\relative c'' {
 
 \include "global-i.ly"
 
-$violino_i_staff = \type Staff = violino <
+$violino_i_staff = \context Staff = violino <
        <
                %urg
                % \notes\property Voice.textstyle = "large" s4^"Moderato"
@@ -37,3 +37,4 @@ $violino_i_staff = \type Staff = violino <
        >
        \$global_i
 >
+\version "1.0.16";
index c6cb61238f2d59399414bcfd0f91e314ce51a760..81f1c355567eed28ea649af2b76e9fb88feb5f94 100644 (file)
@@ -12,7 +12,7 @@ copyright =    "Public Domain";
 \include "viola-i.ly";
 
 \score{
-       \type GrandStaff <
+       \context GrandStaff <
                \$violino_i_staff
                \$viola_i_staff
        >
@@ -30,3 +30,4 @@ copyright =    "Public Domain";
        }
 }
 
+\version "1.0.16";
index 0f8791a743e3ef98e603e55478045234bfeb59b0..5d0fb5931bec1adfd360ffa2a7eb8fca2491ae72 100644 (file)
@@ -12,7 +12,7 @@ copyright =    "Public Domain";
 \include "violoncello-i.ly";
 
 \score{
-       \type GrandStaff <
+       \context GrandStaff <
                \$violino_i_staff
                \$violoncello_i_staff
        >
@@ -30,3 +30,4 @@ copyright =    "Public Domain";
        }
 }
 
+\version "1.0.16";
index d0c82d60a55e9251a3e61669246639117ea4bf6b..c886a77fa3cc7ae0bcf649f713a8c2a7415cd1f1 100644 (file)
@@ -23,8 +23,9 @@ $violoncello_i = \notes\relative c{
 
 \include "global-i.ly"
 
-$violoncello_i_staff = \type Staff = violoncello <
+$violoncello_i_staff = \context Staff = violoncello <
        \$violoncello_i
        \clef bass;
        \$global_i
 >
+\version "1.0.16";
index 229e4165cd0b12abeef864f206ce7e9770afd5ca..811c309f501b31c239c2cfa49aa52feca9573ee6 100644 (file)
@@ -11,7 +11,7 @@ copyright =    "Public Domain";
 %{
        
 %}
-\version "1.0.14";
+\version "1.0.16";
 
 
 global = 
@@ -183,13 +183,13 @@ bass =
 
        
 \score {
-       \notes \type GrandStaff < 
-               \type Staff = one <
+       \notes \context GrandStaff < 
+               \context Staff = one <
                        \global 
                        \soprane
                        \tenor
                >
-               \type Staff = two <
+               \context Staff = two <
                        \global
                        \alt
                        \bass
index 187bb83512713fea0b5749321e5aaa88ef4bedd1..c8a4f036bfc8ad074b793317531ae80cbf2d1938 100644 (file)
@@ -19,7 +19,7 @@
    * auto beaming
 %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "nederlands.ly"                 % for correct parsing of note names
 
@@ -31,7 +31,7 @@ global = \notes {
   \bar "|."; |
 }
   
-dux = \type Voice=two \notes \relative c''{
+dux = \context Voice=two \notes \relative c''{
   \voicetwo
   \clef violin;
 
@@ -83,7 +83,7 @@ dux = \type Voice=two \notes \relative c''{
 }
 
 
-comes = \type Voice=one \notes \relative c'' {
+comes = \context Voice=one \notes \relative c'' {
   \voiceone
   R1 |
   R1 |
@@ -124,7 +124,7 @@ comes = \type Voice=one \notes \relative c'' {
   f,16 g as4 g16 f e2 |
 }
 
-bassdux = \type Voice=three \notes \relative c' {
+bassdux = \context Voice=three \notes \relative c' {
   \clef bass;
   R1 |
   R |
@@ -163,21 +163,21 @@ bassdux = \type Voice=three \notes \relative c' {
   f,16 g as4 g16 f es4 r8 es' |
   d c g' g, 
 %%30
-  \type Staff=bass <
+  \context Staff=bass <
     {\stemup c2 ~ | c1 ~ | c1 }
-    \type Voice=four {\stemdown c,2 ~ | c1 ~ | c1 }
+    \context Voice=four {\stemdown c,2 ~ | c1 ~ | c1 }
   >
 }
 
 \score {
  
-    \type PianoStaff < 
-       \type Staff = treble < 
+    \context PianoStaff < 
+       \context Staff = treble < 
            \global 
            \dux
            \comes 
          >
-       \type Staff = bass <
+       \context Staff = bass <
            \global
            \bassdux
        >
index 0070af7015a68a8fb0b97f323a7b07895a8ec4aa..de30f92b85fee758f23457954df4cb57e7d5fd7f 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "Shay Rojansky";
 copyright =     "Public Domain";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 global = 
     \notes {
@@ -22,7 +22,7 @@ soprane =
     \notes \transpose c'' {
         \clef "violin";
 
-       \type Staff <
+       \context Staff <
        % Real soprane
        {\stemup
        r8 [g16 c'] [e' g c' e'] r8 [g16 c'] [e' g c' e'] |
@@ -93,7 +93,7 @@ bass =
        b b |
        a a |   
 %% 10
-       \type Staff <
+       \context Staff <
        % Alt
        {\stemup
        r16 a8. ~ a4 r16 a8. ~ a4 |
@@ -161,7 +161,7 @@ bass =
 
         
 \score {
-    \notes \type GrandStaff < 
+    \notes \context GrandStaff < 
                   <
                        \global 
                        \soprane
index f7d2ed958985e9ec16c184a30f2f8577188a8be2..a95eefa96054ef7d896e8bd4d700e71fa4fe6908 100644 (file)
@@ -47,7 +47,7 @@ tempi = \notes{
 }
 
 dynamics = \notes{
-       \type Voice=i
+       \context Voice=i
        s16\f s8. s4 | s2*17
        s8\p s4. | s8\f s4. | s2*4
        s8\p s4. | s8\f s4. | s2*29
@@ -61,7 +61,7 @@ dynamics = \notes{
 
 
 violinoi = \notes \relative c'{
-       \type Voice=i
+       \context Voice=i
        \clef "violin";
        \stemup
        [<g8 d' b' g'> g'' g g] \stemboth | [g16 a b a] [g a b a] |
@@ -156,7 +156,7 @@ violinoi = \notes \relative c'{
 }
 
 violinoii = \notes \relative c'{
-       \type Voice=i
+       \context Voice=i
        \clef "violin";
        \stemup [<g8 d' b' g'> g'' g g] \stemboth | [b,16 c d c] [b c d c] |
        \stemup [<g,8 d' b' g'> g'' g g] \stemboth | [b,16 c d c] [b c d c] |
@@ -250,7 +250,7 @@ violinoii = \notes \relative c'{
 }
 
 viola = \notes \relative c'{
-       \type Voice=i
+       \context Voice=i
        \clef "alto";
        [b16 c d c] [b c d c] | [b8 b b b] | 
        [b16 c d c] [b c d c] | [b8 b b b] |
@@ -312,7 +312,7 @@ viola = \notes \relative c'{
 }
 
 bassocontinuo = \notes \relative c'{
-       \type Voice=i
+       \context Voice=i
        \clef "bass";
        [g16 a b a] [g a b a] | [g8 g, g g'] |
        [g16 a b a] [g a b a] | [g8 g, g g'] | 
@@ -367,12 +367,12 @@ bassocontinuo = \notes \relative c'{
 
 
 \score{
-        \type StaffGroup <
-                \type Staff = i < %\tempi 
+        \context StaffGroup <
+                \context Staff = i < %\tempi 
                                        \global \dynamics \violinoi >
-                \type Staff = ii < \global \dynamics \violinoii >
-                \type Staff = iii < \global \dynamics \viola >
-                \type Staff = iv < \global \dynamics \bassocontinuo >
+                \context Staff = ii < \global \dynamics \violinoii >
+                \context Staff = iii < \global \dynamics \viola >
+                \context Staff = iv < \global \dynamics \bassocontinuo >
         >
         \header{
                piece="I. Allegro";
@@ -383,3 +383,4 @@ bassocontinuo = \notes \relative c'{
         \midi{ \tempo 4 = 100; }
 }
 
+\version "1.0.16";
index 53fadb17a90ae3cae107a3e1ec0ba63135ce888e..6c169067992ad6f131dc75236c031dab14b42e58 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 corI=\notes\relative c'' {
 \key c;
index 70e425f0a579f6e1944fc3d12f4487e3872a5e1f..f505db68425554e18e7d96e154c15dcc2915a188 100644 (file)
@@ -8,7 +8,7 @@ copyright =     "Mats Bengtsson, 1999. Free circulation permitted and " +
                "Statens Musikbibliotek, Stockholm, Sweden";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "wood.ly"
@@ -35,7 +35,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \global
     \marks
     \oboe
@@ -54,7 +54,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \global
     \marks
     \flauto
@@ -73,7 +73,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \globalNoKey
     \marks
     \clarI
@@ -91,7 +91,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \globalNoKey
     \marks
     \clarII
@@ -109,7 +109,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \global
     \marks
     \fagotto
@@ -127,7 +127,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \globalNoKey
     \marks
     \corI
@@ -146,7 +146,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \globalNoKey
     \marks
     \corII
@@ -165,7 +165,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \globalNoKey
     \marks
     \trpI
@@ -184,7 +184,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \globalNoKey
     \marks
     \trpII
@@ -203,7 +203,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \globalNoKey
     \marks
     \timpani
@@ -222,7 +222,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \global
     \marks
     \viI
@@ -240,7 +240,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \global
     \marks
     \viII
@@ -258,7 +258,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \global
     \marks
     \notes{s2.*32 s2*142 \break}
@@ -277,7 +277,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \global
     \marks
     \vlc
@@ -295,7 +295,7 @@ my_paper = \paper {
 }
 
 \score{
-  \type Staff <
+  \context Staff <
     \global
     \marks
     \cb
index 46e22ec750441a6ca32f8409c7388f92ebbca63f..fc2c96224d1ec2a272f9d8c2c7fb280570cce24d 100644 (file)
@@ -8,7 +8,7 @@ copyright =     "Mats Bengtsson, 1999. Free circulation permitted and " +
                "Statens Musikbibliotek, Stockholm, Sweden";
 }
 
-\version "1.0.14";
+\version "1.0.16";
 
 \include "global.ly"
 \include "wood.ly"
@@ -18,90 +18,90 @@ copyright = "Mats Bengtsson, 1999. Free circulation permitted and " +
 
 
 \score{ <
-  \type StaffGroup = wood <
-    \type Staff = flauto <
+  \context StaffGroup = wood <
+    \context Staff = flauto <
       \property Staff.instrument = "Flauto"
       \property Staff.instr = "Fl."
       \global
       \flauto
     >
-    \type Staff = oboe <
+    \context Staff = oboe <
       \property Staff.instrument = "Oboe"
       \property Staff.instr = "Ob."
       \global
       \marks
       \oboe
     >
-    \type Staff = clarI <
+    \context Staff = clarI <
       \property Staff.instrument = "Clarinetto I"
       \property Staff.instr = "Cl. I"
       \globalNoKey
       \clarI
     >
-    \type Staff = clarII <
+    \context Staff = clarII <
       \property Staff.instrument = "Clarinetto II"
       \property Staff.instr = "Cl. II"
       \globalNoKey
       \clarII
     >
-    \type Staff = fagotto <
+    \context Staff = fagotto <
       \property Staff.instrument = "Fagotto"
       \property Staff.instr = "Fg."
       \global
       \fagotto
     >
   >
-  \type StaffGroup = brass <
-    \type Staff = cor <
+  \context StaffGroup = brass <
+    \context Staff = cor <
       \globalNoKey
       \property Staff.instrument = "2 Corni in F"
       \property Staff.instr = "Cor."
-      \type Voice = corI { \stemup \corI }
-      \type Voice = corII { \stemdown \corII }
+      \context Voice = corI { \stemup \corI }
+      \context Voice = corII { \stemdown \corII }
     >
-    \type Staff = trp <
+    \context Staff = trp <
       \globalNoKey
       \property Staff.instrument = "2 Trp. in B\\textflat  "
       \property Staff.instr = "Trp."
-      \type Voice = trpI { \stemup \trpI }
-      \type Voice = trpII { \stemdown \trpII }
+      \context Voice = trpI { \stemup \trpI }
+      \context Voice = trpII { \stemdown \trpII }
     >
   >
-    \type StaffGroup = percussion <\type Staff = timpani <
+    \context StaffGroup = percussion <\context Staff = timpani <
       \property Staff.instrument = "Timpani"
       \property Staff.instr = "Timp."
       \global
       \timpani
     >
   >
-  \type StaffGroup = strings <
-%    \type GrandStaff = violins <
-      \type Staff = viI <
+  \context StaffGroup = strings <
+%    \context GrandStaff = violins <
+      \context Staff = viI <
         \property Staff.instrument = "Violin I"
         \property Staff.instr = "Vi. I"
         \global
         \viI
       >
-      \type Staff = viII <
+      \context Staff = viII <
         \property Staff.instrument = "Violin II"
         \property Staff.instr = "Vi. II"
         \global
         \viII
       >
 %    >
-    \type Staff = vla <
+    \context Staff = vla <
       \property Staff.instrument = "Viola"
       \property Staff.instr = "Vla."
       \global
       \vla
     >
-    \type Staff = vlc <
+    \context Staff = vlc <
       \property Staff.instrument = "Violoncello"
       \property Staff.instr = "Vlc"
       \global
       \vlc
     >
-    \type Staff = cb <
+    \context Staff = cb <
       \property Staff.instrument = "Contrabasso"
       \property Staff.instr = "C.B."
       \global
@@ -133,19 +133,19 @@ copyright =       "Mats Bengtsson, 1999. Free circulation permitted and " +
 }
 
 \score{
-  \type StaffGroup <
-    \type Staff = oboe \oboe
-    \type Staff = flauto \flauto
-    \type Staff = clarinetsInBes {\notes \transpose bes <\clarI \clarII >}
-    \type Staff = fagotto \fagotto
-    \type Staff = corniInF {\notes \transpose f <\corI \corII >}
-    \type Staff = trumpetsInBes {\notes \transpose bes <\trpI \trpII >}
-    \type Staff = timpani \timpani
-    \type Staff = violinoi \viI
-    \type Staff = violinoii \viII
-    \type Staff = viola \vla
-    \type Staff = violoncello \vlc
-    \type Staff = contrabass \cb
+  \context StaffGroup <
+    \context Staff = oboe \oboe
+    \context Staff = flauto \flauto
+    \context Staff = clarinetsInBes {\notes \transpose bes <\clarI \clarII >}
+    \context Staff = fagotto \fagotto
+    \context Staff = corniInF {\notes \transpose f <\corI \corII >}
+    \context Staff = trumpetsInBes {\notes \transpose bes <\trpI \trpII >}
+    \context Staff = timpani \timpani
+    \context Staff = violinoi \viI
+    \context Staff = violinoii \viII
+    \context Staff = viola \vla
+    \context Staff = violoncello \vlc
+    \context Staff = contrabass \cb
   >
   \midi {
     \tempo 4=120;
index 31a6655e2bf8897e4a8b04ca1c3cde3caf69dc14..94d79324b928d75716c0540fff388df6b86944b6 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 viI=\notes\relative c'' {
 
@@ -67,7 +67,7 @@ a4 \> ) g |
 \! a2 ( |
 [a8_"dim." g f d] |
 <{[b g ][a ) g ] |} 
-  \type Voice=x {s8.. \tiny b8}>
+  \context Voice=x {s8.. \tiny b8}>
 R2 |
 r4 r8 a'-. \mf |
 [a-. \< a-. a-. \! a-. ] |
@@ -567,7 +567,7 @@ vla=\notes\relative c' {
 \property Staff."midi_instrument" = "viola"
 
 [c8. \f ( d16 ] ) c2_"dim." |
-\type Staff <{\voiceone s4 c2 |
+\context Staff <{\voiceone s4 c2 |
   c2. ~ |
   c2. ~ |
   c2. ~ |
index ee1af5bc73a4b20565f4b1c59c80ce729264e5a7..6907277f2b8d27ea888fd3cafde334c7eacfff88 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.0.14";
+\version "1.0.16";
 
 oboe=\notes\relative c'' {
 \clef "treble";
@@ -429,7 +429,7 @@ b4 a |
 b2 ~ |
 [b8_"dim." a g ) e ] |
 <{[cis ( a  ) b a-. ] | } 
-  \type Voice = x {s8.. \tiny cis8 } >
+  \context Voice = x {s8.. \tiny cis8 } >
 [fis''-. f-. f-. e-. ] |
 [e-. \< dis-. dis-. \! d-. ] |
 d r b4 \f ~ |
index 6f32f626cde784dd44890ea36220464badf18f03..12f88e3f5030ef808a2aef3f55ac51d2152bf8cd 100644 (file)
@@ -13,12 +13,12 @@ Tested Features: cadenza mode
 Ugh.. Wish we had grace notes....  It adds another dimension to this
 piece of music.  %}
 
-\version "1.0.14";
+\version "1.0.16";
 
 
 cad = \notes  \relative c' {
        \property Score.instrument = "french horn"
-       \type Staff {
+       \context Staff {
        \cadenza 1;
        \grouping 1*4;
 
index b7068d337a3737b615d99960a288e741113a421e..9df0fa7a3e57c805d754979f24e588ed7957b3d8 100644 (file)
@@ -9,7 +9,7 @@ copyright =      "public domain";
 }
 
 
-\version "1.0.14";
+\version "1.0.16";
 
 allegro =
        \notes
index 14ca956127459c403c4af7a571bc9be5c359b4da..e1821b98a4569d3d7542679cc604bec6d469fdfb 100644 (file)
@@ -45,7 +45,7 @@ Voice engraver by uncommenting the lines in the paper
 definition below. --MB
 %} 
 
-\version "1.0.14";
+\version "1.0.16";
 
 global = \notes {
   \property StaffGroup.timeSignatureStyle = "old"
@@ -61,7 +61,7 @@ global = \notes {
   \tempo 4=80;
 }
 
-vi1=\type Staff = vi1 <
+vi1=\context Staff = vi1 <
 \global
 \notes \relative c'' {
 
@@ -133,7 +133,7 @@ vi1=\type Staff = vi1 <
   }
 }>
 
-vi2=\type Staff = vi2 <
+vi2=\context Staff = vi2 <
 \global
 \notes \relative c'' {
 
@@ -203,7 +203,7 @@ vi2=\type Staff = vi2 <
 }>
 
 
-bc=\type Staff = bc <
+bc=\context Staff = bc <
 \global
 \notes\transpose c'{
   \clef "bass";
@@ -250,7 +250,7 @@ bc=\type Staff = bc <
 }>
 
 \score{
-  \type StaffGroup <
+  \context StaffGroup <
     \vi1
     \vi2
     \bc
index e9a9decec7883155b368c72c41f4401ae84283f3..504de633a377798c262b70016a16c834bc2bbfe8 100644 (file)
@@ -8,7 +8,7 @@ enteredby =      "jcn";
 copyright =     "public domain";
 latexheaders=    "headers";
 } 
-\version "1.0.14";
+\version "1.0.16";
 
 %{
 Silly latex file dropped; use ly2dvi
@@ -295,7 +295,7 @@ global = \notes{
 }
 
 
-$staff_hoboone = \type Staff = hoboonestaff <
+$staff_hoboone = \context Staff = hoboonestaff <
        \global
        \property Staff.instrument = "oboe"
        % don't expand multi-bar rest
index 2252c25d528578a4ea56bbc0494245dc8c2083e3..388d3e6c9665f214e4319fcf4cf26932defcc281 100644 (file)
@@ -7,48 +7,49 @@
 
 (set! script-alist
       (append 
-      '(("accDiscant" . (("accDiscant"  . "accDiscant") #f 0 1 0))
-       ("accDiscantF" . (("accDiscantF" . "accDiscantF") #f 0 1 0))
-       ("accDiscantE" . (("accDiscantE" . "accDiscantE") #f 0 1 0))
-       ("accDiscantEh" . (("accDiscantEh" . "accDiscantEh") #f 0 1 0))
-       ("accDiscantFE" . (("accDiscantFE" . "accDiscantFE") #f 0 1 0))
-       ("accDiscantFEh" . (("accDiscantFEh" . "accDiscantFEh") #f 0 1 0))
-       ("accDiscantEE" . (("accDiscantEE" . "accDiscantEE") #f 0 1 0))
-       ("accDiscantFEE" . (("accDiscantFEE" . "accDiscantFEE") #f 0 1 0))
-       ("accDiscantEEE" . (("accDiscantEEE" . "accDiscantEEE") #f 0 1 0))
-       ("accDiscantFEEE" . (("accDiscantFEEE" . "accDiscantFEEE") #f 0 1 0))
-       ("accDiscantS" . (("accDiscantS" . "accDiscantS") #f 0 1 0))
-       ("accDiscantFS" . (("accDiscantFS" . "accDiscantFS") #f 0 1 0))
-       ("accDiscantES" . (("accDiscantES" . "accDiscantES") #f 0 1 0))
-       ("accDiscantEhS" . (("accDiscantEhS" . "accDiscantEhS") #f 0 1 0))
-       ("accDiscantFES" . (("accDiscantFES" . "accDiscantFES") #f 0 1 0))
-       ("accDiscantFEhS" . (("accDiscantFEhS" . "accDiscantFEhS") #f 0 1 0))
-       ("accDiscantEES" . (("accDiscantEES" . "accDiscantEES") #f 0 1 0))
-       ("accDiscantFEES" . (("accDiscantFEES" . "accDiscantFEES") #f 0 1 0))
-       ("accDiscantEEES" . (("accDiscantEEES" . "accDiscantEEES") #f 0 1 0))
-       ("accDiscantFEEES" . (("accDiscantFEEES" . "accDiscantFEEES") #f 0 1 0))
-       ("accDiscantSS" . (("accDiscantSS" . "accDiscantSS") #f 0 1 0))
-       ("accDiscantESS" . (("accDiscantESS" . "accDiscantESS") #f 0 1 0))
-       ("accDiscantEESS" . (("accDiscantEESS" . "accDiscantEESS") #f 0 1 0))
-       ("accDiscantEEESS" . (("accDiscantEEESS" . "accDiscantEEESS") #f 0 1 0))
-       ("accFreebase" . (("accFreebase" . "accFreebase") #f 0 1 0))
-       ("accFreebaseF" . (("accFreebaseF" . "accFreebaseF") #f 0 1 0))
-       ("accFreebaseE" . (("accFreebaseE" . "accFreebaseE") #f 0 1 0))
-       ("accFreebaseFE" . (("accFreebaseFE" . "accFreebaseFE") #f 0 1 0))
-       ("accBayanbase" . (("accBayanbase" . "accBayanbase") #f 0 1 0))
-       ("accBayanbaseT" . (("accBayanbaseT" . "accBayanbaseT") #f 0 1 0))
-       ("accBayanbaseE" . (("accBayanbaseE" . "accBayanbaseE") #f 0 1 0))
-       ("accBayanbaseTE" . (("accBayanbaseTE" . "accBayanbaseTE") #f 0 1 0))
-       ("accBayanbaseEE" . (("accBayanbaseEE" . "accBayanbaseEE") #f 0 1 0))
-       ("accBayanbaseTEE" . (("accBayanbaseTEE" . "accBayanbaseTEE") #f 0 1 0))
-       ("accStdbase" . (("accStdbase" . "accStdbase") #f 0 1 0))
-       ("accStdbaseTp" . (("accStdbaseTp" . "accStdbaseTp") #f 0 1 0))
-       ("accStdbaseT" . (("accStdbaseT" . "accStdbaseT") #f 0 1 0))
-       ("accStdbaseBp" . (("accStdbaseBp" . "accStdbaseBp") #f 0 1 0))
-       ("accStdbaseM" . (("accStdbaseM" . "accStdbaseM") #f 0 1 0))
-       ("accSB" . (("accSB" . "accSB") #f 0 1 0))
-       ("accBB" . (("accBB" . "accBB") #f 0 1 0))
-       ("accOldEE" . (("accOldEE" . "accOldEE") #f 0 1 0))
-       ("accOldEES" . (("accOldEES" . "accOldEES") #f 0 1 0)))
+      '(("accDiscant" . ((accordion ("accDiscant"  . "accDiscant")) #f 0 1 0))
+       ("accDiscantF" . ((accordion ("accDiscantF" . "accDiscantF")) #f 0 1 0))
+       ("accDiscantE" . ((accordion ("accDiscantE" . "accDiscantE")) #f 0 1 0))
+       ("accDiscantEh" . ((accordion ("accDiscantEh" . "accDiscantEh")) #f 0 1 0))
+       ("accDiscantFE" . ((accordion ("accDiscantFE" . "accDiscantFE")) #f 0 1 0))
+       ("accDiscantFEh" . ((accordion ("accDiscantFEh" . "accDiscantFEh")) #f 0 1 0))
+       ("accDiscantEE" . ((accordion ("accDiscantEE" . "accDiscantEE")) #f 0 1 0))
+       ("accDiscantFEE" . ((accordion ("accDiscantFEE" . "accDiscantFEE")) #f 0 1 0))
+       ("accDiscantEEE" . ((accordion ("accDiscantEEE" . "accDiscantEEE")) #f 0 1 0))
+       ("accDiscantFEEE" . ((accordion ("accDiscantFEEE" . "accDiscantFEEE")) #f 0 1 0))
+       ("accDiscantS" . ((accordion ("accDiscantS" . "accDiscantS")) #f 0 1 0))
+       ("accDiscantFS" . ((accordion ("accDiscantFS" . "accDiscantFS")) #f 0 1 0))
+       ("accDiscantES" . ((accordion ("accDiscantES" . "accDiscantES")) #f 0 1 0))
+       ("accDiscantEhS" . ((accordion ("accDiscantEhS" . "accDiscantEhS")) #f 0 1 0))
+       ("accDiscantFES" . ((accordion ("accDiscantFES" . "accDiscantFES")) #f 0 1 0))
+       ("accDiscantFEhS" . ((accordion ("accDiscantFEhS" . "accDiscantFEhS")) #f 0 1 0))
+       ("accDiscantEES" . ((accordion ("accDiscantEES" . "accDiscantEES")) #f 0 1 0))
+       ("accDiscantFEES" . ((accordion ("accDiscantFEES" . "accDiscantFEES")) #f 0 1 0))
+       ("accDiscantEEES" . ((accordion ("accDiscantEEES" . "accDiscantEEES")) #f 0 1 0))
+       ("accDiscantFEEES" . ((accordion ("accDiscantFEEES" . "accDiscantFEEES")) #f 0 1 0))
+       ("accDiscantSS" . ((accordion ("accDiscantSS" . "accDiscantSS")) #f 0 1 0))
+       ("accDiscantESS" . ((accordion ("accDiscantESS" . "accDiscantESS")) #f 0 1 0))
+       ("accDiscantEESS" . ((accordion ("accDiscantEESS" . "accDiscantEESS")) #f 0 1 0))
+       ("accDiscantEEESS" . ((accordion ("accDiscantEEESS" . "accDiscantEEESS")) #f 0 1 0))
+       ("accFreebase" . ((accordion ("accFreebase" . "accFreebase")) #f 0 1 0))
+       ("accFreebaseF" . ((accordion ("accFreebaseF" . "accFreebaseF")) #f 0 1 0))
+       ("accFreebaseE" . ((accordion ("accFreebaseE" . "accFreebaseE")) #f 0 1 0))
+       ("accFreebaseFE" . ((accordion ("accFreebaseFE" . "accFreebaseFE")) #f 0 1 0))
+       ("accBayanbase" . ((accordion ("accBayanbase" . "accBayanbase")) #f 0 1 0))
+       ("accBayanbaseT" . ((accordion ("accBayanbaseT" . "accBayanbaseT")) #f 0 1 0))
+       ("accBayanbaseE" . ((accordion ("accBayanbaseE" . "accBayanbaseE")) #f 0 1 0))
+       ("accBayanbaseTE" . ((accordion ("accBayanbaseTE" . "accBayanbaseTE")) #f 0 1 0))
+       ("accBayanbaseEE" . ((accordion ("accBayanbaseEE" . "accBayanbaseEE")) #f 0 1 0))
+       ("accBayanbaseTEE" . ((accordion ("accBayanbaseTEE" . "accBayanbaseTEE")) #f 0 1 0))
+       ("accStdbase" . ((accordion ("accStdbase" . "accStdbase")) #f 0 1 0))
+       ("accStdbaseTp" . ((accordion ("accStdbaseTp" . "accStdbaseTp")) #f 0 1 0))
+       ("accStdbaseT" . ((accordion ("accStdbaseT" . "accStdbaseT")) #f 0 1 0))
+       ("accStdbaseBp" . ((accordion ("accStdbaseBp" . "accStdbaseBp")) #f 0 1 0))
+       ("accStdbaseM" . ((accordion ("accStdbaseM" . "accStdbaseM")) #f 0 1 0))
+       ("accSB" . ((accordion ("accSB" . "accSB")) #f 0 1 0))
+       ("accBB" . ((accordion ("accBB" . "accBB")) #f 0 1 0))
+       ("accOldEE" . ((accordion ("accOldEE" . "accOldEE")) #f 0 1 0))
+       ("accOldEES" . ((accordion ("accOldEES" . "accOldEES")) #f 0 1 0)))
       script-alist)
       )
+
index c1c209f57210e9562e5bf11fd1ad0b5bfea483c2..3ab041ac90266c1d53c12152a3d4a3e1025b1580 100644 (file)
@@ -8,31 +8,32 @@
 
 (set! script-alist
       (append 
-      '(("thumb" . (("thumb"  . "thumb") #f 0 1 0))
-       ("accent" . (("sforzato" .  "sforzato") #f -1 0 0))
-       ("marcato" . (("dmarcato" . "umarcato") #f -1 0  0))
-       ("staccatissimo" . (("dstaccatissimo" . "ustaccatissimo") #f  -1 0 0 0))
-       ("portato" . (("dportato" . "uportato") #f -1 0 0))
-       ("fermata" . (("dfermata" . "ufermata") #f 1 0 0))
-       ("stopped" . (("stopped" . "stopped") #f 0 1 0))
-       ("staccato" . (("staccato" . "staccato") #t -1 0 -100))
-       ("tenuto" . (("tenuto" . "tenuto") 1 -1 0 0))
-       ("upbow" . (("upbow" . "upbow") #f 0 1 0))
-       ("downbow" . (("downbow" . "downbow") #f 0 1 0))
-       ("lheel" . (("upedalheel" . "upedalheel") #f 0 -1  0))
-       ("rheel" . (("dpedalheel" . "dpedalheel") #f 0 1 0))
-       ("ltoe" . (("upedaltoe" . "upedaltoe") #f 0 -1 0))
-       ("rtoe" . (("dpedaltoe" . "dpedaltoe") #f 0 1 0))
-       ("turn" . (("turn" . "turn") #f 0 1 0))
-       ("open" . (("open" . "open") #f 0 1 0))
-       ("flageolet" . (("flageolet" . "flageolet")  0 0 1 0))
-       ("reverseturn" . (("reverseturn" . "reverseturn")   0 0 1 0))
-       ("trill" . (("trill" . "trill") #f 0 1 2000))
-       ("prall" . (("prall" . "prall") #f 0 1 0))
-       ("mordent" . (("mordent" . "mordent") #f 0 1 0))
-       ("prallprall" . (("prallprall" . "prallprall") #f 0 1 0))
-       ("prallmordent" . (("prallmordent" . "prallmordent") #f 0 1 0))
-       ("upprall" . (("upprall" . "upprall") #f 0 1 0))
-       ("downprall" . (("downprall" . "downprall") #f 0 1 0)))
+      '(("thumb" . ((feta . ("thumb"  . "thumb")) #f 0 1 0))
+       ("accent" . ((feta . ("sforzato" .  "sforzato")) #f -1 0 0))
+       ("marcato" . ((feta . ("dmarcato" . "umarcato")) #f -1 0  0))
+       ("staccatissimo" . ((feta . ("dstaccatissimo" . "ustaccatissimo")) #f  -1 0 0))
+       ("portato" . ((feta . ("dportato" . "uportato")) #f -1 0 0))
+       ("fermata" . ((feta . ("dfermata" . "ufermata")) #f 1 0 0))
+       ("stopped" . ((feta . ("stopped" . "stopped")) #f 0 1 0))
+       ("staccato" . ((feta . ("staccato" . "staccato")) #t -1 0 -100))
+       ("tenuto" . ((feta . ("tenuto" . "tenuto")) #t -1 0 0))
+       ("upbow" . ((feta . ("upbow" . "upbow")) #f 0 1 0))
+       ("downbow" . ((feta . ("downbow" . "downbow")) #f 0 1 0))
+       ("lheel" . ((feta . ("upedalheel" . "upedalheel")) #f 0 -1  0))
+       ("rheel" . ((feta . ("dpedalheel" . "dpedalheel")) #f 0 1 0))
+       ("ltoe" . ((feta . ("upedaltoe" . "upedaltoe")) #f 0 -1 0))
+       ("rtoe" . ((feta . ("dpedaltoe" . "dpedaltoe")) #f 0 1 0))
+       ("turn" . ((feta . ("turn" . "turn")) #f 0 1 0))
+       ("open" . ((feta . ("open" . "open")) #f 0 1 0))
+       ("flageolet" . ((feta . ("flageolet" . "flageolet")) #f 0 1 0))
+       ("reverseturn" . ((feta . ("reverseturn" . "reverseturn")) #f 0 1 0))
+       ("trill" . ((feta . ("trill" . "trill")) #f 0 1 2000))
+       ("prall" . ((feta . ("prall" . "prall")) #f 0 1 0))
+       ("mordent" . ((feta . ("mordent" . "mordent")) #f 0 1 0))
+       ("prallprall" . ((feta . ("prallprall" . "prallprall")) #f 0 1 0))
+       ("prallmordent" . ((feta . ("prallmordent" . "prallmordent")) #f 0 1 0))
+       ("upprall" . ((feta . ("upprall" . "upprall")) #f 0 1 0))
+       ("downprall" . ((feta . ("downprall" . "downprall")) #f 0 1 0)))
       script-alist)
       )
+
index d3c89edec7bfa296ab01c3f7390b912767ea9b31..48a2ad709b1e1f4e641733719a8db845bd7307a3 100644 (file)
@@ -282,6 +282,17 @@ if 1:
        conversions.append ((1,0,14), conv, '<[a b> <a b]>c -> [<a b> <a b>]')
 
 
+if 1:
+       def conv(lines):
+               newlines =[]
+               for x in lines:
+                       x =  re.sub ('\\\\type','\\\\context', x)
+                       newlines.append (x)
+               return newlines
+       
+       conversions.append ((1,0,16), conv, '\\type -> \\context')
+
+
 
 ############################
        
index 4ef55ba4885178ec038faed0caa493e389375491..2c93948d71c0a5ca8d518ac67fd59502b53d9a34 100644 (file)
@@ -731,8 +731,8 @@ def main():
     # r""" ... """ means: leave escape seqs alone.
     defined_mudela_cmd = {'mudela': r"""
 \begin{mudela}[eps \fontoptions]
-  \type Staff <
-    \type Voice{
+  \context Staff <
+    \context Voice{
       \maininput
     }
   >