]> git.donarmstrong.com Git - lilypond.git/commitdiff
Rename OctavateEight to ClefModifier
authorJanek Warchoł <lemniskata.bernoullego@gmail.com>
Wed, 10 Apr 2013 20:22:10 +0000 (22:22 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 8 May 2013 18:32:40 +0000 (20:32 +0200)
Name "OctavateEight" didn't make any sense.  The grob doesn't have
to be an eight, and it doesn't describe octavation, but arbitrary
transposition (not only whole octaves).  Also, the name should reflect
its affiliation with Clef grob.

The name "ClefTransposition" was also considered, but it was decided
that it would be too confusing together with clefTransposition, which
is a context property.

Also change related context properties.

56 files changed:
Documentation/changes.tely
Documentation/cs/learning/fundamental.itely
Documentation/de/learning/fundamental.itely
Documentation/de/notation/changing-defaults.itely
Documentation/de/notation/pitches.itely
Documentation/de/notation/vocal.itely
Documentation/de/texidocs/tweaking-clef-properties.texidoc
Documentation/es/learning/fundamental.itely
Documentation/es/notation/changing-defaults.itely
Documentation/es/notation/pitches.itely
Documentation/es/notation/vocal.itely
Documentation/es/texidocs/tweaking-clef-properties.texidoc
Documentation/fr/learning/fundamental.itely
Documentation/fr/notation/changing-defaults.itely
Documentation/fr/notation/pitches.itely
Documentation/fr/notation/vocal.itely
Documentation/fr/texidocs/tweaking-clef-properties.texidoc
Documentation/hu/learning/fundamental.itely
Documentation/it/learning/fundamental.itely
Documentation/it/notation/pitches.itely
Documentation/it/texidocs/tweaking-clef-properties.texidoc
Documentation/ja/learning/fundamental.itely
Documentation/ja/notation/changing-defaults.itely
Documentation/ja/notation/pitches.itely
Documentation/ja/notation/vocal.itely
Documentation/learning/fundamental.itely
Documentation/nl/learning/fundamental.itely
Documentation/notation/changing-defaults.itely
Documentation/notation/pitches.itely
Documentation/notation/vocal.itely
Documentation/snippets/tweaking-clef-properties.ly
input/regression/clef-oct-visibility.ly [deleted file]
input/regression/clef-oct.ly [deleted file]
input/regression/clef-octavation.ly [deleted file]
input/regression/clef-optional-octavation.ly [deleted file]
input/regression/clef-transposition-optional.ly [new file with mode: 0644]
input/regression/clef-transposition-placement.ly [new file with mode: 0644]
input/regression/clef-transposition-visibility.ly [new file with mode: 0644]
input/regression/clef-transposition.ly [new file with mode: 0644]
input/regression/cue-clef-octavation.ly [deleted file]
input/regression/cue-clef-optional-octavation.ly [deleted file]
input/regression/cue-clef-transposition-optional.ly [new file with mode: 0644]
input/regression/cue-clef-transposition.ly [new file with mode: 0644]
input/regression/lyrics-tenor-clef.ly
input/regression/musicxml/12a-Clefs.xml
lily/beam-collision-engraver.cc
lily/clef-engraver.cc
lily/cue-clef-engraver.cc
ly/engraver-init.ly
python/convertrules.py
scm/define-context-properties.scm
scm/define-grob-interfaces.scm
scm/define-grobs.scm
scm/define-music-display-methods.scm
scm/parser-clef.scm
scm/translation-functions.scm

index b2b4c51ea005d81e72aaee5c2df405e0064f34a7..2c36d2c13240db7f4fd25ff191dff9f02269e8ec 100644 (file)
@@ -61,6 +61,11 @@ which scares away people.
 
 @end ignore
 
+@item
+Grob @code{OctavateEight} was renamed to @code{ClefModifier}.
+Related context properties were renamed from @code{xxxOctavationyyy}
+to @code{xxxTranspositionyyy}.
+
 @item
 Horizontal space is allowed for tempo and rehearsal marks,
 so that these marks do not overlap each other.
@@ -259,7 +264,7 @@ than@tie{}0.  The byte offset (also part of @code{textedit}
 @acronym{URI}s) still starts at@tie{}0.
 
 @item
-The @code{\clef} command supports optional octavation:
+The @code{\clef} command supports optional transposition:
 @lilypond[verbatim,quote,relative=1]
 \clef "treble_(8)"
 c2 c
index c4c5e6eeb5e754bf0abfb2f3ec50e95e427b8fe5..a0eee4d3a1f300c7274423148e313add47297908 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes.
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 @c Translators: Pavel Fric
 
 @node Základní pojmy
@@ -1940,7 +1940,7 @@ während das dazu dient, sie in allen Systemen auszuschalten:
 >>
 @end lilypond
 
-Ein anderes Beispiel ist die Eigenschaft @code{clefOctavation}:
+Ein anderes Beispiel ist die Eigenschaft @code{clefTransposition}:
 wenn sie im @code{Score}-Kontext gesetzt wird, ändert sich sofort
 der Wert der Oktavierung in allen aktuellen Systemen und wird
 auf einen neuen Wert gesetzt, der sich auf alle Systeme auswirkt.
index f53b326965e2ab67e01bb4e67d73141e4e6be1f3..bd96bfc91f58e6edf2f68599e5b1b447cced0bb1 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes.
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 @c Translators: Till Paala, Reinhold Kainhofer
 
 @node Grundbegriffe
@@ -1975,7 +1975,7 @@ während das dazu dient, sie in allen Systemen auszuschalten:
 >>
 @end lilypond
 
-Ein anderes Beispiel ist die Eigenschaft @code{clefOctavation}:
+Ein anderes Beispiel ist die Eigenschaft @code{clefTransposition}:
 wenn sie im @code{Score}-Kontext gesetzt wird, ändert sich sofort
 der Wert der Oktavierung in allen aktuellen Systemen und wird
 auf einen neuen Wert gesetzt, der sich auf alle Systeme auswirkt.
index b63b85561e12ab24b1c3eb7c49e25471d3186cd7..97585267c0f4eb923cf741e5f61fad658ce47454 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 @c Translators: Till Paala
 
@@ -3328,7 +3328,7 @@ jeweiligen Standardeinstellungen der Eigenschaft:
 @item @code{KeySignature} (Tonart)       @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @c omit LeftEdge until it can be explained -td
 @c @item @code{LeftEdge}         @tab @code{Score}          @tab @code{center-invisible}
-@item @code{OctavateEight} (Oktavierungs-Acht)      @tab @code{Staff}          @tab @code{begin-of-line-visible}
+@item @code{ClefModifier} (Oktavierungs-Acht)      @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @item @code{RehearsalMark} (Übungszeichen)      @tab @code{Score}          @tab @code{end-of-line-invisible}
 @item @code{TimeSignature} (Taktart)      @tab @code{Staff}          @tab @code{all-visible}
 
@@ -3485,10 +3485,10 @@ auftreten.
 @cindex Schlüssel, Sichtbarkeit der Oktavierung
 
 Das kleine Oktavierungssymbol von oktavierten Notenschlüsseln
-wird durch das @code{OctavateEight}-Layout-Objekt erstellt.
+wird durch das @code{ClefModifier}-Layout-Objekt erstellt.
 Seine Sichtbarkeit wird automatisch vom @code{Clef}-Objekt
 geerbt, sodass Veränderungen von @code{break-visibility}
-des @code{OctavateEight}-Layout-Objekts nicht auch noch
+des @code{ClefModifier}-Layout-Objekts nicht auch noch
 für unsichtbare Schlüssel zusätzlich vorgenommen werden müssen.
 
 Bei expliziten Schlüsseländerungn kontrolliert die
index 5c593242293189e15e42655381caf95a37f01781..70129c81c7a99470407b8a187a39180503e351fa 100644 (file)
@@ -7,7 +7,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 @c Translators: Till Paala
 
@@ -1230,7 +1230,7 @@ Schnipsel:
 Referenz der Interna:
 @rinternals{Clef_engraver},
 @rinternals{Clef},
-@rinternals{OctavateEight},
+@rinternals{ClefModifier},
 @rinternals{clef-interface}.
 
 
index 8c42e5b44272ade1d165d6e1c24b3fa21b396cca..2a9bf9157a3e3cef809f334e6f19bd6c93ca5eeb 100644 (file)
@@ -7,7 +7,7 @@
     Guide, node Updating translation committishes.
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @c Translators: Till Paala
 
@@ -2559,7 +2559,7 @@ der Figur angezeigt werden kann.
   #`((instrumentTransposition . ,(ly:make-pitch -1 0 0))
      (shortInstrumentName . "Kas.")
      (clefGlyph . "clefs.G")
-     (clefOctavation . -7)
+     (clefTransposition . -7)
      (middleCPosition . 1)
      (clefPosition . -2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Kaspar"))
@@ -2569,7 +2569,7 @@ der Figur angezeigt werden kann.
   #`((instrumentTransposition . ,(ly:make-pitch 0 0 0))
      (shortInstrumentName . "Mel.")
      (clefGlyph . "clefs.F")
-     (clefOctavation . 0)
+     (clefTransposition . 0)
      (middleCPosition . 6)
      (clefPosition . 2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Melchior"))
index 70ec26012b652440cb047fb464cf4d4c650ff1fd..c2ea8011be1d01877f09c5bdeba44ee0b1458124 100644 (file)
@@ -4,7 +4,7 @@
 Der Befehl @code{\\clef \"treble_8\"} ist gleichbedeutend mit einem
 expliziten Setzen der Eigenschaften von @code{clefGlyph},
 @code{clefPosition} (welche die vertikale Position des Schlüssels bestimmt),
-@code{middleCPosition} und @code{clefOctavation}.  Ein Schlüssel wird
+@code{middleCPosition} und @code{clefTransposition}.  Ein Schlüssel wird
 ausgegeben, wenn eine der Eigenschaften außer @code{middleCPosition} sich
 ändert.
 
@@ -14,7 +14,7 @@ auf dem System: das geschieht nur, wenn auch die Position des
 eingestrichenen@tie{}C (middleCPosition) angegeben wird.  Die
 Positionsparameter sind relativ zur Mittellinie des Systems, dabei versetzen
 positive Zahlen die Position nach oben, jeweils eine Zahl für jede Linie
-plus Zwischenraum.  Der @code{clefOctavation}-Wert ist normalerweise auf 7,
+plus Zwischenraum.  Der @code{clefTransposition}-Wert ist normalerweise auf 7,
 -7, 15 oder -15 gesetzt, aber auch andere Werte sind gültig.
 
 Wenn ein Schlüsselwechsel an einem Zeilenwechsel geschieht, wird das neue
index e59739953679f5e8625cb0895e42c3c6d99cce03..0dd7c709d01585dac49013b729f0500c5e97e81f 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 
 @node Conceptos fundamentales
@@ -1879,7 +1879,7 @@ y esto los desactivará en todos los pentagramas:
 >>
 @end lilypond
 
-Como un ejemplo más, si se establece @code{clefOctavation} dentro del
+Como un ejemplo más, si se establece @code{clefTransposition} dentro del
 contexto de @code{Score}, éste cambia inmediatamente el valor de la
 octavación en todos los pentagramas en curso y establece un nuevo
 valor predeterminado que se aplicará a todos los pentagramas.
index 466ee24080c4ac330bc2dd581dd00c5c74f879f3..7ec80fbc1e1f6dc903a99b38479c105df3e611e5 100644 (file)
@@ -8,7 +8,7 @@ Translation of GIT committish: 91aeca2562af49ff24110e923d5196bebd95f372
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 @node Cambiar los valores por omisión
 @chapter Cambiar los valores por omisión
@@ -3324,7 +3324,7 @@ de presentación de interés que resultan afectados por
 @item @code{KeySignature}        @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @c omit LeftEdge until it can be explained -td
 @c @item @code{LeftEdge}         @tab @code{Score}          @tab @code{center-invisible}
-@item @code{OctavateEight}       @tab @code{Staff}          @tab @code{begin-of-line-visible}
+@item @code{ClefModifier}       @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @item @code{RehearsalMark}       @tab @code{Score}          @tab @code{end-of-line-invisible}
 @item @code{TimeSignature}       @tab @code{Staff}          @tab @code{all-visible}
 
@@ -3357,7 +3357,7 @@ línea a no ser que su valor establecido sea distinto de 1.
 se suprimen por completo.  Utilice begin-of line-invisible para
 imprimirlas y all-invisible para suprimirlas.
 @item Armadura: véase más abajo
-@item OctavateEight: véase más abajo
+@item ClefModifier: véase más abajo
 @end itemize
 
 
@@ -3499,11 +3499,11 @@ explícitas.
 @cindex claves, visibilidad de la octavación
 
 El pequeño símbolo de octava sobre las claves en octava alta o baja se
-produce por parte del objeto @code{OctavateEight}.  Su visibilidad se
+produce por parte del objeto @code{ClefModifier}.  Su visibilidad se
 hereda automáticamente de la del objeto @code{Clef}, así que no es
 necesario aplicar las sobreescrituras correspondientes
 @code{break-visibility} a los objetos
-@code{OctavateEight} para suprimir los símbolos de octavación
+@code{ClefModifier} para suprimir los símbolos de octavación
 para las claves invisibles.
 
 Para los cambios de clave explícitos, la propiedad
index 6c2513ed7abe3a7b717dd2d2955912a318aed423..14fb61f468b5b70222f27ce3eb74c232efb635fa 100644 (file)
@@ -7,7 +7,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 
 @node Alturas
@@ -1209,19 +1209,19 @@ Fragmentos de código:
 Referencia de funcionamiento interno:
 @rinternals{Clef_engraver},
 @rinternals{Clef},
-@rinternals{OctavateEight},
+@rinternals{ClefModifier},
 @rinternals{clef-interface}.
 
 @knownissues
 Los números de octavación adjuntos a las claves se tratan como
 grobs distintos.  Así pues, cualquier @code{\override}
 (sobreescritura) efectuada al objeto @var{Clef} deberá aplicarse
-también al grob @var{OctavateEight} como un @code{\override}
+también al grob @var{ClefModifier} como un @code{\override}
 diferente.
 
 @lilypond[fragment,quote,relative=1]
 \new Staff \with {
-  \override OctavateEight.color = #red
+  \override ClefModifier.color = #red
   \override Clef.color = #blue
 }
 
index e617026ace13dce29d17c6145fe2892c65a2d4b6..12b63fd7b09277d3b822392aba89f09ac09aab45 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @node Música vocal
 @section Música vocal
@@ -2566,7 +2566,7 @@ usar @code{\instrumentSwitch} para indicar cada uno de los cambios.
   #`((instrumentTransposition . ,(ly:make-pitch -1 0 0))
      (shortInstrumentName . "Kas.")
      (clefGlyph . "clefs.G")
-     (clefOctavation . -7)
+     (clefTransposition . -7)
      (middleCPosition . 1)
      (clefPosition . -2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Kaspar"))
@@ -2576,7 +2576,7 @@ usar @code{\instrumentSwitch} para indicar cada uno de los cambios.
   #`((instrumentTransposition . ,(ly:make-pitch 0 0 0))
      (shortInstrumentName . "Mel.")
      (clefGlyph . "clefs.F")
-     (clefOctavation . 0)
+     (clefTransposition . 0)
      (middleCPosition . 6)
      (clefPosition . 2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Melchior"))
index 1cf4720d0f6e27ec673ef56ad72233e50dd076ef..50124fbbb4d4e8ec712acdabd9184aead9f76c74 100644 (file)
@@ -4,7 +4,7 @@
 La instrucción @code{\\clef \"treble_8\"} equivale a un ajuste de
 @code{clefGlyph}, @code{clefPosition} (que controla la posición
 vertical de la clave), @code{middleCPosition} y
-@code{clefOctavation}.  Se imprime una clave cada vez que se
+@code{clefTransposition}.  Se imprime una clave cada vez que se
 modifica cualquiera de las propiedades excepto
 @code{middleCPosition}.
 
@@ -14,7 +14,7 @@ notas del pentagrama: para hacer esto también se debe especificar
 la posición del Do central.  Los parámetros posicionales están en
 relación con la tercera línea del pentagrama, los números
 positivos desplazan hacia arriba, contando una unidad por cada
-línea y espacio.  El valor de @code{clefOctavation} se
+línea y espacio.  El valor de @code{clefTransposition} se
 establecería normalmente a 7, -7, 15 or -15, pero son válidos
 otros valores.
 
index 1fb40d74596a35c7ca1d74e491321b0a65e74371..d0e4523ec869cf2c088e0aa57f49a8ac81861cfa 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @c Translators: Valentin Villenave, Jean-Charles Malahieude
 @c Translation checkers: John Mandereau
@@ -1851,7 +1851,7 @@ et pour toutes les portées :
 >>
 @end lilypond
 
-Autre exemple, si la propriété @code{clefOctavation} est déterminée au
+Autre exemple, si la propriété @code{clefTransposition} est déterminée au
 niveau du contexte @code{Score}, elle modifiera la valeur de l'octave en
 cours pour toutes les portées actives ; cette valeur sera considérée
 comme étant la nouvelle valeur par défaut pour toutes les portées à
index 5aaeb12f52681b613a78847132df86b46277790e..7778c040f5d0e91a4591c08b219c6d52d3a62ef5 100644 (file)
@@ -7,7 +7,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 @c Translators: Valentin Villenave, Jean-Charles Malahieude
 @c Translation checkers: Gilles Thibault
@@ -3494,7 +3494,7 @@ ces réglages par défaut.
 @item @code{KeySignature}        @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @c omit LeftEdge until it can be explained -td
 @c @item @code{LeftEdge}         @tab @code{Score}          @tab @code{center-invisible}
-@item @code{OctavateEight}       @tab @code{Staff}          @tab @code{begin-of-line-visible}
+@item @code{ClefModifier}       @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @item @code{RehearsalMark}       @tab @code{Score}          @tab @code{end-of-line-invisible}
 @item @code{TimeSignature}       @tab @code{Staff}          @tab @code{all-visible}
 
@@ -3636,9 +3636,9 @@ intervenir qu'à l'occasion d'un @code{\bar} explicite.
 @cindex clef, visibilité de l'octaviation
 
 L'indication d'octaviation d'une clef est produite par l'objet de rendu
-@code{OctavateEight}.  Sa visibilité étant gérée par héritage direct de
+@code{ClefModifier}.  Sa visibilité étant gérée par héritage direct de
 l'objet @code{Clef}, nul n'est besoin de forcer un quelconque
-@code{break-visibility} au niveau des objets @code{OctavateEight} pour
+@code{break-visibility} au niveau des objets @code{ClefModifier} pour
 éliminer une indication d'octaviation lorsque la clef est invisible.
 
 Lors d'un changement explicite de clef, la propriété
index dd75e7f7439765d8f0b28bd43b6c646c937305b4..73238e6e826ea04fd73999487b026add6d293077 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 @c Translators: Frédéric Chiasson
 @c Translation checkers: Valentin Villenave, Jean-Charles Malahieude
@@ -1178,18 +1178,18 @@ Morceaux choisis:
 Référence des propriétés internes :
 @rinternals{Clef_engraver},
 @rinternals{Clef},
-@rinternals{OctavateEight},
+@rinternals{ClefModifier},
 @rinternals{clef-interface}.
 
 @knownissues
 L'indicateur d'octaviation attaché à la clef est un objet graphique en
 lui même.  Par voie de conséquence, tout @code{\override} affectant
 l'objet @code{Clef} devra être manuellement répercuté sur l'objet
-@code{OctavateEight}.
+@code{ClefModifier}.
 
 @lilypond[fragment,quote,relative=1]
 \new Staff \with {
-  \override OctavateEight.color = #red
+  \override ClefModifier.color = #red
   \override Clef.color = #blue
 }
 
index 8ff1d5998eff1fb430f833243d71874cc11d2efc..1bea70ebdd126c683562957d9e0f1731a3650f8f 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @c Translators: Valentin Villenave, Jean-Charles Malahieude
 @c Translation checkers: Jean-Jacques Gerbaud
@@ -2587,7 +2587,7 @@ définition d'un @qq{instrument} pour chacun des rôles en question :
   #`((instrumentTransposition . ,(ly:make-pitch -1 0 0))
      (shortInstrumentName . "Kas.")
      (clefGlyph . "clefs.G")
-     (clefOctavation . -7)
+     (clefTransposition . -7)
      (middleCPosition . 1)
      (clefPosition . -2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Kaspar"))
@@ -2597,7 +2597,7 @@ définition d'un @qq{instrument} pour chacun des rôles en question :
   #`((instrumentTransposition . ,(ly:make-pitch 0 0 0))
      (shortInstrumentName . "Mel.")
      (clefGlyph . "clefs.F")
-     (clefOctavation . 0)
+     (clefTransposition . 0)
      (middleCPosition . 6)
      (clefPosition . 2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Melchior"))
index f77d013490bd954e4dc3d43dcf6cb0653cc13944..ec5b16bfd0072febc0918cf58a4c0de25a0f26b6 100644 (file)
@@ -2,7 +2,7 @@
   texidocfr = "
 La commande @code{\\clef \"treble_8\"} équivaut à définir @code{clefGlyph},
 @code{clefPosition} -- qui contrôle la position verticale de la clef --
-@code{middleCPosition} et @code{clefOctavation}.  Une clef est imprimée
+@code{middleCPosition} et @code{clefTransposition}.  Une clef est imprimée
 lorsque l'une de ces propriétés, hormis @code{middleCPosition}, est
 modifiée.  Les exemples suivant font apparaître des possibilités de
 réglage manuel de ces propriétés.
@@ -11,7 +11,7 @@ Modifier le glyphe, la position de la clef ou son octaviation ne
 changera pas la position des notes ; il faut pour y parvenir
 modifier aussi la position du do médium.  Le positionnement est relatif
 à la ligne médiane, un nombre positif faisant monter, chaque ligne ou
-interligne comptant pour 1.  La valeur de @code{clefOctavation}
+interligne comptant pour 1.  La valeur de @code{clefTransposition}
 devrait être de 7, -7, 15 ou -15, bien que rien n'empêche de lui
 affecter une autre valeur.
 
index eac8db8e06c6472432119bff238f260ee0fc1bea..39a50e5f6e8b0e306bba0bae8e3e6b039314840d 100644 (file)
@@ -10,7 +10,7 @@
 
 
 @c -*- coding: utf-8; mode: texinfo; -*-
-@c \version "2.17.11"
+@c \version "2.17.18"
 @node Alapfogalmak
 @chapter Alapfogalmak
 @translationof Fundamental concepts
@@ -1939,7 +1939,7 @@ and this turns them off in all staves:
 >>
 @end lilypond
 
-As another example, if @code{clefOctavation} is set in
+As another example, if @code{clefTransposition} is set in
 the @code{Score} context this immediately changes the value
 of the octavation in all current staves and sets a new default
 value which will be applied to all staves.
index fba872ecbcf794f3f7dc01e83863b6c975574db8..5d8feca3371b33e515bacf109cf2f0c2353eb224 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @node Concetti fondamentali
 @chapter Concetti fondamentali
@@ -1799,7 +1799,7 @@ e in questo modo si disattiva in tutti i righi:
 >>
 @end lilypond
 
-Un altro esempio: se la proprietà @code{clefOctavation} viene posta
+Un altro esempio: se la proprietà @code{clefTransposition} viene posta
 nel contesto @code{Score}, cambia immediatamente il valore
 dell'ottavazione in tutti i righi presenti e imposta un nuovo
 valore predefinito che sarà applicato a tutti i righi.
index b3dd3c025bc5f4a377b1b63c380e15b5fa693131..68cc589f9f5d5aa1c9fae09faaadff5a3f15a625 100644 (file)
@@ -7,7 +7,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 
 @node Altezze
@@ -1201,17 +1201,17 @@ Frammenti di codice:
 Guida al funzionamento interno:
 @rinternals{Clef_engraver},
 @rinternals{Clef},
-@rinternals{OctavateEight},
+@rinternals{ClefModifier},
 @rinternals{clef-interface}.
 
 @knownissues
 I numeri di ottavazione assegnati alle chiavi sono trattati come oggetti grafici
 separati.  Quindi qualsiasi @code{\override} all'oggetto @var{Clef} dovrà essere
-applicato, con un altro @code{\override}, all'oggetto @var{OctavateEight}.
+applicato, con un altro @code{\override}, all'oggetto @var{ClefModifier}.
 
 @lilypond[fragment,quote,relative=1]
 \new Staff \with {
-  \override OctavateEight.color = #red
+  \override ClefModifier.color = #red
   \override Clef.color = #blue
 }
 
index e5576b0d06f65f6b70f37576aae8cc19e2b75fe8..c914cd6cc71bef03b59cca84a42fcaef8d27a404 100644 (file)
@@ -3,7 +3,7 @@
 Il comando @code{\\clef \"treble_8\"} equivale a impostare
 @code{clefGlyph}, @code{clefPosition} (che regola la posizione
 verticale della chiave), @code{middleCPosition} e
-@code{clefOctavation}. Viene stampata una chiave quando cambia una
+@code{clefTransposition}. Viene stampata una chiave quando cambia una
 di queste proprietà, eccetto @code{middleCPosition}.
 
 
@@ -13,7 +13,7 @@ note che seguono sul rigo: bisogna anche specificare la posizione
 del Do centrale (middle C). I parametri di posizione sono relativi
 alla linea centrale del rigo, con i numeri positivi che indicano
 la parte superiore: ogni linea e spazio valgono uno.  Il valore
-@code{clefOctavation} di norma è impostato su 7, -7, 15
+@code{clefTransposition} di norma è impostato su 7, -7, 15
 o -15, ma altri valori sono considerati validi.
 
 
index 0bf2b28094102565d30c160cefebca70a2ef06ad..8072307308ed08101ca6371c85cb92c17f576d3b 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @c Translators: Yoshiki Sawada
 @c Translation status: post-GDP
@@ -1873,7 +1873,7 @@ LilyPond 入力ファイルに対する特別なサポートを持つ@c
 >>
 @end lilypond
 
-他の例としては、@code{clefOctavation} が @code{Score} コンテキストに@c
+他の例としては、@code{clefTransposition} が @code{Score} コンテキストに@c
 セットされた場合、直ちにすべての譜でのオクターブの値を変更し、すべての譜に@c
 適用される新しいデフォルト値をセットします。
 
index d698a9d52618990390dfa7d7c9811318d0350ec3..41441866bb95ec2a0e45711ce1020352130ff2f1 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 @c Translators: Yoshiki Sawada
 @c Translation status: post-GDP
@@ -3445,7 +3445,7 @@ a1
 @item @code{KeySignature}        @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @c omit LeftEdge until it can be explained -td
 @c @item @code{LeftEdge}         @tab @code{Score}          @tab @code{center-invisible}
-@item @code{OctavateEight}       @tab @code{Staff}          @tab @code{begin-of-line-visible}
+@item @code{ClefModifier}       @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @item @code{RehearsalMark}       @tab @code{Score}          @tab @code{end-of-line-invisible}
 @item @code{TimeSignature}       @tab @code{Staff}          @tab @code{all-visible}
 
@@ -3480,7 +3480,7 @@ f4 g a b
 描画するには @code{begin-of-line-invisible} を用い、@c
 描画しないのなら @code{all-invisible} を用います。
 @item Key signature -- 以下を参照してください
-@item OctavateEight -- 以下を参照してください
+@item ClefModifier -- 以下を参照してください
 @end itemize
 
 @node 特別な考慮を必要とするもの
@@ -3615,16 +3615,16 @@ f4 g a b
 
 @subsubsubheading オクターブ移調付きの音部記号
 
-@cindex octavated clefs, visibility of (オクターブ移調付きの音部記号の可視性)
-@cindex visibility of octavated clefs (オクターブ移調付きの音部記号の可視性)
-@cindex clefs, visibility of octavation (オクターブ移調付きの音部記号の可視性)
+@cindex transposed clefs, visibility of (オクターブ移調付きの音部記号の可視性)
+@cindex visibility of transposed clefs (オクターブ移調付きの音部記号の可視性)
+@cindex clefs, visibility of transposition (オクターブ移調付きの音部記号の可視性)
 
 オクターブ移調付きの音部記号上の小さなオクターブ記号は
-@code{OctavateEight} レイアウト オブジェクトによって作り出されます。@c
+@code{ClefModifier} レイアウト オブジェクトによって作り出されます。@c
 このオブジェクトの可視性は
 @code{Clef} オブジェクトの可視性とは独立して制御されます。@c
 そのため、各行の先頭においてそのような音部記号を完全に消そうとするなら、@c
-@code{Clef} オブジェクトと @code{OctavateEight} オブジェクトの両方に対して@c
+@code{Clef} オブジェクトと @code{ClefModifier} オブジェクトの両方に対して@c
 必要な @code{break-visibility} のオーバライドを行う必要があります。
 
 明示的な音部記号の変更では、@c
index 967daa2a1a610c7e638cefd5eb90391effd6d588..eb6713859b40136017293d04a7e7bacbb800b5a3 100644 (file)
@@ -6,7 +6,7 @@
     version that you are working on.  See TRANSLATION for details.
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 @c Translators: Yoshiki Sawada
 @c Translation status: post-GDP
@@ -1213,19 +1213,19 @@ c2 c
 内部リファレンス:
 @rinternals{Clef_engraver},
 @rinternals{Clef},
-@rinternals{OctavateEight},
+@rinternals{ClefModifier},
 @rinternals{clef-interface}
 
 @knownissues
 音部記号に付けるオクターブ移動の数字は、個別のグラフィカル オブジェクト@c
 として扱われます。@c
 このため、@var{Clef} に適用される @code{\override} は、@c
-別の @code{\override} で @var{OctavateEight} グラフィカル オブジェクトに@c
+別の @code{\override} で @var{ClefModifier} グラフィカル オブジェクトに@c
 適用する必要があります。
 
 @lilypond[fragment,quote,relative=1]
 \new Staff \with {
-  \override OctavateEight.color = #red
+  \override ClefModifier.color = #red
   \override Clef.color = #blue
 }
 
index ab1ee2d41e57b09a255989188915a51ca4812beb..884b10e50f7a06c163cf7cef7ab86ae533b01798 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @c Translators: Yoshiki Sawada
 @c Translation status: post-GDP
@@ -2523,7 +2523,7 @@ c c c
   #`((instrumentTransposition . ,(ly:make-pitch -1 0 0))
      (shortInstrumentName . "Kas.")
      (clefGlyph . "clefs.G")
-     (clefOctavation . -7)
+     (clefTransposition . -7)
      (middleCPosition . 1)
      (clefPosition . -2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Kaspar"))
@@ -2533,7 +2533,7 @@ c c c
   #`((instrumentTransposition . ,(ly:make-pitch 0 0 0))
      (shortInstrumentName . "Mel.")
      (clefGlyph . "clefs.F")
-     (clefOctavation . 0)
+     (clefTransposition . 0)
      (middleCPosition . 6)
      (clefPosition . 2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Melchior"))
index 7e9e60821bd901ceb9738dffed062854d18aaa01..380bc500de284a179dd4f6629249d41196335aa7 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @node Fundamental concepts
 @chapter Fundamental concepts
@@ -1792,9 +1792,9 @@ and this turns them off in all staves:
 >>
 @end lilypond
 
-As another example, if @code{clefOctavation} is set in
+As another example, if @code{clefTransposition} is set in
 the @code{Score} context this immediately changes the value
-of the octavation in all current staves and sets a new default
+of the transposition in all current staves and sets a new default
 value which will be applied to all staves.
 
 The opposite command, @code{\unset}, effectively removes the
index 967bd3c862d720d2b55c7d8272c71dcaa2d396b0..8532ee4dcb0b7da89f4512e12b097567d4c3fbd0 100644 (file)
@@ -12,7 +12,7 @@
 @c Translation checker:
 @c Translation checker committish:
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @node Fundamentele concepten
 @translationof Fundamental concepts
@@ -1817,9 +1817,9 @@ and this turns them off in all staves:
 >>
 @end lilypond
 
-As another example, if @code{clefOctavation} is set in
+As another example, if @code{clefTransposition} is set in
 the @code{Score} context this immediately changes the value
-of the octavation in all current staves and sets a new default
+of the transposition in all current staves and sets a new default
 value which will be applied to all staves.
 
 The opposite command, @code{\unset}, effectively removes the
index 03727fedd686af6470fdcfaaf8ac4bd05f90a498..5a364f134d1eee32ba9997d0587e8fc9228eaf6b 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 @node Changing defaults
 @chapter Changing defaults
@@ -3283,7 +3283,7 @@ default setting of this property:
 @item @code{KeySignature}        @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @c omit LeftEdge until it can be explained -td
 @c @item @code{LeftEdge}         @tab @code{Score}          @tab @code{center-invisible}
-@item @code{OctavateEight}       @tab @code{Staff}          @tab @code{begin-of-line-visible}
+@item @code{ClefModifier}       @tab @code{Staff}          @tab @code{begin-of-line-visible}
 @item @code{RehearsalMark}       @tab @code{Score}          @tab @code{end-of-line-invisible}
 @item @code{TimeSignature}       @tab @code{Staff}          @tab @code{all-visible}
 
@@ -3316,7 +3316,7 @@ line unless it is set to be different from 1.
 suppressed.  Use begin-of line-invisible to print and
 all-invisible to suppress.
 @item Key signature -- see below
-@item OctavateEight -- see below
+@item ClefModifier -- see below
 @end itemize
 
 @node Special considerations
@@ -3445,20 +3445,20 @@ occur only at explicit @code{\bar} commands.
 
 @c TODO Add example
 
-@subsubsubheading Octavated clefs
+@subsubsubheading Transposed clefs
 
-@cindex octavated clefs, visibility of
-@cindex visibility of octavated clefs
-@cindex clefs, visibility of octavation
+@cindex transposed clefs, visibility of
+@cindex visibility of transposed clefs
+@cindex clefs, visibility of transposition
 
-The small octavation symbol on octavated clefs is produced by the
-@code{OctavateEight} layout object.  Its visibility is automatically
+The small transposition symbol on transposed clefs is produced by the
+@code{ClefModifier} layout object.  Its visibility is automatically
 inherited from the @code{Clef} object, so it is not necessary to apply
-any required @code{break-visibility} overrides to the @code{OctavateEight} 
-layout objects to suppress octavation symbols for invisible clefs.
+any required @code{break-visibility} overrides to the @code{ClefModifier}
+layout objects to suppress transposition symbols for invisible clefs.
 
 For explicit clef changes, the @code{explicitClefVisibility}
-property controls both the clef symbol and any octavation symbol
+property controls both the clef symbol and any transposition symbol
 associated with it.
 
 @seealso
index baf0b95d59f6c9fb6b0b415125e1d5d81e673a6b..ae9f68c3322c485ee6a50ca47df1ea30771e6cf9 100644 (file)
@@ -7,7 +7,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.6"
+@c \version "2.17.18"
 
 
 @node Pitches
@@ -1222,18 +1222,18 @@ Snippets:
 Internals Reference:
 @rinternals{Clef_engraver},
 @rinternals{Clef},
-@rinternals{OctavateEight},
+@rinternals{ClefModifier},
 @rinternals{clef-interface}.
 
 @knownissues
 Ottavation numbers attached to clefs are treated as separate grobs.  So
 any @code{\override} done to the @var{Clef} will also need to be
-applied, as a separate @code{\override}, to the @var{OctavateEight}
+applied, as a separate @code{\override}, to the @var{ClefModifier}
 grob.
 
 @lilypond[fragment,quote,relative=1]
 \new Staff \with {
-  \override OctavateEight.color = #red
+  \override ClefModifier.color = #red
   \override Clef.color = #blue
 }
 
index 3e4d3fd11e6bc81b42cf249aac2e7e3104536daa..54a656959183fa54feaadf145adb0b7c11bb0c2d 100644 (file)
@@ -7,7 +7,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.17.11"
+@c \version "2.17.18"
 
 @node Vocal music
 @section Vocal music
@@ -2497,7 +2497,7 @@ indicate each change.
   #`((instrumentTransposition . ,(ly:make-pitch -1 0 0))
      (shortInstrumentName . "Kas.")
      (clefGlyph . "clefs.G")
-     (clefOctavation . -7)
+     (clefTransposition . -7)
      (middleCPosition . 1)
      (clefPosition . -2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Kaspar"))
@@ -2507,7 +2507,7 @@ indicate each change.
   #`((instrumentTransposition . ,(ly:make-pitch 0 0 0))
      (shortInstrumentName . "Mel.")
      (clefGlyph . "clefs.F")
-     (clefOctavation . 0)
+     (clefTransposition . 0)
      (middleCPosition . 6)
      (clefPosition . 2)
      (instrumentCueName . ,(markup #:fontsize 1 #:smallCaps "Melchior"))
index d4adb18f97bfdc3c986d28404e7acfcb3abb505e..0526c67876ff2d83abfbc308b11bf1eefc560932 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.18"
 
 \header {
   lsrtags = "pitches, staff-notation, tweaks-and-overrides"
@@ -13,7 +13,7 @@
 The command @code{\\clef \"treble_8\"} is equivalent to setting
 @code{clefGlyph}, @code{clefPosition} (which controls the vertical
 position of the clef), @code{middleCPosition} and
-@code{clefOctavation}. A clef is printed when any of the properties
+@code{clefTransposition}. A clef is printed when any of the properties
 except @code{middleCPosition} are changed.
 
 
@@ -22,7 +22,7 @@ octavation does not in itself change the position of subsequent notes
 on the staff: the position of middle C must also be specified to do
 this. The positional parameters are relative to the staff center line,
 positive numbers displacing upwards, counting one for each line and
-space. The @code{clefOctavation} value would normally be set to 7, -7,
+space. The @code{clefTransposition} value would normally be set to 7, -7,
 15 or -15, but other values are valid.
 
 
@@ -62,12 +62,12 @@ line, they do not.
   % The standard choral tenor clef
   \set Staff.clefGlyph = #"clefs.G"
   \set Staff.clefPosition = #-2
-  \set Staff.clefOctavation = #-7
+  \set Staff.clefTransposition = #-7
   \set Staff.middleCPosition = #1
   c'1
   % A non-standard clef
   \set Staff.clefPosition = #0
-  \set Staff.clefOctavation = #0
+  \set Staff.clefTransposition = #0
   \set Staff.middleCPosition = #-4
   c'1 \break
 
@@ -81,9 +81,9 @@ line, they do not.
   c'1
   \set Staff.clefGlyph = #"clefs.C"
   c'1
-  \set Staff.clefOctavation = #7
+  \set Staff.clefTransposition = #7
   c'1
-  \set Staff.clefOctavation = #0
+  \set Staff.clefTransposition = #0
   \set Staff.clefPosition = #0
   c'1
 
diff --git a/input/regression/clef-oct-visibility.ly b/input/regression/clef-oct-visibility.ly
deleted file mode 100644 (file)
index c4cfe40..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-\version "2.17.6"
-
-\header {
-
-    texidoc = "Octavation signs may be added to clefs.  By default,
-their break-visibility is derived from the associated clef, but it may
-be overridden explicitly. The initial treble_8 clef should not have an
-8, while the treble_8 clef after the tenor clef should.
-These settings also need to apply to clefs on new lines."
-
-}
-\layout { ragged-right = ##t  }
-
-
-\relative c' {
-  \override Staff.OctavateEight.break-visibility = #all-invisible
-
-  \clef "treble_8"
-  c2 c |
-  c c | \break
-  c \clef "tenor" c |
-  \revert Staff.OctavateEight.break-visibility
-  \clef "treble_8"
-  c2 c |
-  c c | \break
-  c c
-}
-
diff --git a/input/regression/clef-oct.ly b/input/regression/clef-oct.ly
deleted file mode 100644 (file)
index f34eae1..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-
-\version "2.16.0" \header {
-
-    texidoc = "Octavation signs may be added to clefs.  These
-octavation signs may be placed below or above (meaning an octave
-higher or lower), and can take any value, including 15 for two octaves."
-
-}
-\layout { ragged-right = ##t  }
-
-
-\relative c'' {
-
-  \clef "G_8"
-  c4
-  \clef "G_15"
-  c4
-  \clef "G_7"
-  c4
-  \clef "G_6"
-  c4 
-  \clef "G^8"
-  c4 
-  \clef "G^15"
-  c4 
-  \clef "G^9"
-  c4 
-}
-
diff --git a/input/regression/clef-octavation.ly b/input/regression/clef-octavation.ly
deleted file mode 100644 (file)
index c89a547..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-\version "2.16.0"
-
-\header {
-
-  texidoc="Octavate symbols should be correctly positioned close to
-the parent clef."
-
-}
-\score {
-  <<
-    \new Staff { \clef "G^8" g''1 }
-    \new Staff { \clef "F^8" c'1 }
-    \new Staff { \clef "C^8" c''1 }
-    \new Staff { \clef "G_8" g1 }
-    \new Staff { \clef "F_8" c,1 }
-    \new Staff { \clef "C_8" c1 }
-  >>
-}
diff --git a/input/regression/clef-optional-octavation.ly b/input/regression/clef-optional-octavation.ly
deleted file mode 100644 (file)
index 93d60db..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-\version "2.17.7"
-
-\header {
-
-  texidoc="Octavate symbols may be parenthesized or bracketed by using
-parentheses or brackets in the command string."
-
-}
-\score {
-  \new Staff {
-    \clef "G^(8)" g''1 |
-    \clef "bass_[15]" c,,1 |
-    \clef "C^(8)" c''1
-  }
-}
diff --git a/input/regression/clef-transposition-optional.ly b/input/regression/clef-transposition-optional.ly
new file mode 100644 (file)
index 0000000..c7bc4f0
--- /dev/null
@@ -0,0 +1,15 @@
+\version "2.17.7"
+
+\header {
+
+  texidoc="Clef transposition symbols may be parenthesized or
+bracketed by using parentheses or brackets in the command string."
+
+}
+\score {
+  \new Staff {
+    \clef "G^(8)" g''1 |
+    \clef "bass_[15]" c,,1 |
+    \clef "C^(8)" c''1
+  }
+}
diff --git a/input/regression/clef-transposition-placement.ly b/input/regression/clef-transposition-placement.ly
new file mode 100644 (file)
index 0000000..119e00a
--- /dev/null
@@ -0,0 +1,18 @@
+\version "2.16.0"
+
+\header {
+
+  texidoc="Transposition symbols should be correctly positioned
+close to the parent clef."
+
+}
+\score {
+  <<
+    \new Staff { \clef "G^8" g''1 }
+    \new Staff { \clef "F^8" c'1 }
+    \new Staff { \clef "C^8" c''1 }
+    \new Staff { \clef "G_8" g1 }
+    \new Staff { \clef "F_8" c,1 }
+    \new Staff { \clef "C_8" c1 }
+  >>
+}
diff --git a/input/regression/clef-transposition-visibility.ly b/input/regression/clef-transposition-visibility.ly
new file mode 100644 (file)
index 0000000..ab82c49
--- /dev/null
@@ -0,0 +1,28 @@
+\version "2.17.18"
+
+\header {
+
+    texidoc = "Clefs may be transposed.  By default, break-visibility
+of ClefModifiers is derived from the associated clef, but it may
+be overridden explicitly. The initial treble_8 clef should not have an
+8, while the treble_8 clef after the tenor clef should.
+These settings also need to apply to clefs on new lines."
+
+}
+\layout { ragged-right = ##t  }
+
+
+\relative c' {
+  \override Staff.ClefModifier.break-visibility = #all-invisible
+
+  \clef "treble_8"
+  c2 c |
+  c c | \break
+  c \clef "tenor" c |
+  \revert Staff.ClefModifier.break-visibility
+  \clef "treble_8"
+  c2 c |
+  c c | \break
+  c c
+}
+
diff --git a/input/regression/clef-transposition.ly b/input/regression/clef-transposition.ly
new file mode 100644 (file)
index 0000000..d2ff573
--- /dev/null
@@ -0,0 +1,28 @@
+
+\version "2.16.0" \header {
+
+    texidoc = "Clefs may be transposed up or down
+by arbitrary amount, including 15 for two octaves."
+
+}
+\layout { ragged-right = ##t  }
+
+
+\relative c'' {
+
+  \clef "G_8"
+  c4
+  \clef "G_15"
+  c4
+  \clef "G_7"
+  c4
+  \clef "G_6"
+  c4
+  \clef "G^8"
+  c4
+  \clef "G^15"
+  c4
+  \clef "G^9"
+  c4
+}
+
diff --git a/input/regression/cue-clef-octavation.ly b/input/regression/cue-clef-octavation.ly
deleted file mode 100644 (file)
index 73e3302..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-\version "2.16.0"
-
-\header {
-  texidoc = "Octavation for clefs for cue notes."
-}
-
-vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
-\addQuote vIQuote { \vI }
-
-Solo = \relative c' {
-  \clef "treble_8" c1 |
-  \cueDuringWithClef #"vIQuote" #UP #"bass^8" { R1 } |
-  c1 | \break
-  c c
-  \clef "bass^8" c1 |
-  \cueDuringWithClef #"vIQuote" #UP #"treble_8" { R1 R1 } |
-  c
-  \cueDuringWithClef #"vIQuote" #UP #"treble_8" { R1 \break R } |
-  c
-}
-
-\score {
-  <<
-    \new Staff \new Voice \Solo
-  >>
-}
diff --git a/input/regression/cue-clef-optional-octavation.ly b/input/regression/cue-clef-optional-octavation.ly
deleted file mode 100644 (file)
index cdc6206..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-\version "2.17.7"
-
-\header {
-  texidoc = "Optional octavation for clefs for cue notes is
-supported by using parentheses or brackets around the octavation number."
-}
-
-vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
-\addQuote vIQuote { \vI }
-
-Solo = \relative c' {
-  \clef "treble_8" c1 |
-  \cueDuringWithClef #"vIQuote" #UP #"bass^(15)" { R1 } |
-  c1 | \break
-  c c
-  \clef "bass^8" c1 |
-  \cueDuringWithClef #"vIQuote" #UP #"G_[8]" { R1 R1 } |
-  c
-  \cueDuringWithClef #"vIQuote" #UP #"treble_(8)" { R1 \break R } |
-  c
-}
-
-\score {
-  <<
-    \new Staff \new Voice \Solo
-  >>
-}
diff --git a/input/regression/cue-clef-transposition-optional.ly b/input/regression/cue-clef-transposition-optional.ly
new file mode 100644 (file)
index 0000000..caeaf13
--- /dev/null
@@ -0,0 +1,27 @@
+\version "2.17.7"
+
+\header {
+  texidoc = "Optional transposition for clefs for cue notes is supported
+by using parentheses or brackets around the transposition number."
+}
+
+vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
+\addQuote vIQuote { \vI }
+
+Solo = \relative c' {
+  \clef "treble_8" c1 |
+  \cueDuringWithClef #"vIQuote" #UP #"bass^(15)" { R1 } |
+  c1 | \break
+  c c
+  \clef "bass^8" c1 |
+  \cueDuringWithClef #"vIQuote" #UP #"G_[8]" { R1 R1 } |
+  c
+  \cueDuringWithClef #"vIQuote" #UP #"treble_(8)" { R1 \break R } |
+  c
+}
+
+\score {
+  <<
+    \new Staff \new Voice \Solo
+  >>
+}
diff --git a/input/regression/cue-clef-transposition.ly b/input/regression/cue-clef-transposition.ly
new file mode 100644 (file)
index 0000000..dd26c9f
--- /dev/null
@@ -0,0 +1,26 @@
+\version "2.16.0"
+
+\header {
+  texidoc = "Transposition for clefs for cue notes."
+}
+
+vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
+\addQuote vIQuote { \vI }
+
+Solo = \relative c' {
+  \clef "treble_8" c1 |
+  \cueDuringWithClef #"vIQuote" #UP #"bass^8" { R1 } |
+  c1 | \break
+  c c
+  \clef "bass^8" c1 |
+  \cueDuringWithClef #"vIQuote" #UP #"treble_8" { R1 R1 } |
+  c
+  \cueDuringWithClef #"vIQuote" #UP #"treble_8" { R1 \break R } |
+  c
+}
+
+\score {
+  <<
+    \new Staff \new Voice \Solo
+  >>
+}
index 66acd5b324b59d71936b378d13a30d757229c034..acea89d45b15aff71ba4f1fdee7bab6ae3d0ed3b 100644 (file)
@@ -1,5 +1,6 @@
 \header {
-    texidoc = "Lyrics are not lowered despite the presence of an octavation 8."
+    texidoc = "Lyrics are not lowered despite the presence of
+a clef transposition (8 below the clef)."
 }
 
 \version "2.16.0"
index 85be49ec1aaccb8ba03ad2e69724753343077748..4e030790693e36d7940f645106f96ae867985909 100644 (file)
@@ -5,8 +5,8 @@
   <identification>
     <miscellaneous>
       <miscellaneous-field name="description">Various clefs: G, C, F, percussion, 
-          TAB and none; some are also possible with octavation and  on other 
-          staff lines than their default (e.g. soprano/alto/tenor/bariton C 
+          TAB and none; some are also possible with transposition and on other
+          staff lines than their default (e.g. soprano/alto/tenor/baritone C
           clefs); Each measure shows a different clef (measure 17 has the "none" 
           clef), only measure 18 has the same treble clef as measure 
           1.</miscellaneous-field>
index 364d725c9afab0383163eb3de61ac72e135230e2..9771799c18338a60d7fc4be6c39edaf698ea8020 100644 (file)
@@ -34,7 +34,7 @@ protected:
   DECLARE_ACKNOWLEDGER (stem);
   DECLARE_ACKNOWLEDGER (accidental);
   DECLARE_ACKNOWLEDGER (clef);
-  DECLARE_ACKNOWLEDGER (octavate_eight);
+  DECLARE_ACKNOWLEDGER (clef_modifier);
   DECLARE_ACKNOWLEDGER (key_signature);
   DECLARE_ACKNOWLEDGER (time_signature);
   DECLARE_ACKNOWLEDGER (beam);
@@ -167,7 +167,7 @@ Beam_collision_engraver::acknowledge_key_signature (Grob_info i)
 }
 
 void
-Beam_collision_engraver::acknowledge_octavate_eight (Grob_info i)
+Beam_collision_engraver::acknowledge_clef_modifier (Grob_info i)
 {
   covered_grobs_.push_back (i);
 }
@@ -199,7 +199,7 @@ ADD_ACKNOWLEDGER (Beam_collision_engraver, accidental);
 ADD_ACKNOWLEDGER (Beam_collision_engraver, clef);
 ADD_ACKNOWLEDGER (Beam_collision_engraver, key_signature);
 ADD_ACKNOWLEDGER (Beam_collision_engraver, time_signature);
-ADD_ACKNOWLEDGER (Beam_collision_engraver, octavate_eight);
+ADD_ACKNOWLEDGER (Beam_collision_engraver, clef_modifier);
 ADD_ACKNOWLEDGER (Beam_collision_engraver, flag);
 ADD_ACKNOWLEDGER (Beam_collision_engraver, beam);
 
index 1471c481b2d0805b1958b45be89d15a7954f07d7..9e2a3eaa7f82c9255f4fd3105240dbf4bbf89cc3 100644 (file)
@@ -43,11 +43,11 @@ protected:
   virtual void derived_mark () const;
 private:
   Item *clef_;
-  Item *octavate_;
+  Item *modifier_;
 
   SCM prev_glyph_;
   SCM prev_cpos_;
-  SCM prev_octavation_;
+  SCM prev_transposition_;
   void create_clef ();
   void set_glyph ();
   void inspect_clef_properties ();
@@ -56,7 +56,7 @@ private:
 void
 Clef_engraver::derived_mark () const
 {
-  scm_gc_mark (prev_octavation_);
+  scm_gc_mark (prev_transposition_);
   scm_gc_mark (prev_cpos_);
   scm_gc_mark (prev_glyph_);
 }
@@ -64,12 +64,12 @@ Clef_engraver::derived_mark () const
 Clef_engraver::Clef_engraver ()
 {
   clef_ = 0;
-  octavate_ = 0;
+  modifier_ = 0;
 
   /*
     will trigger a clef at the start since #f != ' ()
   */
-  prev_octavation_ = prev_cpos_ = prev_glyph_ = SCM_BOOL_F;
+  prev_transposition_ = prev_cpos_ = prev_glyph_ = SCM_BOOL_F;
 }
 
 void
@@ -107,21 +107,21 @@ Clef_engraver::create_clef ()
       if (scm_is_number (cpos))
         clef_->set_property ("staff-position", cpos);
 
-      SCM oct = get_property ("clefOctavation");
-      if (scm_is_number (oct) && scm_to_int (oct))
+      SCM transp = get_property ("clefTransposition");
+      if (scm_is_number (transp) && scm_to_int (transp))
         {
-          Item *g = make_item ("OctavateEight", SCM_EOL);
+          Item *g = make_item ("ClefModifier", SCM_EOL);
 
-          int abs_oct = scm_to_int (oct);
-          int dir = sign (abs_oct);
-          abs_oct = abs (abs_oct) + 1;
+          int abs_transp = scm_to_int (transp);
+          int dir = sign (abs_transp);
+          abs_transp = abs (abs_transp) + 1;
 
-          SCM txt = scm_number_to_string (scm_from_int (abs_oct),
+          SCM txt = scm_number_to_string (scm_from_int (abs_transp),
                                           scm_from_int (10));
 
-          SCM style = get_property ("clefOctavationStyle");
+          SCM style = get_property ("clefTranspositionStyle");
 
-          SCM formatter = get_property ("clefOctavationFormatter");
+          SCM formatter = get_property ("clefTranspositionFormatter");
           if (ly_is_procedure (formatter))
             g->set_property ("text", scm_call_2 (formatter, txt, style));
 
@@ -130,7 +130,7 @@ Clef_engraver::create_clef ()
           g->set_parent (clef_, Y_AXIS);
           g->set_parent (clef_, X_AXIS);
           g->set_property ("direction", scm_from_int (dir));
-          octavate_ = g;
+          modifier_ = g;
         }
     }
 }
@@ -153,13 +153,13 @@ Clef_engraver::inspect_clef_properties ()
 {
   SCM glyph = get_property ("clefGlyph");
   SCM clefpos = get_property ("clefPosition");
-  SCM octavation = get_property ("clefOctavation");
+  SCM transposition = get_property ("clefTransposition");
   SCM force_clef = get_property ("forceClef");
 
   if (clefpos == SCM_EOL
       || scm_equal_p (glyph, prev_glyph_) == SCM_BOOL_F
       || scm_equal_p (clefpos, prev_cpos_) == SCM_BOOL_F
-      || scm_equal_p (octavation, prev_octavation_) == SCM_BOOL_F
+      || scm_equal_p (transposition, prev_transposition_) == SCM_BOOL_F
       || to_boolean (force_clef))
     {
       apply_on_children (context (),
@@ -174,7 +174,7 @@ Clef_engraver::inspect_clef_properties ()
 
       prev_cpos_ = clefpos;
       prev_glyph_ = glyph;
-      prev_octavation_ = octavation;
+      prev_transposition_ = transposition;
     }
 
   if (to_boolean (force_clef))
@@ -199,7 +199,7 @@ Clef_engraver::stop_translation_timestep ()
 
       clef_ = 0;
 
-      octavate_ = 0;
+      modifier_ = 0;
     }
 }
 
@@ -210,12 +210,12 @@ ADD_TRANSLATOR (Clef_engraver,
 
                 /* create */
                 "Clef "
-                "OctavateEight ",
+                "ClefModifier ",
 
                 /* read */
                 "clefGlyph "
-                "clefOctavation "
-                "clefOctavationStyle "
+                "clefTransposition "
+                "clefTranspositionStyle "
                 "clefPosition "
                 "explicitClefVisibility "
                 "forceClef ",
index 1723964266001d47bd26fe0c05771505d03e9338..aebf071b9ece7d86b70d40d027c394b47718424b 100644 (file)
@@ -46,22 +46,22 @@ protected:
   virtual void derived_mark () const;
 private:
   Item *clef_;
-  Item *octavate_;
+  Item *modifier_;
 
   SCM prev_glyph_;
   SCM prev_cpos_;
-  SCM prev_octavation_;
+  SCM prev_transposition_;
   void create_clef ();
   void create_end_clef ();
   void set_glyph ();
   void inspect_clef_properties ();
-  void create_octavate_eight (SCM oct);
+  void create_clef_modifier (SCM oct);
 };
 
 void
 Cue_clef_engraver::derived_mark () const
 {
-  scm_gc_mark (prev_octavation_);
+  scm_gc_mark (prev_transposition_);
   scm_gc_mark (prev_cpos_);
   scm_gc_mark (prev_glyph_);
 }
@@ -69,9 +69,9 @@ Cue_clef_engraver::derived_mark () const
 Cue_clef_engraver::Cue_clef_engraver ()
 {
   clef_ = 0;
-  octavate_ = 0;
+  modifier_ = 0;
 
-  prev_octavation_ = prev_cpos_ = prev_glyph_ = SCM_EOL;
+  prev_transposition_ = prev_cpos_ = prev_glyph_ = SCM_EOL;
 }
 
 void
@@ -100,22 +100,22 @@ Cue_clef_engraver::acknowledge_bar_line (Grob_info info)
 }
 
 void
-Cue_clef_engraver::create_octavate_eight (SCM oct)
+Cue_clef_engraver::create_clef_modifier (SCM transp)
 {
-  if (scm_is_number (oct) && scm_to_int (oct))
+  if (scm_is_number (transp) && scm_to_int (transp))
     {
-      Item *g = make_item ("OctavateEight", SCM_EOL);
+      Item *g = make_item ("ClefModifier", SCM_EOL);
 
-      int abs_oct = scm_to_int (oct);
-      int dir = sign (abs_oct);
-      abs_oct = abs (abs_oct) + 1;
+      int abs_transp = scm_to_int (transp);
+      int dir = sign (abs_transp);
+      abs_transp = abs (abs_transp) + 1;
 
-      SCM txt = scm_number_to_string (scm_from_int (abs_oct),
+      SCM txt = scm_number_to_string (scm_from_int (abs_transp),
                                       scm_from_int (10));
 
-      SCM style = get_property ("cueClefOctavationStyle");
+      SCM style = get_property ("cueClefTranspositionStyle");
 
-      SCM formatter = get_property ("cueClefOctavationFormatter");
+      SCM formatter = get_property ("cueClefTranspositionFormatter");
       if (ly_is_procedure (formatter))
         g->set_property ("text", scm_call_2 (formatter, txt, style));
 
@@ -124,7 +124,7 @@ Cue_clef_engraver::create_octavate_eight (SCM oct)
       g->set_parent (clef_, Y_AXIS);
       g->set_parent (clef_, X_AXIS);
       g->set_property ("direction", scm_from_int (dir));
-      octavate_ = g;
+      modifier_ = g;
     }
 }
 
@@ -140,7 +140,7 @@ Cue_clef_engraver::create_clef ()
       if (scm_is_number (cpos))
         clef_->set_property ("staff-position", cpos);
 
-      create_octavate_eight (get_property ("cueClefOctavation"));
+      create_clef_modifier (get_property ("cueClefTransposition"));
     }
 }
 
@@ -154,7 +154,7 @@ Cue_clef_engraver::create_end_clef ()
       if (scm_is_number (cpos))
         clef_->set_property ("staff-position", cpos);
 
-      create_octavate_eight (get_property ("clefOctavation"));
+      create_clef_modifier (get_property ("clefTransposition"));
     }
 }
 
@@ -169,11 +169,11 @@ Cue_clef_engraver::inspect_clef_properties ()
 {
   SCM glyph = get_property ("cueClefGlyph");
   SCM clefpos = get_property ("cueClefPosition");
-  SCM octavation = get_property ("cueClefOctavation");
+  SCM transposition = get_property ("cueClefTransposition");
 
   if (scm_equal_p (glyph, prev_glyph_) == SCM_BOOL_F
       || scm_equal_p (clefpos, prev_cpos_) == SCM_BOOL_F
-      || scm_equal_p (octavation, prev_octavation_) == SCM_BOOL_F)
+      || scm_equal_p (transposition, prev_transposition_) == SCM_BOOL_F)
     {
       set_glyph ();
       if (scm_is_string (glyph))
@@ -187,7 +187,7 @@ Cue_clef_engraver::inspect_clef_properties ()
 
       prev_cpos_ = clefpos;
       prev_glyph_ = glyph;
-      prev_octavation_ = octavation;
+      prev_transposition_ = transposition;
     }
 
 }
@@ -205,7 +205,7 @@ Cue_clef_engraver::stop_translation_timestep ()
         clef_->set_property ("break-visibility", vis);
 
       clef_ = 0;
-      octavate_ = 0;
+      modifier_ = 0;
     }
 }
 
@@ -217,16 +217,16 @@ ADD_TRANSLATOR (Cue_clef_engraver,
                 /* create */
                 "CueClef "
                 "CueEndClef "
-                "OctavateEight ",
+                "ClefModifier ",
 
                 /* read */
                 "cueClefGlyph "
-                "cueClefOctavation "
-                "cueClefOctavationStyle "
+                "cueClefTransposition "
+                "cueClefTranspositionStyle "
                 "cueClefPosition "
                 "explicitCueClefVisibility "
                 "middleCCuePosition "
-                "clefOctavation ",
+                "clefTransposition ",
 
                 /* write */
                 ""
index d6036bc4efcd06aa0bed5a2275632bbfbd9e069c..8b5893e22387ff30b3e324b277f2501945fdcb90 100644 (file)
@@ -613,8 +613,8 @@ automatically when an output definition (a @code{\\score} or
   endRepeatType = #":|."
   barNumberVisibility = #first-bar-number-invisible-and-no-parenthesized-bar-numbers
   barNumberFormatter = #robust-bar-number-function
-  clefOctavationFormatter = #clef-octavation-markup
-  cueClefOctavationFormatter = #clef-octavation-markup
+  clefTranspositionFormatter = #clef-transposition-markup
+  cueClefTranspositionFormatter = #clef-transposition-markup
   automaticBars = ##t
 
   explicitClefVisibility = #all-visible
@@ -970,7 +970,7 @@ of Editio Vaticana."
   middleCPosition = #1
   middleCClefPosition = #1
   clefPosition = #1
-  clefOctavation = #0
+  clefTransposition = #0
 
   %% Select vaticana style font.
   \override KeySignature.glyph-name-alist = #alteration-vaticana-glyph-name-alist
@@ -1063,7 +1063,7 @@ accommodated for typesetting a piece in mensural style."
   middleCClefPosition = #-6
   middleCPosition = #-6
   clefPosition = #-2
-  clefOctavation = #0
+  clefTransposition = #0
 
   %% Select mensural style font.
   \override TimeSignature.style = #'mensural
@@ -1122,7 +1122,7 @@ accommodated for typesetting a piece in Petrucci style."
   middleCClefPosition = #-6
   middleCPosition = #-6
   clefPosition = #-2
-  clefOctavation = #0
+  clefTransposition = #0
 
   \override Custos.style = #'mensural
   \override Custos.neutral-position = #3
@@ -1181,7 +1181,7 @@ accommodated for typesetting a piece in Kievan style."
  middleCClefPosition = #0
  middleCPosition = #0
  clefPosition = #0
- clefOctavation = #0
+ clefTransposition = #0
 
  %% Accidentals are valid only once (if the following note is different)
  extraNatural = ##f
index b0a46ebac8de9e357cfbc9271f9c45cc3c6b346d..b64cf757830d4687144e8d511c5d2d08d7bbf8d1 100644 (file)
@@ -3547,6 +3547,19 @@ def conv(str):
                   r"\1 " + do + r"\2", str)
     return str
 
+@rule ((2, 17, 18),
+    "Rename OctavateEight to ClefModifier, rename related properties.")
+def conv(str):
+    str = re.sub ('OctavateEight',               'ClefModifier',                   str)
+    str = re.sub ('octavate-eight-interface',    'clef-modifier-interface',        str)
+    str = re.sub ('clefOctavation',              'clefTransposition',              str)
+    str = re.sub ('clefOctavationFormatter',     'clefTranspositionFormatter',     str)
+    str = re.sub ('clefOctavationStyle',         'clefTranspositionStyle',         str)
+    str = re.sub ('cueClefOctavation',           'cueClefTransposition',           str)
+    str = re.sub ('cueClefOctavationFormatter',  'cueClefTranspositionFormatter',  str)
+    str = re.sub ('cueClefOctavationStyle',      'cueClefTranspositionStyle',      str)
+    return str
+
 # Guidelines to write rules (please keep this at the end of this file)
 #
 # - keep at most one rule per version; if several conversions should be done,
index 98f52aaa09bf89463d39d27032b0e8374ce8a3cc..667986d427ba70d5b853de878214f7d947a161a3 100644 (file)
@@ -172,11 +172,12 @@ symbol and the prefix of a chord name.")
      (chordRootNamer ,procedure? "A function that converts from a pitch
 object to a text markup.  Used for chords.")
      (clefGlyph ,string? "Name of the symbol within the music font.")
-     (clefOctavation ,integer? "Add this much extra octavation.
+     (clefTransposition ,integer? "Add this much extra transposition.
 Values of 7 and -7 are common.")
-     (clefOctavationFormatter ,procedure? "A procedure that takes the
-Octavation number as a string and the style as a symbol and returns a markup.")
-     (clefOctavationStyle ,symbol? "Determines the way the octavateEight
+     (clefTranspositionFormatter ,procedure? "A procedure that takes the
+Transposition number as a string and the style as a symbol and returns a
+markup.")
+     (clefTranspositionStyle ,symbol? "Determines the way the ClefModifier
 grob is displayed.  Possible values are @samp{default}, @samp{parenthesized}
 and @samp{bracketed}.")
      (clefPosition ,number? "Where should the center of the clef
@@ -198,11 +199,12 @@ a hairpin crescendo is used.")
      (crescendoText ,markup? "The text to print at start of non-hairpin
 crescendo, i.e., @samp{cresc.}.")
      (cueClefGlyph ,string? "Name of the symbol within the music font.")
-     (cueClefOctavation ,integer? "Add this much extra octavation.
+     (cueClefTransposition ,integer? "Add this much extra transposition.
 Values of 7 and -7 are common.")
-     (cueClefOctavationFormatter ,procedure? "A procedure that takes the
-Octavation number as a string and the style as a symbol and returns a markup.")
-     (cueClefOctavationStyle ,symbol? "Determines the way the octavateEight
+     (cueClefTranspositionFormatter ,procedure? "A procedure that
+takes the Transposition number as a string and the style as a symbol
+and returns a markup.")
+     (cueClefTranspositionStyle ,symbol? "Determines the way the ClefModifier
 grob is displayed.  Possible values are @samp{default}, @samp{parenthesized}
 and @samp{bracketed}.")
      (cueClefPosition ,number? "Where should the center of the clef
index 6068579995115078b81526a2793326f97c285de3..d34f026497a01119ebc17b0a08dfc04f3048086d 100644 (file)
@@ -64,6 +64,13 @@ found in @file{scm/bar-line.scm}.
  "A doit or drop."
  '(thickness delta-position))
 
+(ly:add-interface
+ 'clef-modifier-interface
+  "The number describing transposition of the clef, placed below
+or above clef sign. Usually this is 8 (octave transposition)
+or 15 (two octaves), but LilyPond allows any integer here."
+  '())
+
 (ly:add-interface
  'dynamic-interface
  "Any kind of loudness sign."
@@ -189,14 +196,6 @@ accidentals)."
  "Note names."
  '())
 
-(ly:add-interface
- 'octavate-eight-interface
-  "Interface that permits the nominal identification of the octavian
-annotation that multiplies by two the freqency of the pitches present
-in a given staff were they played on a clef that lacked said octavian
-annotation."
-  '())
-
 (ly:add-interface
  'only-prebreak-interface
  "Kill this grob after the line breaking process."
index aa7c7923a9bf3887ed481ef1f3c016b66af0b0bb..8e94dae778de025d439d2e587e5740ca5611d08e 100644 (file)
        (clip-edges . #t)
        (collision-interfaces . (beam-interface
                                 clef-interface
+                                clef-modifier-interface
                                 flag-interface
                                 inline-accidental-interface
                                 key-signature-interface
                                 note-head-interface
-                                octavate-eight-interface
                                 stem-interface
                                 time-signature-interface))
        (cross-staff . ,ly:beam::calc-cross-staff)
                                pure-from-neighbor-interface
                                staff-symbol-referencer-interface))))))
 
+    (ClefModifier
+     . (
+       (break-visibility . ,(grob::inherit-parent-property
+                              X 'break-visibility))
+       (font-shape . italic)
+       (font-size . -4)
+       (self-alignment-X . ,CENTER)
+       (staff-padding . 0.2)
+       (stencil . ,ly:text-interface::print)
+       (X-offset . ,(ly:make-simple-closure
+                     `(,+
+                       ,(ly:make-simple-closure
+                         (list ly:self-alignment-interface::x-aligned-on-self))
+                       ,(ly:make-simple-closure
+                         (list ly:self-alignment-interface::centered-on-x-parent)))))
+       (Y-offset . ,side-position-interface::y-aligned-side)
+       (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
+       (Y-extent . ,grob::always-Y-extent-from-stencil)
+       (meta . ((class . Item)
+                (interfaces . (clef-modifier-interface
+                               font-interface
+                               self-alignment-interface
+                               side-position-interface
+                               text-interface))))))
+
     (ClusterSpanner
      . (
        (cross-staff . ,ly:cluster::calc-cross-staff)
                 (interfaces . (note-spacing-interface
                                spacing-interface))))))
 
-
-    (OctavateEight
-     . (
-       (break-visibility . ,(grob::inherit-parent-property
-                              X 'break-visibility))
-       (font-shape . italic)
-       (font-size . -4)
-       (self-alignment-X . ,CENTER)
-       (staff-padding . 0.2)
-       (stencil . ,ly:text-interface::print)
-       (X-offset . ,(ly:make-simple-closure
-                     `(,+
-                       ,(ly:make-simple-closure
-                         (list ly:self-alignment-interface::x-aligned-on-self))
-                       ,(ly:make-simple-closure
-                         (list ly:self-alignment-interface::centered-on-x-parent)))))
-       (Y-offset . ,side-position-interface::y-aligned-side)
-       (vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
-       (Y-extent . ,grob::always-Y-extent-from-stencil)
-       (meta . ((class . Item)
-                (interfaces . (font-interface
-                               octavate-eight-interface
-                               self-alignment-interface
-                               side-position-interface
-                               text-interface))))))
-
     (OttavaBracket
      . (
        (dash-fraction . 0.3)
index dc10fa265f04592b1e8b9953633738073bb685ef..36770519815c097802e20863a826a5109e3d0b6b 100644 (file)
@@ -956,8 +956,8 @@ Otherwise, return @code{#f}."
                                                                 value ?clef-position
                                                                 symbol 'clefPosition)
                                                          (music 'PropertySet
-                                                                value ?clef-octavation
-                                                                symbol 'clefOctavation)
+                                                                value ?clef-transposition
+                                                                symbol 'clefTransposition)
                                                          (music 'ApplyContext
                                                                 procedure ly:set-middle-C!)))))
     (let ((clef-name (assoc-get (list ?clef-glyph ?clef-position 0)
@@ -965,12 +965,12 @@ Otherwise, return @code{#f}."
       (if clef-name
          (format #f "\\clef \"~a~{~a~a~}\"~a"
                  clef-name
-                 (cond ((= 0 ?clef-octavation)
+                 (cond ((= 0 ?clef-transposition)
                         (list "" ""))
-                       ((> ?clef-octavation 0)
-                        (list "^" (1+ ?clef-octavation)))
+                       ((> ?clef-transposition 0)
+                        (list "^" (1+ ?clef-transposition)))
                        (else
-                        (list "_" (- 1 ?clef-octavation))))
+                        (list "_" (- 1 ?clef-transposition))))
                  (new-line->lily-string))
          #f))))
 
index 56284f9c4dc6111d41dc8691a00178553a60ff44..5dd09a059d597e58726233043f43b10453aeb487 100644 (file)
 ;;;; along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
 
-;; (name . (glyph clef-position octavation))
+;; (name . (glyph clef-position transposition))
 ;;
-;; -- the name clefOctavation is misleading. The value 7 is 1 octave,
-;; not 7 Octaves.
+;; -- the name clefTransposition is a bit misleading. Value 7 means
+;; a transposition of an octave, not a seventh.
 (define-public supported-clefs
   '(("treble" . ("clefs.G" -2 0))
     ("violin" . ("clefs.G" -2 0))
                                           (cadr e)
                                           (assoc-get (car e) c0-pitch-alist))))
                             ((symbol . clefPosition) (value . ,(cadr e)))
-                            ((symbol . clefOctavation) (value . ,(- oct)))))
-               ;; the clefOctavationStyle property is set only when
+                            ((symbol . clefTransposition) (value . ,(- oct)))))
+               ;; the clefTranspositionStyle property is set only when
                ;; not 'default to calm display-lily-tests.scm
                (prop-list (if (eq? style 'default)
                               prop-list
                               (append
                                 prop-list
-                                `(((symbol . clefOctavationStyle)
+                                `(((symbol . clefTranspositionStyle)
                                    (value . ,style))))))
               (musics (map make-prop-set prop-list))
               (recalc-mid-C (make-music 'ApplyContext))
     '((clefGlyph . cueClefGlyph)
       (middleCClefPosition . middleCCuePosition)
       (clefPosition . cueClefPosition)
-      (clefOctavation . cueClefOctavation)
-      (clefOctavationStyle . cueClefOctavationStyle)))
+      (clefTransposition . cueClefTransposition)
+      (clefTranspositionStyle . cueClefTranspositionStyle)))
   (let ((clef (make-clef-set clef-name)))
     (for-each
      (lambda (m)
    (make-cue-clef-set "treble_(8)")))
 
 ;; a function to add new clefs at runtime
-(define-public (add-new-clef clef-name clef-glyph clef-position octavation c0-position)
+(define-public (add-new-clef clef-name clef-glyph clef-position transposition c0-position)
   "Append the entries for a clef symbol to supported clefs and
 @code{c0-pitch-alist}."
   (set! supported-clefs
-        (acons clef-name (list clef-glyph clef-position octavation) supported-clefs))
+        (acons clef-name (list clef-glyph clef-position transposition) supported-clefs))
   (set! c0-pitch-alist
         (acons clef-glyph c0-position c0-pitch-alist)))
index 5877674d10e9e08d3d65538e762048b3b281627b..49d8768eb40500c9b1a65c1e9625adfb66e43f9e 100644 (file)
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; clefs
 
-(define-public (clef-octavation-markup oct style)
-  "The octavation sign formatting function.  @var{oct} is supposed to be
-a string holding the octavation number, @var{style} determines the
-way the octavation number is displayed."
+(define-public (clef-transposition-markup oct style)
+  "The transposition sign formatting function.  @var{oct} is supposed to be
+a string holding the transposition number, @var{style} determines the
+way the transposition number is displayed."
   (let* ((delim (if (symbol? style)
                     (case style
                       ((parenthesized) (cons "(" ")"))