]> git.donarmstrong.com Git - lilypond.git/commitdiff
Merge branch 'lilypond/translation'
authorJohn Mandereau <john.mandereau@gmail.com>
Mon, 1 Nov 2010 16:18:08 +0000 (17:18 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Mon, 1 Nov 2010 16:18:08 +0000 (17:18 +0100)
59 files changed:
Documentation/changes.tely
Documentation/contributor/doc-work.itexi
Documentation/contributor/programming-work.itexi
Documentation/de/notation/pitches.itely
Documentation/de/notation/world.itely
Documentation/es/notation/pitches.itely
Documentation/es/notation/world.itely
Documentation/fr/notation/pitches.itely
Documentation/fr/notation/world.itely
Documentation/music-glossary.tely
Documentation/notation/pitches.itely
Documentation/notation/vocal.itely
Documentation/notation/world.itely
Documentation/web/news-front.itexi
VERSION
input/regression/dynamics-text-spanner-postfix.ly
input/regression/note-names.ly [new file with mode: 0644]
input/regression/paper-nested-override2.ly [new file with mode: 0644]
input/regression/stencil-scale.ly [new file with mode: 0644]
lily/axis-group-interface-scheme.cc
lily/book-scheme.cc
lily/context-scheme.cc
lily/general-scheme.cc
lily/global-context-scheme.cc
lily/grob-scheme.cc
lily/include/stencil.hh
lily/lily-lexer.cc
lily/note-column-scheme.cc
lily/page-marker-scheme.cc
lily/pfb-scheme.cc
lily/prob-scheme.cc
lily/score-scheme.cc
lily/simple-closure.cc
lily/stencil-interpret.cc
lily/stencil-scheme.cc
lily/stencil.cc
ly/arabic.ly
ly/catalan.ly
ly/declarations-init.ly
ly/deutsch.ly
ly/english.ly
ly/espanol.ly
ly/italiano.ly
ly/language-init.ly [new file with mode: 0644]
ly/music-functions-init.ly
ly/nederlands.ly
ly/norsk.ly
ly/performer-init.ly
ly/portugues.ly
ly/predefined-guitar-fretboards.ly
ly/predefined-ukulele-fretboards.ly
ly/suomi.ly
ly/svenska.ly
ly/vlaams.ly
scm/define-markup-commands.scm
scm/define-stencil-commands.scm
scm/output-ps.scm
scm/output-svg.scm
scripts/auxiliar/update-with-convert-ly.sh [new file with mode: 0755]

index 6ea50df006e096cb0457816a286aac317ff433f2..8b36e5fe17a0dd9d945f418a8d9d544a8bb85721 100644 (file)
@@ -66,6 +66,14 @@ which scares away people.
 
 @end ignore
 
+@item
+Note names can be selected with a new
+@code{@bs{}language "italiano"} command, which
+can be used in safe mode.  The old
+@code{@bs{}include "italiano.ly"} syntax is
+still supported for now, but will be deprecated
+in the future.
+
 @item
 auotbeaming is now disabled by @code{\cadenzaOn} and enabled by
 @code{\cadenzaOff}.  Beaming in cadenzas should be indicated manually.
index 0a657de144d15cb13cc7371cebf2aa4ed3bb3840..9ac318eb6d38fe9b244f6dd8e9860abe83c9e627 100644 (file)
@@ -1418,15 +1418,9 @@ scripts/auxiliar/strip-whitespace.py Documentation/FILENAME
 
 @subheading Updating doc with @command{convert-ly}
 
-cd into @file{Documentation/} and run
-
-@example
-find . -name '*.itely' | xargs convert-ly -e
-@end example
-
-@noindent
-This also updates translated documentation.
-
+Don't.  This should be done by programmers when they add new
+features.  If you notice that it hasn't been done, complain to
+@code{lilypond-devel}.
 
 
 @node Docstrings in scheme
index 672533ecb89f20f56beddb91382f013ba398d055..999bc92d2e5013bb3ecebad8e902dd64d2e4fb61 100644 (file)
@@ -1124,8 +1124,8 @@ for feature addition and modification.
 * Write the code::
 * Write regression tests::
 * Write convert-ly rule::
-* Automatically update auxiliary information::
-* Manually update auxiliary information::
+* Automatically update documentation::
+* Manually update documentation::
 * Edit changes.tely::
 * Verify successful build::
 * Verify regression tests::
@@ -1191,41 +1191,30 @@ It will change all files in git, so use with caution and examine
 the resulting diff.
 
 
-@node Automatically update auxiliary information
-@subsection Automatically update auxiliary information
+@node Automatically update documentation
+@subsection Automatically update documentation
 
-convert-ly should be used to update the documentation, the snippets,
-and the regression tests.  This not only makes the necessary syntax
-changes, it also tests the convert-ly rules.
+@command{convert-ly} should be used to update the documentation,
+the snippets, and the regression tests.  This not only makes the
+necessary syntax changes, it also tests the @command{convert-ly}
+rules.
 
-The automatic updating is a three step process.  First, be sure you
-are in the top-level source directory.  Then, for the
-documentation, do:
+The automatic updating is performed by moving to the top-level
+source directory, then running:
 
 @example
-find Documentation/ -name '*.itely' | xargs convert-ly -e --from @qq{@var{X.Y.Z}}
+scripts/auxiliar/update-with-convert-ly.sh
 @end example
 
-@noindent
-where @var{X.Y.Z} is the version number of the last released development
-version.
-
-Next, for the snippets, do:
+If you did an out-of-tree build, pass in the relative path:
 
 @example
-find Documentation/snippets/ -name '*.ly' | xargs convert-ly -e --from @qq{@var{X.Y.Z}}
-@end example
-
-Finally, for the regression tests, do:
-
-@example
-find input/regression/ -name '*.ly' | xargs convert-ly -e --from @qq{@var{X.Y.Z}}
-
+BUILD_DIR=../build-lilypond/ scripts/auxiliar/update-with-convert-ly.sh
 @end example
 
 
-@node Manually update auxiliary information
-@subsection Manually update auxiliary information
+@node Manually update documentation
+@subsection Manually update documentation
 
 Where the convert-ly rule is not able to automatically update the inline
 lilypond code in the documentation (i.e. if a NOT_SMART rule is used), the
index 807d9116df44a80222559496182d1064aa726687..d9c31a627a88fb40bcfd0eeec081d060de766167 100644 (file)
@@ -43,7 +43,6 @@ Modus besser.
 * Relative Oktavenbezeichnung::       
 * Versetzungszeichen::                 
 * Notenbezeichnungen in anderen Sprachen:: 
-* Nichteuropäische Notenbezeichnungen und Versetzungszeichen:: 
 @end menu
 
 @node Absolute Oktavenbezeichnung
@@ -477,12 +476,6 @@ Zum Beispiel fügt man mit @code{@w{\include "deutsch.ly"}} die
 Notendefinitionen für die deutsche Sprache am Anfang der Datei 
 hinzu
 
-@warning{Weil in einigen @code{\include}-Dateien (wie
-beispielsweise @code{@w{predefined-fretboards.ly}}) die niederländischen
-(Standard-)Notenbezeichnungen benutzt werden, muss der
-@code{@bs{}include}-Befehl für die Sprachdatei nach allen
-anderen LilyPond-eigenen Dateien gesetzt werden.}
-
 In der Tabelle sind die existierenden Sprachdefinitionen
 mit den dazugehörigen Notenbezeichnungen dargestellt.
 
@@ -602,73 +595,13 @@ Sprachen sind noch keine eigenen Namen definiert.
 Glossar:
 @rglos{Pitch names}.
 
+Notationsreferenz:
+@ref{Nichteuropäische Notenbezeichnungen und Versetzungszeiche}.
+
 Schnipsel:
 @rlsr{Pitches}.
 
 
-@node Nichteuropäische Notenbezeichnungen und Versetzungszeichen
-@unnumberedsubsubsec Nichteuropäische Notenbezeichnungen und Versetzungszeichen
-@translationof Non-Western note names and accidentals
-
-Viele nicht-europäische Musik (und auch manche europäische Volksmusik)
-benutzt alternative oder erweiterte Skalen (Tonleitern), die man
-nicht mit der normalen westlichen Notation notieren kann.
-
-In einigen Fällen wird die klassische Notation dennoch benutzt,
-wobei man die Tonhöhenunterschiede implizit mitliest.  Beispielsweise
-arabische Musik wird mit normalen Halb- und Vierteltonversetzungszeichen
-notiert und die exakte Tonhöhe (die etwas von der notierten abeweichen
-kann) dann aus dem Kontext erschlossen.  Andere Tonsysteme brauchen
-erweiterte odert vollständige andere Notation.
-
-Die klassische Musik der Türkei, oder ottomanische Musik, benutzt
-melodische Formen, die als @notation{makamlar} bekannt sind und
-deren Intervalle auf 1/9-Bruchteilen des Ganztones beruhen.  Die
-moderne nationale Lösung ist es, die normale europäische Notation
-auf dem System mit normalen Noten zu benutzen und ihnen spezielle
-türkische Versetzungszeichen hinzuzufügen.  Diese Versetzungszeichen
-sind in der Datei @file{makam.ly} definiert.  (Wie Sie diese Datei
-finden können, wird erklärt in @rlearning{Mehr Information}.  Die
-folgende Tabelle zeigt ihre Bezeichnungen, die Versetzungszeichen-Endung,
-die an die Noten gefügt werden müssen und die Tonhöhenveränderung
-in einem Bruchteil eines Ganztones.
-
-@c TODO: can we include the actual accidentals in this table?
-@quotation
-@multitable {@b{büyük mücenneb (sharp)}} {@b{suffix}} {@b{pitch alteration}}
-@headitem Bezeichnung
-  @tab Endung @tab Tonhöhenveränderung
-
-@item büyük mücenneb (sharp)
-  @tab -bm @tab +8/9
-@item kücük mücenneb (sharp)
-  @tab -k @tab +5/9
-@item bakiye (sharp)
-  @tab -b @tab +4/9
-@item koma (sharp)
-  @tab -c @tab +1/9
-
-@item koma (flat)
-  @tab -fc @tab -1/9
-@item bakiye (flat)
-  @tab -fb @tab -4/9
-@item kücük mücenneb (flat)
-  @tab -fk @tab -5/9
-@item büyük mücenneb (flat)
-  @tab -fbm @tab -8/9
-@end multitable
-@end quotation
-
-Zu mehr Information über die klassische türkische Musik und
-makamlar, siehe @ref{Türkische klassische Musik}.
-
-
-@snippets
-
-@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
-{makam-example.ly}
-
-
 @node Viele Tonhöhen gleichzeitig verändern
 @subsection Viele Tonhöhen gleichzeitig verändern
 @translationof Changing multiple pitches
index 5ab74323b484ea1b1a3a64f2bc8c4a0e8fceb960..c3926be820a6d769ba37f2c4a981869fab40c29e 100644 (file)
@@ -22,10 +22,75 @@ zu notieren.
 
 
 @menu
+* Nichteuropäische Notenbezeichnungen und Versetzungszeichen::
 * Arabische Musik::
 * Türkische klassische Musik::
 @end menu
 
+
+@node Nichteuropäische Notenbezeichnungen und Versetzungszeichen
+@subsection Nichteuropäische Notenbezeichnungen und Versetzungszeichen
+@translationof Non-Western notation and tuning systems
+
+Viele nicht-europäische Musik (und auch manche europäische Volksmusik)
+benutzt alternative oder erweiterte Skalen (Tonleitern), die man
+nicht mit der normalen westlichen Notation notieren kann.
+
+In einigen Fällen wird die klassische Notation dennoch benutzt,
+wobei man die Tonhöhenunterschiede implizit mitliest.  Beispielsweise
+arabische Musik wird mit normalen Halb- und Vierteltonversetzungszeichen
+notiert und die exakte Tonhöhe (die etwas von der notierten abeweichen
+kann) dann aus dem Kontext erschlossen.  Andere Tonsysteme brauchen
+erweiterte odert vollständige andere Notation.
+
+Die klassische Musik der Türkei, oder ottomanische Musik, benutzt
+melodische Formen, die als @notation{makamlar} bekannt sind und
+deren Intervalle auf 1/9-Bruchteilen des Ganztones beruhen.  Die
+moderne nationale Lösung ist es, die normale europäische Notation
+auf dem System mit normalen Noten zu benutzen und ihnen spezielle
+türkische Versetzungszeichen hinzuzufügen.  Diese Versetzungszeichen
+sind in der Datei @file{makam.ly} definiert.  (Wie Sie diese Datei
+finden können, wird erklärt in @rlearning{Mehr Information}.  Die
+folgende Tabelle zeigt ihre Bezeichnungen, die Versetzungszeichen-Endung,
+die an die Noten gefügt werden müssen und die Tonhöhenveränderung
+in einem Bruchteil eines Ganztones.
+
+@c TODO: can we include the actual accidentals in this table?
+@quotation
+@multitable {@b{büyük mücenneb (sharp)}} {@b{suffix}} {@b{pitch alteration}}
+@headitem Bezeichnung
+  @tab Endung @tab Tonhöhenveränderung
+
+@item büyük mücenneb (sharp)
+  @tab -bm @tab +8/9
+@item kücük mücenneb (sharp)
+  @tab -k @tab +5/9
+@item bakiye (sharp)
+  @tab -b @tab +4/9
+@item koma (sharp)
+  @tab -c @tab +1/9
+
+@item koma (flat)
+  @tab -fc @tab -1/9
+@item bakiye (flat)
+  @tab -fb @tab -4/9
+@item kücük mücenneb (flat)
+  @tab -fk @tab -5/9
+@item büyük mücenneb (flat)
+  @tab -fbm @tab -8/9
+@end multitable
+@end quotation
+
+Zu mehr Information über die klassische türkische Musik und
+makamlar, siehe @ref{Türkische klassische Musik}.
+
+
+@snippets
+
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{makam-example.ly}
+
+
 @node Arabische Musik
 @subsection Arabische Musik
 @translationof Arabic music
index b5159ba1f8c3a6578efa8cf151b1823276e9f9f9..1bcc458ccd97bfba8ecaff94e616e70ce219d6a1 100644 (file)
@@ -41,7 +41,6 @@ ocasiones, será más práctico el modo relativo.
 * Escritura de octava relativa::
 * Alteraciones accidentales::
 * Nombres de las notas en otros idiomas::
-* Nombres de las notas y alteraciones no occidentales::
 @end menu
 
 
@@ -450,12 +449,6 @@ archivo de inicio específico del idioma según aparece relacionado más
 abajo.  Por ejemplo, para usar los nombres de las notas en español,
 inserte @code{@w{\include "espanol.ly"}} en el archivo de entrada.
 
-@warning{A causa de que alguno de los otros archivos de inclusión
-(como @code{@w{predefined-fretboards.ly}}) utilizan los nombres de
-nota predeterminados (holandeses), la instrucción @code{@bs{}include}
-para el archivo de idioma se debe colocar después de todos los demás
-archivos de la distribución de LilyPond.}
-
 Los archivos de idioma disponibles y los nombres de las notas que
 definen son los siguientes:
 
@@ -579,72 +572,13 @@ nombre especial.
 Glosario musical:
 @rglos{Pitch names}.
 
+Referencia de la notación:
+@ref{Nombres de las notas y alteraciones no occidentales}.
+
 Fragmentos de código:
 @rlsr{Pitches}.
 
 
-@node Nombres de las notas y alteraciones no occidentales
-@unnumberedsubsubsec Nombres de las notas y alteraciones no occidentales
-@translationof Non-Western note names and accidentals
-
-Muchas músicas no occidentales (y algunas folclóricas y tradicionales
-occidentales) emplean sistemas de afinación alternativos o extendidos
-que no encajan directamente dentro de la notación clásica estándar.
-
-En algunos casos aún se usa la notación estándar estando implícitas
-las diferencias de afinación.  Por ejemplo, la notación de la música
-árabe se hace con alteraciones estándar de semitono y de cuarto de
-tono, estando las modificaciones de altura exactas determinadas por el
-contexto.  Otras necesitan notaciones ampliadas o específicas.
-
-@notation{La música clásica turca}, o música otomana, emplea formas
-melódicas conocidas como @notation{makamlar}, cuyos intervalos están
-basados en divisiones del tono en novenos.  Desde el punto de vista de
-la notación moderna, es conveniente utilizar las notas (do, re, mi,
-...) de un pentagrama occidental estándar con alteraciones
-accidentales específicas de la música turca.  Estas alteraciones están
-definidas en @file{makam.ly} (para encontrar este archivo en su
-sistema, consulte @rlearning{Otras fuentes de información}).  La tabla
-siguiente relaciona sus nombres, el sufijo de la alteración que se
-debe escribir detrás de las notas, y su alteración de altura como una
-fracción del tono.
-
-@c TODO: can we include the actual accidentals in this table?
-@quotation
-@multitable {@b{büyük mücenneb (sostenido)}} {@b{suffix}} {@b{alteración de altura}}
-@headitem Nombre de la alteración
-  @tab Sufijo @tab Alteración de altura
-
-@item büyük mücenneb (sostenido)
-  @tab -bm @tab +8/9
-@item kücük mücenneb (sostenido)
-  @tab -k @tab +5/9
-@item bakiye (sostenido)
-  @tab -b @tab +4/9
-@item koma (sostenido)
-  @tab -c @tab +1/9
-
-@item koma (bemol)
-  @tab -fc @tab -1/9
-@item bakiye (bemol)
-  @tab -fb @tab -4/9
-@item kücük mücenneb (bemol)
-  @tab -fk @tab -5/9
-@item büyük mücenneb (bemol)
-  @tab -fbm @tab -8/9
-@end multitable
-@end quotation
-
-Para ver más información sobre la música clásica turca y los makamlar,
-consulte @ref{Música clásica de Turquía}.
-
-
-@snippets
-
-@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
-{makam-example.ly}
-
-
 @node Modificación de varias notas a la vez
 @subsection Modificación de varias notas a la vez
 @translationof Changing multiple pitches
index 8673ec89c4df6a6b863c7b8516827378a55ba792..4eeaf6d6f9f9f2f057dc6cea762ab99c6a43456f 100644 (file)
@@ -19,10 +19,74 @@ son de relevancia a las tradiciones musicales distintas a la
 occidental.
 
 @menu
+* Nombres de las notas y alteraciones no occidentales::
 * Música árabe::
 * Música clásica de Turquía::
 @end menu
 
+
+@node Nombres de las notas y alteraciones no occidentales
+@subsection Nombres de las notas y alteraciones no occidentales
+@translationof Non-Western notation and tuning systems
+
+Muchas músicas no occidentales (y algunas folclóricas y tradicionales
+occidentales) emplean sistemas de afinación alternativos o extendidos
+que no encajan directamente dentro de la notación clásica estándar.
+
+En algunos casos aún se usa la notación estándar estando implícitas
+las diferencias de afinación.  Por ejemplo, la notación de la música
+árabe se hace con alteraciones estándar de semitono y de cuarto de
+tono, estando las modificaciones de altura exactas determinadas por el
+contexto.  Otras necesitan notaciones ampliadas o específicas.
+
+@notation{La música clásica turca}, o música otomana, emplea formas
+melódicas conocidas como @notation{makamlar}, cuyos intervalos están
+basados en divisiones del tono en novenos.  Desde el punto de vista de
+la notación moderna, es conveniente utilizar las notas (do, re, mi,
+...) de un pentagrama occidental estándar con alteraciones
+accidentales específicas de la música turca.  Estas alteraciones están
+definidas en @file{makam.ly} (para encontrar este archivo en su
+sistema, consulte @rlearning{Otras fuentes de información}).  La tabla
+siguiente relaciona sus nombres, el sufijo de la alteración que se
+debe escribir detrás de las notas, y su alteración de altura como una
+fracción del tono.
+
+@c TODO: can we include the actual accidentals in this table?
+@quotation
+@multitable {@b{büyük mücenneb (sostenido)}} {@b{suffix}} {@b{alteración de altura}}
+@headitem Nombre de la alteración
+  @tab Sufijo @tab Alteración de altura
+
+@item büyük mücenneb (sostenido)
+  @tab -bm @tab +8/9
+@item kücük mücenneb (sostenido)
+  @tab -k @tab +5/9
+@item bakiye (sostenido)
+  @tab -b @tab +4/9
+@item koma (sostenido)
+  @tab -c @tab +1/9
+
+@item koma (bemol)
+  @tab -fc @tab -1/9
+@item bakiye (bemol)
+  @tab -fb @tab -4/9
+@item kücük mücenneb (bemol)
+  @tab -fk @tab -5/9
+@item büyük mücenneb (bemol)
+  @tab -fbm @tab -8/9
+@end multitable
+@end quotation
+
+Para ver más información sobre la música clásica turca y los makamlar,
+consulte @ref{Música clásica de Turquía}.
+
+
+@snippets
+
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{makam-example.ly}
+
+
 @node Música árabe
 @subsection Música árabe
 @translationof Arabic music
index 4eda2db2965c4d95154784693b95b97142041857..c1cad2fe7c050c0699d655e17d95ac4c322354d7 100644 (file)
@@ -44,7 +44,6 @@ fichier source au clavier de l'ordinateur.
 * Octaves relatives::       
 * Altérations::                 
 * Nom des notes dans d'autres langues:: 
-* Noms de note et altérations non-occidentaux::
 @end menu
 
 @node Hauteurs avec octave absolue
@@ -440,12 +439,6 @@ langues.  Pour les utiliser, incluez le fichier d'initialisation
 spécifique à la langue voulue.  Par exemple, pour les langues romanes,
 ajoutez @w{@code{\include "italiano.ly"}} au début du fichier source.
 
-@warning{Dans la mesure où certains fichiers d'initialisation, comme 
-@w{@code{predefined-fretboards.ly}}, utilisent les conventions bataves,
-la commande @code{@bs{}include} concernant la langue que vous désirez
-utiliser doît intervenir après toutes les autres inclusions de fichier
-d'initialisation de LilyPond.}
-
 Les fichiers de langue disponibles ainsi que les noms de note utilisés
 sont les suivants@tie{}:
 
@@ -569,74 +562,13 @@ suédois, le catalan et l'espagnol.
 Glossaire musicologique :
 @rglosnamed{Pitch names,Nom des notes}.
 
+Manuel de notation :
+@ref{Noms de note et altérations non-occidentaux}.
+
 Morceaux choisis :
 @rlsrnamed{Pitches,Hauteurs}.
 
 
-
-@node Noms de note et altérations non-occidentaux
-@unnumberedsubsubsec Noms de note et altérations non-occidentaux
-@translationof Non-Western note names and accidentals
-
-De nombreuses musiques autres qu'occidentales -- et même certaines
-formes de musique traditionnelle occidentales -- ont recours à des
-systèmes de notation alternatifs ou étendus, qui ne s'intègrent pas
-forcément dans notre système standard.
-
-Sans certains cas où la notation standard est utilisée, ces différences
-de hauteurs seront implicites.  Par exemple, la musique arabe est
-reproduite en notation standard, et utilise des quarts de ton,
-l'altération réelle dépendant du contexte.  D'autres, par contre, font
-appel à une notation étendue, voire toute particulière.
-
-La @notation{musique classique turque}, ou musique ottomane, utilise des
-formes mélodiques appelées @notation{makamlar}, dans laquelle les
-tons sont divisés en 9 intervalles.  Du point de vue actuel des
-pratiques de notation, il est possible d'utiliser les notes occidentales
-(do, ré, mi@dots{}) auxquelles on ajoutera l'atlération spécifique à la
-musique turque.  Ces différentes altérations sont définies dans le
-fichier @file{makam.ly} -- reportez vous au chapitre 
-@rlearning{Autres sources de documentation} pour le localiser sur votre
-système.  Vous trouverez, dans le tableau suivant, le nom de ces
-altérations, le suffixe à utiliser, ainsi que la fraction de ton entier
-à laquelle elles conrrespondent.
-
-@c TODO: can we include the actual accidentals in this table?
-@quotation
-@multitable {@b{büyük mücenneb (dièse)}} {@b{suffixe}} {@b{altération}}
-@headitem Nom d'altération
-  @tab suffixe @tab altération
-
-@item büyük mücenneb (dièse)
-  @tab -bm @tab +8/9
-@item kücük mücenneb (dièse)
-  @tab -k @tab +5/9
-@item bakiye (dièse)
-  @tab -b @tab +4/9
-@item koma (dièse)
-  @tab -c @tab +1/9
-
-@item koma (bémol)
-  @tab -fc @tab -1/9
-@item bakiye (bémol)
-  @tab -fb @tab -4/9
-@item kücük mücenneb (bémol)
-  @tab -fk @tab -5/9
-@item büyük mücenneb (bémol)
-  @tab -fbm @tab -8/9
-@end multitable
-@end quotation
-
-Pour plus d'information sur la musique classique turque et les
-makamlar, reportez-vous au chapitre @ref{Musique classique turque}.
-
-
-@snippets
-
-@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
-{makam-example.ly}
-
-
 @node Modification de plusieurs hauteurs
 @subsection Modification de plusieurs hauteurs
 @translationof Changing multiple pitches
index 7645713acbdfd64fdf980f53248b7a65ae27d42f..1a9120bbf8e34a3eb6e0c63ab6dfa1f7369d1f70 100644 (file)
@@ -20,10 +20,75 @@ Ce chapitre a pour objet la notation des
 musiques traditionnelles autres qu'occidentales.
 
 @menu
+* Noms de note et altérations non-occidentaux::
 * Musique arabe::
 * Musique classique turque::
 @end menu
 
+
+@node Noms de note et altérations non-occidentaux
+@subsection Noms de note et altérations non-occidentaux
+@translationof Non-Western notation and tuning systems
+
+De nombreuses musiques autres qu'occidentales -- et même certaines
+formes de musique traditionnelle occidentales -- ont recours à des
+systèmes de notation alternatifs ou étendus, qui ne s'intègrent pas
+forcément dans notre système standard.
+
+Sans certains cas où la notation standard est utilisée, ces différences
+de hauteurs seront implicites.  Par exemple, la musique arabe est
+reproduite en notation standard, et utilise des quarts de ton,
+l'altération réelle dépendant du contexte.  D'autres, par contre, font
+appel à une notation étendue, voire toute particulière.
+
+La @notation{musique classique turque}, ou musique ottomane, utilise des
+formes mélodiques appelées @notation{makamlar}, dans laquelle les
+tons sont divisés en 9 intervalles.  Du point de vue actuel des
+pratiques de notation, il est possible d'utiliser les notes occidentales
+(do, ré, mi@dots{}) auxquelles on ajoutera l'atlération spécifique à la
+musique turque.  Ces différentes altérations sont définies dans le
+fichier @file{makam.ly} -- reportez vous au chapitre
+@rlearning{Autres sources de documentation} pour le localiser sur votre
+système.  Vous trouverez, dans le tableau suivant, le nom de ces
+altérations, le suffixe à utiliser, ainsi que la fraction de ton entier
+à laquelle elles conrrespondent.
+
+@c TODO: can we include the actual accidentals in this table?
+@quotation
+@multitable {@b{büyük mücenneb (dièse)}} {@b{suffixe}} {@b{altération}}
+@headitem Nom d'altération
+  @tab suffixe @tab altération
+
+@item büyük mücenneb (dièse)
+  @tab -bm @tab +8/9
+@item kücük mücenneb (dièse)
+  @tab -k @tab +5/9
+@item bakiye (dièse)
+  @tab -b @tab +4/9
+@item koma (dièse)
+  @tab -c @tab +1/9
+
+@item koma (bémol)
+  @tab -fc @tab -1/9
+@item bakiye (bémol)
+  @tab -fb @tab -4/9
+@item kücük mücenneb (bémol)
+  @tab -fk @tab -5/9
+@item büyük mücenneb (bémol)
+  @tab -fbm @tab -8/9
+@end multitable
+@end quotation
+
+Pour plus d'information sur la musique classique turque et les
+makamlar, reportez-vous au chapitre @ref{Musique classique turque}.
+
+
+@snippets
+
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{makam-example.ly}
+
+
 @node Musique arabe
 @subsection Musique arabe
 @translationof Arabic music
index 94c1c42e39aeacfda83b5a9fda272880550872f9..aa617149491921279afe3e3b9429a8d6de847f9a 100644 (file)
@@ -148,6 +148,7 @@ Languages in this order.
 * cluster::
 * comma::
 * common meter::
+* Common Practice Period::
 * common time::
 * complement::
 * compound interval::
@@ -1990,6 +1991,25 @@ Another name for @ref{common time}.
 @ref{common time}, @ref{meter}.
 
 
+@node Common Practice Period
+@section Common Practice Period
+
+ES: ?,
+I: ?,
+F: ?,
+D: ?,
+NL: ?,
+DK: ?,
+S: ?,
+FI: ?.
+
+@c TODO:
+This is a stubs for Common Practice Period (CPP).
+
+@seealso
+@ruser{Note names in other languages}.
+
+
 @node common time
 @section common time
 
index 0451385176735a3e839eeef30c2054e15e4726c1..dba0ad325c9e20aa8d513d9eab3d36366f9d8b98 100644 (file)
@@ -38,7 +38,6 @@ mode.  In most cases, relative mode will be more convenient.
 * Relative octave entry::
 * Accidentals::
 * Note names in other languages::
-* Non-Western note names and accidentals::
 @end menu
 
 
@@ -439,80 +438,79 @@ any standard.
 @cindex language, pitch names in other
 
 There are predefined sets of note and accidental names for various
-other languages.  To use them, include the language-specific init
-file listed below.  For example, to use English note names, add
-@code{@w{\include "english.ly"}} to the input file.
+other languages.  Selecting the note name language is usually done
+at the beginning of the file; the following example is written
+using Italian note names:
 
-@warning{Because some other include files (such as @code{@w{predefined-fretboards.ly}})
-use default (Nederlands) note names, the @code{@bs{}include}
-command for the language file should be placed after all other
-LilyPond distribution files.}
+@lilypond[quote,verbatim]
+\language "italiano"
 
-The available language files and the note names they define are:
+\relative do' {
+  do re mi sib
+}
+@end lilypond
+
+The available languages and the note names they define are:
 
 @quotation
-@multitable {@file{nederlands.ly}} {do re mi fa sol la sib si}
+@multitable {@code{nederlands}} {do re mi fa sol la sib si}
 @headitem Language File
   @tab Note Names
-@item @file{nederlands.ly}
+@item @code{nederlands}
   @tab c d e f g a bes b
-@item @file{arabic.ly}
+@item @code{catalan}
   @tab do re mi fa sol la sib si
-@item @file{catalan.ly}
-  @tab do re mi fa sol la sib si
-@item @file{deutsch.ly}
+@item @code{deutsch}
   @tab c d e f g a b h
-@item @file{english.ly}
+@item @code{english}
   @tab c d e f g a bf b
-@item @file{espanol.ly}
+@item @code{espanol}
   @tab do re mi fa sol la sib si
-@item @file{italiano.ly}
+@item @code{italiano}
   @tab do re mi fa sol la sib si
-@item @file{norsk.ly}
+@item @code{norsk}
   @tab c d e f g a b h
-@item @file{portugues.ly}
+@item @code{portugues}
   @tab do re mi fa sol la sib si
-@item @file{suomi.ly}
+@item @code{suomi}
   @tab c d e f g a b h
-@item @file{svenska.ly}
+@item @code{svenska}
   @tab c d e f g a b h
-@item @file{vlaams.ly}
+@item @code{vlaams}
   @tab do re mi fa sol la sib si
 @end multitable
 @end quotation
 
-@noindent
-and the accidental suffixes they define are:
+In addition to note names, accidental suffixes may
+also vary depending on the language:
 
 @quotation
-@multitable {@file{nederlands.ly}} {-s/-sharp} {-ess/-es} {-ss/-x/-sharpsharp} {-essess/-eses}
+@multitable {@code{nederlands}} {-s/-sharp} {-ess/-es} {-ss/-x/-sharpsharp} {-essess/-eses}
 @headitem Language File
   @tab sharp @tab flat @tab double sharp @tab double flat
-@item @file{nederlands.ly}
+@item @code{nederlands}
   @tab -is @tab -es @tab -isis @tab -eses
-@item @file{arabic.ly}
-  @tab -d @tab -b @tab -dd @tab -bb
-@item @file{catalan.ly}
+@item @code{catalan}
   @tab -d/-s @tab -b @tab -dd/-ss @tab -bb
-@item @file{deutsch.ly}
+@item @code{deutsch}
   @tab -is @tab -es @tab -isis @tab -eses
-@item @file{english.ly}
+@item @code{english}
   @tab -s/-sharp @tab -f/-flat @tab -ss/-x/-sharpsharp
     @tab -ff/-flatflat
-@item @file{espanol.ly}
+@item @code{espanol}
   @tab -s @tab -b @tab -ss/-x @tab -bb
-@item @file{italiano.ly}
+@item @code{italiano}
   @tab -d @tab -b @tab -dd @tab -bb
-@item @file{norsk.ly}
+@item @code{norsk}
   @tab -iss/-is @tab -ess/-es @tab -ississ/-isis
     @tab -essess/-eses
-@item @file{portugues.ly}
+@item @code{portugues}
   @tab -s @tab -b @tab -ss @tab -bb
-@item @file{suomi.ly}
+@item @code{suomi}
   @tab -is @tab -es @tab -isis @tab -eses
-@item @file{svenska.ly}
+@item @code{svenska}
   @tab -iss @tab -ess @tab -ississ @tab -essess
-@item @file{vlaams.ly}
+@item @code{vlaams}
   @tab -k @tab -b @tab -kk @tab -bb
 @end multitable
 @end quotation
@@ -536,107 +534,51 @@ a2 as e es a ases e eses
 @cindex sesqui-flat
 
 Some music uses microtones whose alterations are fractions of a
-@q{normal} sharp or flat.  The note names for quarter-tones
-defined in the various language files are listed in the following
-table.  Here the prefixes @notation{semi-} and @notation{sesqui-}
-mean @q{half} and @q{one and a half}, respectively.  For the other
-languages, no special names have been defined yet.
+@q{normal} sharp or flat.  The following table lists note names
+for quarter-tone accidentals in various languages; here the prefixes
+@notation{semi-} and @notation{sesqui-} respectively
+mean @q{half} and @q{one and a half}.  Languages that do not
+appear in this table do not provide special note names yet.
 
 @quotation
-@multitable {@file{nederlands.ly}} {@b{semi-sharp}} {@b{semi-flat}} {@b{sesqui-sharp}} {@b{sesqui-flat}}
+@multitable {@code{nederlands}} {@b{semi-sharp}} {@b{semi-flat}} {@b{sesqui-sharp}} {@b{sesqui-flat}}
 @headitem Language File
   @tab semi-sharp @tab semi-flat @tab sesqui-sharp @tab sesqui-flat
 
-@item @file{nederlands.ly}
+@item @code{nederlands}
   @tab -ih @tab -eh @tab -isih @tab -eseh
-@item @file{arabic.ly}
-  @tab -sd @tab -sb @tab -dsd @tab -bsb
-@item @file{deutsch.ly}
+@item @code{deutsch}
   @tab -ih @tab -eh @tab -isih @tab -eseh
-@item @file{english.ly}
+@item @code{english}
   @tab -qs @tab -qf @tab -tqs @tab -tqf
-@item @file{espanol.ly}
+@item @code{espanol}
   @tab -cs @tab -cb @tab -tcs @tab -tcb
-@item @file{italiano.ly}
+@item @code{italiano}
   @tab -sd @tab -sb @tab -dsd @tab -bsb
-@item @file{portugues.ly}
+@item @code{portugues}
   @tab -sqt @tab -bqt @tab -stqt @tab -btqt
 @end multitable
 @end quotation
 
+Most languages presented here are commonly associated with
+Western classical music, also referred to as
+@notation{Common Practice Period}.  However, alternate
+pitches and tuning systems are also supported: see
+@ref{Non-Western notation and tuning systems}.
+
 
 @seealso
 Music Glossary:
-@rglos{Pitch names}.
+@rglos{Pitch names},
+@rglos{Common Practice Period}.
+
+Notation Reference:
+@ref{Non-Western notation and tuning systems}.
 
 Snippets:
 @rlsr{Pitches}.
 
 
-@node Non-Western note names and accidentals
-@unnumberedsubsubsec Non-Western note names and accidentals
-
-Many non-Western musics (and some Western folk and
-traditional musics) employ alternative or extended tuning
-systems that do not fit readily into standard classical
-notation.
-
-In some cases standard notation is still used, with the
-pitch differences being implicit.  For example, Arabic
-music is notated with standard semitone and quarter-tone
-accidentals, with the precise pitch alterations being
-determined by context.  Others require extended or unique
-notations.
-
-@notation{Turkish classical music}, or Ottoman music,
-employs melodic forms known as @notation{makamlar}, whose
-intervals are based on 1/9 divisions of the whole tone.
-From a modern notational point of view, it is convenient
-to use the standard Western staff notes (c, d, e, ...)
-with special accidentals unique to Turkish music.  These
-accidentals are defined in @file{makam.ly} (to locate this
-file on your system, see
-@rlearning{Other sources of information}).  The following
-table gives their names, the accidental suffix that must
-be added to notes, and their pitch alteration as a
-fraction of one whole tone.
-
-@c TODO: can we include the actual accidentals in this table?
-@quotation
-@multitable {@b{büyük mücenneb (sharp)}} {@b{suffix}} {@b{pitch alteration}}
-@headitem Accidental name
-  @tab suffix @tab pitch alteration
-
-@item büyük mücenneb (sharp)
-  @tab -bm @tab +8/9
-@item kücük mücenneb (sharp)
-  @tab -k @tab +5/9
-@item bakiye (sharp)
-  @tab -b @tab +4/9
-@item koma (sharp)
-  @tab -c @tab +1/9
-
-@item koma (flat)
-  @tab -fc @tab -1/9
-@item bakiye (flat)
-  @tab -fb @tab -4/9
-@item kücük mücenneb (flat)
-  @tab -fk @tab -5/9
-@item büyük mücenneb (flat)
-  @tab -fbm @tab -8/9
-@end multitable
-@end quotation
-
-For further information on Turkish classical music and
-makamlar, see @ref{Turkish classical music}.
-
-
-@snippets
-
-@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
-{makam-example.ly}
-
-
 @node Changing multiple pitches
 @subsection Changing multiple pitches
 
index 05d76e698d1da5a8bf7dbc6c3f0984244875a03b..c1cb1fea67db342eac946f95785fbafcb5412669 100644 (file)
@@ -629,7 +629,7 @@ together:
     e8
   }
   \new Lyrics \lyricsto "melody" {
-    Ki -- ri -- e __
+    Ky -- ri -- e __
   }
 >>
 @end lilypond
@@ -647,7 +647,7 @@ entering lyrics:
     e8 ( d e2 )
   }
   \new Lyrics \lyricsto "melody" {
-    Ki -- ri -- e __
+    Ky -- ri -- e __
   }
 >>
 @end lilypond
@@ -666,7 +666,7 @@ providing automatic beaming is switched off.  See
     e2.
   }
   \new Lyrics \lyricsto "melody" {
-    Ki -- ri -- e
+    Ky -- ri -- e
   }
 >>
 @end lilypond
@@ -689,7 +689,7 @@ are bracketed between @code{\melisma} and @code{\melismaEnd}.
     e2.
   }
   \new Lyrics \lyricsto "melody" {
-    Ki -- ri -- e
+    Ky -- ri -- e
   }
 >>
 @end lilypond
@@ -710,7 +710,7 @@ to be added to the melisma.
     e8 d e2
   }
   \new Lyrics \lyricsto "melody" {
-    Ki -- ri -- _ _ _ e __ _ _
+    Ky -- ri -- _ _ _ e __ _ _
   }
 >>
 @end lilypond
index d50839acfad7231e5a0d0326891dc8059402014e..532bb39d294bc43fd5fb97f67ed59ec160e8ad43 100644 (file)
@@ -16,10 +16,78 @@ The purpose of this section is to highlight musical notation issues
 that are relevant to traditions outside the Western tradition.
 
 @menu
+* Non-Western notation and tuning systems::
 * Arabic music::
 * Turkish classical music::
 @end menu
 
+
+@node Non-Western notation and tuning systems
+@subsection Non-Western notation and tuning systems
+
+@c TODO: adapt & expand. -vv
+
+Many non-Western musics (and some Western folk and
+traditional musics) employ alternative or extended tuning
+systems that do not fit readily into standard classical
+notation.
+
+In some cases standard notation is still used, with the
+pitch differences being implicit.  For example, Arabic
+music is notated with standard semitone and quarter-tone
+accidentals, with the precise pitch alterations being
+determined by context.  Others require extended or unique
+notations.
+
+@notation{Turkish classical music}, or Ottoman music,
+employs melodic forms known as @notation{makamlar}, whose
+intervals are based on 1/9 divisions of the whole tone.
+From a modern notational point of view, it is convenient
+to use the standard Western staff notes (c, d, e, ...)
+with special accidentals unique to Turkish music.  These
+accidentals are defined in @file{makam.ly} (to locate this
+file on your system, see
+@rlearning{Other sources of information}).  The following
+table gives their names, the accidental suffix that must
+be added to notes, and their pitch alteration as a
+fraction of one whole tone.
+
+@c TODO: can we include the actual accidentals in this table?
+@quotation
+@multitable {@b{büyük mücenneb (sharp)}} {@b{suffix}} {@b{pitch alteration}}
+@headitem Accidental name
+  @tab suffix @tab pitch alteration
+
+@item büyük mücenneb (sharp)
+  @tab -bm @tab +8/9
+@item kücük mücenneb (sharp)
+  @tab -k @tab +5/9
+@item bakiye (sharp)
+  @tab -b @tab +4/9
+@item koma (sharp)
+  @tab -c @tab +1/9
+
+@item koma (flat)
+  @tab -fc @tab -1/9
+@item bakiye (flat)
+  @tab -fb @tab -4/9
+@item kücük mücenneb (flat)
+  @tab -fk @tab -5/9
+@item büyük mücenneb (flat)
+  @tab -fbm @tab -8/9
+@end multitable
+@end quotation
+
+For further information on Turkish classical music and
+makamlar, see @ref{Turkish classical music}.
+
+
+@snippets
+
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{makam-example.ly}
+
+
 @node Arabic music
 @subsection Arabic music
 
@@ -67,7 +135,7 @@ elsewhere:
 
 @itemize
 @item Note names and accidentals (including quarter tones) can be
-tailored as discussed in @ref{Note names in other languages}.
+tailored as discussed in @ref{Non-Western notation and tuning systems}.
 
 @item Additional key signatures can also be tailored as described
 in @ref{Key signature}.
@@ -84,7 +152,7 @@ described in @ref{Unmetered music}.
 
 @seealso
 Notation Reference:
-@ref{Note names in other languages},
+@ref{Non-Western notation and tuning systems},
 @ref{Key signature},
 @ref{Manual beams}.
 
@@ -103,7 +171,8 @@ not suitable for the purpose of music writing, so they are not
 used.  English note names are not very familiar in Arabic music
 education, so Italian or Solfege note names (@code{do, re, mi, fa,
 sol, la, si}) are used instead.  Modifiers (accidentals) can also
-be used, as discussed in @ref{Note names in other languages}.
+be used, as discussed in
+@ref{Non-Western notation and tuning systems}.
 
 For example, this is how the Arabic @notation{rast} scale can be
 notated:
@@ -138,7 +207,7 @@ signature cannot be altered by using this method.
 
 @seealso
 Notation Reference:
-@ref{Note names in other languages}.
+@ref{Non-Western notation and tuning systems}.
 
 Snippets:
 @rlsr{World music}.
@@ -420,7 +489,7 @@ elsewhere:
 
 @itemize
 @item Note names and accidentals are provided in
-@ref{Non-Western note names and accidentals}.
+@ref{Non-Western notation and tuning systems}.
 
 @end itemize
 
@@ -448,4 +517,5 @@ of 1/9, 4/9, 5/9 and 8/9 of a tone.  These accidentals are
 defined in the file @file{makam.ly} (to locate this file on
 your system, see @rlearning{Other sources of information}).
 A more detailed description is provided in
-@ref{Non-Western note names and accidentals}.
+@ref{Non-Western notation and tuning systems}.
+
index dbb6831bd9d12b290cb5379d4de98af621a84e8a..6f777909b2ce185e56209f9dccbc9796a2b9169d 100644 (file)
@@ -9,6 +9,24 @@
 @c used for news about the upcoming release; see CG 10.2
 
 
+@newsItem
+@subsubheading Alpha test four of 2.14 -- LilyPond 2.13.38 released!  @emph{Oct 31, 2010}
+
+LilyPond 2.13.38 is out; this is the fourth alpha test of the
+upcoming 2.14 stable release.  Users are invited to experiment
+with this version.  New features since 2.12.3 are listed in the
+@qq{Changes} manual on the website section about
+@ref{Development}.
+
+There are still some Critical problems with this release: the
+vertical spacing is suspicious in two cases, and lilypond can
+crash with some odd input.  If you decide to test 2.13.38, do not
+be surprised to discover problems; just send us polite
+@ref{Bug reports}.
+
+@newsEnd
+
+
 @newsItem
 @subsubheading Alpha test three of 2.14 -- LilyPond 2.13.37 released!  @emph{Oct 25, 2010}
 
diff --git a/VERSION b/VERSION
index 2e368938705f5b1f02b9fc8406b425a0ab44ff1f..208da4ea3528eb559e073cada1629258572b881b 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,7 +1,7 @@
 PACKAGE_NAME=LilyPond
 MAJOR_VERSION=2
 MINOR_VERSION=13
-PATCH_LEVEL=38
+PATCH_LEVEL=39
 MY_PATCH_LEVEL=
 VERSION_STABLE=2.12.3
-VERSION_DEVEL=2.13.37
+VERSION_DEVEL=2.13.38
index b9a321a85f495931fbc48dafccb2cbc346ab1fee..e5e65e3f12b86b63d735104520d98368f35eab6a 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.13.19"
+\version "2.13.36"
 
 \header {
 texidoc = "The \cresc, \dim and \decresc spanners are now postfix operators
diff --git a/input/regression/note-names.ly b/input/regression/note-names.ly
new file mode 100644 (file)
index 0000000..2c75667
--- /dev/null
@@ -0,0 +1,27 @@
+\version "2.13.38"
+
+\header {
+  texidoc = "Various languages are supported for note names input.
+Selecting another language within a music expression is possible,
+and doesn't break point-and-click abilities.
+"
+}
+
+
+%% Old syntax.
+\include "english.ly"
+
+\relative c'' {
+  g4 bf d c
+
+  %% Manual override of the pitchnames variable
+  %% and the parser note names:
+  #(begin
+    (set! pitchnames (ly:assoc-get 'nederlands language-pitch-names))
+    (ly:parser-set-note-names parser pitchnames))
+  bes4 a g fis
+
+  %% The \language command acts in the same way:
+  \language "italiano"
+  sol4 fa mib re
+}
diff --git a/input/regression/paper-nested-override2.ly b/input/regression/paper-nested-override2.ly
new file mode 100644 (file)
index 0000000..632c484
--- /dev/null
@@ -0,0 +1,17 @@
+\version "2.13.38"
+
+\header {
+  texidoc = "Setting individual nested paper properties does not
+remove existing settings or break spacing annotation."
+}
+
+\book {
+  \paper {
+    annotate-spacing = ##t
+    system-system-spacing = #'((space . 12) (minimum-distance . 8))
+    system-system-spacing #'padding = #1
+  }
+  \relative c' {
+    \repeat unfold 10 { a4 d e f }
+  }
+}
diff --git a/input/regression/stencil-scale.ly b/input/regression/stencil-scale.ly
new file mode 100644 (file)
index 0000000..03cfd2e
--- /dev/null
@@ -0,0 +1,23 @@
+\version "2.13.38"
+
+\header {
+  texidoc = "Stencils can be scaled using @code{ly:stencil-scale}.
+Negative values will flip or mirror the stencil without changing its origin; this
+may result in collisions unless the scaled stencil is realigned (e.g., the time
+signature in this test)."
+}
+
+\relative c' {
+  \override Staff.Clef #'stencil =
+  #(lambda (grob)
+     (ly:stencil-scale (ly:clef::print grob) 1 -1))
+  \override Staff.TimeSignature #'stencil =
+  #(lambda (grob)
+     (ly:stencil-aligned-to
+      (ly:stencil-scale (ly:time-signature::print grob) -2 1)
+      X LEFT))
+  \override MultiMeasureRestText #'stencil =
+  #(lambda (grob)
+     (ly:stencil-scale (ly:text-interface::print grob) 2 1.6))
+  R1\fermataMarkup
+}
index 37a7ed323888dcee3457248685f8c02ad0d9af60..f15c4636abac01402ea4694b43576722488fef02 100644 (file)
@@ -49,7 +49,7 @@ LY_DEFINE (ly_relative_group_extent, "ly:relative-group-extent",
 LY_DEFINE (ly_axis_group_interface__add_element, "ly:axis-group-interface::add-element",
           2, 0, 0, (SCM grob, SCM grob_element),
           "Set @var{grob} the parent of @var{grob-element} on all axes of"
-          "@var{grob}.")
+          " @var{grob}.")
 {
   LY_ASSERT_SMOB (Grob, grob, 1);
   LY_ASSERT_SMOB (Grob, grob_element, 2);
index 28ad90cd4407c38e9f22cf7b4e0f5ec900704830..a10b39e36a5ff03644e331bb17688abfa16c813f 100644 (file)
@@ -122,7 +122,7 @@ LY_DEFINE (ly_book_add_score_x, "ly:book-add-score!",
 
 LY_DEFINE (ly_book_add_bookpart_x, "ly:book-add-bookpart!",
           2, 0, 0, (SCM book_smob, SCM book_part),
-          "Add @var{book_part} to @var{book-smob} book part list.")
+          "Add @var{book-part} to @var{book-smob} book part list.")
 {
   LY_ASSERT_SMOB (Book, book_smob, 1);
   Book *book = unsmob_book (book_smob); 
@@ -132,7 +132,7 @@ LY_DEFINE (ly_book_add_bookpart_x, "ly:book-add-bookpart!",
 
 LY_DEFINE (ly_book_book_parts, "ly:book-book-parts",
           1, 0, 0, (SCM book),
-          "Return book parts in book.")
+          "Return book parts in @var{book}.")
 {
   LY_ASSERT_SMOB (Book, book, 1);
   Book *b = unsmob_book (book);
@@ -141,7 +141,7 @@ LY_DEFINE (ly_book_book_parts, "ly:book-book-parts",
 
 LY_DEFINE (ly_book_paper, "ly:book-paper",
           1, 0, 0, (SCM book),
-          "Return paper in book.")
+          "Return paper in @var{book}.")
 {
   LY_ASSERT_SMOB (Book, book, 1);
   Book *b = unsmob_book (book);
@@ -150,7 +150,7 @@ LY_DEFINE (ly_book_paper, "ly:book-paper",
 
 LY_DEFINE (ly_book_scores, "ly:book-scores",
           1, 0, 0, (SCM book),
-          "Return scores in book.")
+          "Return scores in @var{book}.")
 {
   LY_ASSERT_SMOB (Book, book, 1);
   Book *b = unsmob_book (book);
index 8f43236d86c794dc29fbf6b385d581c1d35f405e..c18dc911f77dd23b6bc679dae3d88aeb3f9106ba 100644 (file)
@@ -37,7 +37,7 @@ LY_DEFINE (ly_context_current_moment,
 LY_DEFINE (ly_context_id, "ly:context-id",
           1, 0, 0, (SCM context),
           "Return the ID string of @var{context},"
-          " i.e., for @code{\\context Voice = one @dots{}}"
+          " i.e., for @code{\\context Voice = \"one\" @dots{}}"
           " return the string @code{one}.")
 {
   Context *tr = unsmob_context (context);
@@ -50,7 +50,7 @@ LY_DEFINE (ly_context_id, "ly:context-id",
 LY_DEFINE (ly_context_name, "ly:context-name",
           1, 0, 0, (SCM context),
           "Return the name of @var{context},"
-          " i.e., for @code{\\context Voice = one @dots{}}"
+          " i.e., for @code{\\context Voice = \"one\" @dots{}}"
           " return the symbol @code{Voice}.")
 {
   LY_ASSERT_SMOB (Context, context, 1);
index 53b0564ceb812133b8b5405b328a56df727d4d08..eb1947509df6b2a1a67b27bb6e7ab5db85f408c1 100644 (file)
@@ -79,7 +79,9 @@ LY_DEFINE (ly_find_file, "ly:find-file",
 */
 LY_DEFINE (ly_gulp_file, "ly:gulp-file",
           1, 1, 0, (SCM name, SCM size),
-          "Read the file @var{name}, and return its contents in a string."
+          "Read @var{size} characters from the file @var{name},"
+           " and return its contents in a string."
+           "  If @var{size} is undefined, the entire file is read."
           "  The file is looked up using the search path.")
 {
   LY_ASSERT_TYPE (scm_is_string, name, 1);
@@ -289,7 +291,7 @@ LY_DEFINE (ly_string_percent_encode, "ly:string-percent-encode",
 
 LY_DEFINE (ly_number_2_string, "ly:number->string",
           1, 0, 0, (SCM s),
-          "Convert @var{num} to a string without generating many decimals.")
+          "Convert @var{s} to a string without generating many decimals.")
 {
   LY_ASSERT_TYPE (scm_is_number, s, 1);
 
index 4b525e8253e4cfad5ae9184a96fc7d93454bae70..0fdf12562431797df8204c46c53af9aad9defd80 100644 (file)
@@ -65,7 +65,7 @@ LY_DEFINE (ly_make_global_translator, "ly:make-global-translator",
 LY_DEFINE (ly_make_global_context, "ly:make-global-context",
           1, 0, 0, (SCM output_def),
           "Set up a global interpretation context, using the output"
-          " block @var{output_def}.  The context is returned.")
+          " block @var{output-def}.  The context is returned.")
 {
   LY_ASSERT_SMOB (Output_def, output_def, 1);
   Output_def *odef = unsmob_output_def (output_def);
index c27a9ee8bdab5ff3dbe941a0e9bc6533857ca264..052d952a6f7010bf613020fcd64b588749c8c711 100644 (file)
@@ -111,9 +111,9 @@ LY_DEFINE (ly_grob_interfaces, "ly:grob-interfaces",
 
 LY_DEFINE (ly_grob_object, "ly:grob-object",
           2, 0, 0, (SCM grob, SCM sym),
-          "Return the value of a pointer in grob@tie{}@var{g} of property"
+          "Return the value of a pointer in grob @var{grob} of property"
           " @var{sym}.  It returns @code{'()} (end-of-list) if @var{sym}"
-          " is undefined in@tie{}@var{g}.")
+          " is undefined in @var{grob}.")
 {
   Grob *sc = unsmob_grob (grob);
    
@@ -337,7 +337,7 @@ LY_DEFINE (ly_grob_suicide_x, "ly:grob-suicide!",
 
 LY_DEFINE (ly_grob_translate_axis_x, "ly:grob-translate-axis!",
           3, 0, 0, (SCM grob, SCM d, SCM a),
-          "Translate @var{g} on axis@tie{}@var{a} over"
+          "Translate @var{grob} on axis@tie{}@var{a} over"
           " distance@tie{}@var{d}.")
 {
   Grob *me = unsmob_grob (grob);
@@ -352,7 +352,7 @@ LY_DEFINE (ly_grob_translate_axis_x, "ly:grob-translate-axis!",
 
 LY_DEFINE (ly_grob_default_font, "ly:grob-default-font",
           1, 0, 0, (SCM grob),
-          "Return the default font for grob @var{gr}.")
+          "Return the default font for grob @var{grob}.")
 {
   Grob *gr = unsmob_grob (grob);
    
index fe13d583e4ad772d6ce3ebca71a40c04e3b76811..ed0a5c96c9bf64104603c76f1caaf16182026230 100644 (file)
@@ -79,6 +79,7 @@ public:
   void rotate_degrees_absolute (Real, Offset);
   void align_to (Axis a, Real x);
   void translate_axis (Real, Axis);
+  void scale (Real, Real);
 
   Interval extent (Axis) const;
   Box extent_box () const;
index 3b9a3882b19158170de3132cf7088f10b98e9a65..424259beea59b17d6e5e6d7e1d96664548cdf14d 100644 (file)
@@ -295,9 +295,9 @@ Lily_lexer::set_identifier (SCM path, SCM val)
 
       if (scm_is_pair (path))
        {
-         SCM prev = scm_module_lookup (mod, sym);
-         if (prev != SCM_UNDEFINED)
-           val = nested_property_alist (prev, path, val);
+         SCM prev = ly_module_lookup (mod, sym);
+         if (prev != SCM_BOOL_F)
+           val = nested_property_alist (scm_variable_ref (prev), path, val);
        }
       scm_module_define (mod, sym, val);
     }
index e8b88af1e99af737ee4213c2b225c9ad34ae26fc..5fc7974ade03405b447c82d6aff8eb89abca04fd 100644 (file)
@@ -23,8 +23,8 @@
 
 LY_DEFINE (ly_note_column_accidentals, "ly:note-column-accidentals",
           1, 0, 0, (SCM note_column),
-          "Return the @code{AccidentalPlacement} grob from @var{note_column}"
-          "if any, or @code{SCM_EOL} otherwise.")
+          "Return the @code{AccidentalPlacement} grob from @var{note-column}"
+          " if any, or @code{SCM_EOL} otherwise.")
 {
   Grob *grob = unsmob_grob (note_column);
   LY_ASSERT_SMOB (Grob, note_column, 1);
@@ -36,8 +36,8 @@ LY_DEFINE (ly_note_column_accidentals, "ly:note-column-accidentals",
 
 LY_DEFINE (ly_note_column_dot_column, "ly:note-column-dot-column",
           1, 0, 0, (SCM note_column),
-          "Return the @code{DotColumn} grob from @var{note_column}"
-          "if any, or @code{SCM_EOL} otherwise.")
+          "Return the @code{DotColumn} grob from @var{note-column}"
+          " if any, or @code{SCM_EOL} otherwise.")
 {
   Grob *grob = unsmob_grob (note_column);
   LY_ASSERT_SMOB (Grob, note_column, 1);
index 670d096158857f60301cab24ca3df4f67f446745..d4eac29d2d31748dfdce67f1cc266b0679dba9a0 100644 (file)
@@ -33,7 +33,7 @@ LY_DEFINE (ly_make_page_permission_marker, "ly:make-page-permission-marker",
 LY_DEFINE (ly_make_page_label_marker, "ly:make-page-label-marker",
           1, 0, 0,
           (SCM label),
-          "Return page marker with label.")
+          "Return page marker with label @var{label}.")
 {
   LY_ASSERT_TYPE (ly_is_symbol, label, 1);
   Page_marker *page_marker = new Page_marker ();
index 730442ef05bf781b130ed7d6b0397f5c16a2ef8f..89666192a30d4a4bdcd75aa1aa990a82a31ef4c1 100644 (file)
@@ -8,7 +8,8 @@
 
 LY_DEFINE (ly_pfb_2_pfa, "ly:pfb->pfa",
           1, 0, 0, (SCM pfb_file_name),
-          "Convert the contents of a PFB file to PFA.")
+          "Convert the contents of a Type@tie{}1 font in PFB format"
+          " to PFA format.")
 {
   LY_ASSERT_TYPE (scm_is_string, pfb_file_name, 1);
 
index 119688e1570712696fc2a9746d0696366104fd96..f54769df4c60410bee29b690e5f20a5d47033c7a 100644 (file)
@@ -36,7 +36,7 @@ LY_DEFINE (ly_prob_set_property_x, "ly:prob-set-property!",
 */
 LY_DEFINE (ly_prob_property_p, "ly:prob-property?",
           2, 1, 0, (SCM obj, SCM sym),
-          "Is boolean prop @var{sym} set?")
+          "Is boolean prop @var{sym} of @var{sym} set?")
 {
   return scm_equal_p (SCM_BOOL_T, ly_prob_property (obj, sym, SCM_BOOL_F));
 }
@@ -103,7 +103,7 @@ LY_DEFINE (ly_prob_mutable_properties, "ly:prob-mutable-properties",
 LY_DEFINE (ly_prob_immutable_properties, "ly:prob-immutable-properties",
           1, 0, 0,
           (SCM prob),
-          "Retrieve an alist of mutable properties.")
+          "Retrieve an alist of immutable properties.")
 {
   LY_ASSERT_SMOB (Prob, prob, 1);
   Prob *ps = unsmob_prob (prob);
index 0fd7be0d6ff7e2aacd3383f8f60f086e033cc161..fe08bef253bd04a87c73bb835e6d8d06a5bc42ec 100644 (file)
@@ -29,7 +29,7 @@
 LY_DEFINE (ly_make_score, "ly:make-score",
           1, 0, 0,
           (SCM music),
-          "Return score with @var{music} encapsulated in @var{score}.")
+          "Return score with @var{music} encapsulated in it.")
 {
   LY_ASSERT_SMOB (Music, music, 1);
 
index ddf39efdcfe9dfdb085e6de4be99fd15d5ca1d35..48d2dab57b39d7da2d466cc45ee85c262cfd43ae 100644 (file)
@@ -104,7 +104,7 @@ LY_DEFINE (ly_simple_closure_p, "ly:simple-closure?",
 LY_DEFINE (ly_make_simple_closure, "ly:make-simple-closure",
          1, 0, 0, (SCM expr),
          "Make a simple closure.  @var{expr} should be form of"
-         " @code{(@var{func} @var{a1} @var{A2} @dots{})}, and will be"
+         " @code{(@var{func} @var{a1} @var{a2} @dots{})}, and will be"
          " invoked as @code{(@var{func} @var{delayed-arg} @var{a1}"
          " @var{a2} @dots{})}.")
 {
index 509c89aba42e13ff82f6e675df48897ac499bfa3..6985f2bbf0b6ede100868594648fbea1a1d767e9 100644 (file)
@@ -86,6 +86,22 @@ interpret_stencil_expression (SCM expr,
          interpret_stencil_expression (scm_caddr (expr), func, func_arg, o);
          (*func) (func_arg, scm_list_4 (ly_symbol2scm ("resetrotation"), angle, x, y));
 
+         return;
+       }
+      else if (head == ly_symbol2scm ("scale-stencil"))
+       {
+         SCM args = scm_cadr (expr);
+         SCM x_scale = scm_car (args);
+         SCM y_scale = scm_cadr (args);
+         Offset unscaled = o.scale (Offset (1 / scm_to_double (x_scale),
+                                            1 / scm_to_double (y_scale)));
+
+         (*func) (func_arg, scm_list_3 (ly_symbol2scm ("setscale"), x_scale,
+                                        y_scale));
+         interpret_stencil_expression (scm_caddr (expr), func, func_arg,
+                                       unscaled);
+         (*func) (func_arg, scm_list_1 (ly_symbol2scm ("resetscale")));
+
          return;
        }
       else
index f6ac03b3c26cd43b5612b504ab0eba7bb55be608..5c859251ef19e9a432064527b66538c106ea13c7 100644 (file)
@@ -390,3 +390,20 @@ LY_DEFINE (ly_all_stencil_expressions, "ly:all-stencil-expressions",
 {
   return all_stencil_heads ();
 }
+
+LY_DEFINE (ly_stencil_scale, "ly:stencil-scale",
+           3, 0, 0, (SCM stil, SCM x, SCM y),
+          "Scale @var{stil} using the horizontal and vertical scaling"
+          " factors @var{x} and @var{y}.")
+{
+  Stencil *s = unsmob_stencil (stil);
+  LY_ASSERT_SMOB (Stencil, stil, 1);
+  LY_ASSERT_TYPE (scm_is_number, x, 2);
+  LY_ASSERT_TYPE (scm_is_number, y, 3);
+
+  SCM new_s = s->smobbed_copy ();
+  Stencil *q = unsmob_stencil (new_s);
+
+  q->scale (scm_to_double (x), scm_to_double (y));
+  return new_s;
+}
index 74af9a0ab4ccdb28705c53a740923fd9b0fd5601..02f7f89b121c1ed4fab4bd4ccdd95fbd8c50cacf 100644 (file)
@@ -188,6 +188,17 @@ Stencil::translate_axis (Real x, Axis a)
   translate (o);
 }
 
+void
+Stencil::scale (Real x, Real y)
+{
+  expr_ = scm_list_3 (ly_symbol2scm ("scale-stencil"),
+                     scm_list_2 (scm_from_double (x),
+                                 scm_from_double (y)),
+                     expr_);
+  dim_[X_AXIS] *= x;
+  dim_[Y_AXIS] *= y;
+}
+
 void
 Stencil::add_stencil (Stencil const &s)
 {
index 1a4273871a93d514c35b97ee4f8c90645660f201..48414b473dfae6366cfa375d5a57f41602d89124 100644 (file)
@@ -1,5 +1,5 @@
 \version "2.12.0"
-\include "italiano.ly"
+\language "italiano"
 
 %%%%%%%
 %
index 0977bd95e22150ddba6e390b6cf3f00de6fb10e7..98b4cd33478f0d4784ba309b7a495acc61e97e67 100644 (file)
@@ -1,7 +1,7 @@
 %%%% common Catalan names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 1998--2010 Jaume Obrador <jobrador@ipc4.uib.es>
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  b  = flat (bemoll)
-  bb = double-flat
+\language "catalan"
 
-  d  = sharp (diesi)
-  dd = double-sharp
-
-  s  = sharp (sostingut)
-  ss = double-sharp
-
-  English: c   d   e   f   g   a   b
-  Catalan: do  re  mi  fa  sol la  si
-
-  Adapted from italiano.ly.
-
-%}
-
-pitchnamesCatalan = #`(
-       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (dob . ,(ly:make-pitch -1 0 FLAT))
-       (do . ,(ly:make-pitch -1 0 NATURAL))
-       (dod . ,(ly:make-pitch -1 0 SHARP))
-       (dodd . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (reb . ,(ly:make-pitch -1 1 FLAT))
-       (re . ,(ly:make-pitch -1 1 NATURAL))
-       (red . ,(ly:make-pitch -1 1 SHARP))
-       (redd . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (mib . ,(ly:make-pitch -1 2 FLAT))
-       (mi . ,(ly:make-pitch -1 2 NATURAL))
-       (mid . ,(ly:make-pitch -1 2 SHARP))
-       (midd . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fab . ,(ly:make-pitch -1 3 FLAT))
-       (fa . ,(ly:make-pitch -1 3 NATURAL))
-       (fad . ,(ly:make-pitch -1 3 SHARP))
-       (fadd . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (solb . ,(ly:make-pitch -1 4 FLAT))
-       (sol . ,(ly:make-pitch -1 4 NATURAL))
-       (sold . ,(ly:make-pitch -1 4 SHARP))
-       (soldd . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (lab . ,(ly:make-pitch -1 5 FLAT))
-       (la . ,(ly:make-pitch -1 5 NATURAL))
-       (lad . ,(ly:make-pitch -1 5 SHARP))
-       (ladd . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (sib . ,(ly:make-pitch -1 6 FLAT))
-       (si . ,(ly:make-pitch -1 6 NATURAL))
-       (sid . ,(ly:make-pitch -1 6 SHARP))
-       (sidd . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-
-       ;; Now that we have espanol.ly, should these be junked? --jcn
-       (dos . ,(ly:make-pitch -1 0 SHARP))
-       (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (res . ,(ly:make-pitch -1 1 SHARP))
-       (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (mis . ,(ly:make-pitch -1 2 SHARP))
-       (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (fas . ,(ly:make-pitch -1 3 SHARP))
-       (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (sols . ,(ly:make-pitch -1 4 SHARP))
-       (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (las . ,(ly:make-pitch -1 5 SHARP))
-       (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (sis . ,(ly:make-pitch -1 6 SHARP))
-       (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-)
-
-pitchnames = \pitchnamesCatalan
-
-#(ly:parser-set-note-names parser pitchnames)
index 54aa7121e2ec6c1fe037da8ac4068b2a291ae86d..bddd34e58208602ea0648094b1cc2e9700acbcbc 100644 (file)
@@ -29,8 +29,9 @@ maxima = #(ly:make-duration -3 0)
 \include "music-functions-init.ly"
 \include "toc-init.ly"
 
-%% default note names are dutch
-\include "nederlands.ly"
+\include "language-init.ly"
+pitchnames = #default-language
+#(ly:parser-set-note-names parser pitchnames)
 
 \include "drumpitch-init.ly"
 \include "chord-modifiers-init.ly"
index 6978b17e1c0c4f20ed1dcd962ba9a4ba0a591c1c..907049c07239e2092ec1e9a7beb54caf44ff1d93 100644 (file)
@@ -1,9 +1,7 @@
 %%%% common German names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 1997--2010 Roland Meier <meier@informatik.th-darmstadt.de>
-%%%%                Bjoern Jacke <bjoern.jacke@gmx.de>
-%%%%                  (added asas; added comment to ases)
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  es   = flat
-  eses = double-flat
-  eh   = quarter-tone flat
-  eseh = three-quarter-tones flat
+\language "deutsch"
 
-  is   = sharp
-  isis = double-sharp
-  ih   = quarter-tone sharp
-  isih = three-quarter-tones sharp
-
-  English: c  d  e  f  g  a  bf b
-   German: c  d  e  f  g  a  b  h
-
-  Adapted from svenska.ly
-
-%}
-
-pitchnamesDeutsch = #`(
-       (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (ceseh . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
-       (ces . ,(ly:make-pitch -1 0 FLAT))
-       (ceh . ,(ly:make-pitch -1 0 SEMI-FLAT))
-       (c . ,(ly:make-pitch -1 0 NATURAL))
-       (cih . ,(ly:make-pitch -1 0 SEMI-SHARP))
-       (cis . ,(ly:make-pitch -1 0 SHARP))
-       (cisih . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
-       (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-
-       (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (deseh . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
-       (des . ,(ly:make-pitch -1 1 FLAT))
-       (deh . ,(ly:make-pitch -1 1 SEMI-FLAT))
-       (d . ,(ly:make-pitch -1 1 NATURAL))
-       (dih . ,(ly:make-pitch -1 1 SEMI-SHARP))
-       (dis . ,(ly:make-pitch -1 1 SHARP))
-       (disih . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
-       (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-
-       (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (eseh . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
-       (es . ,(ly:make-pitch -1 2 FLAT))
-       (eeh . ,(ly:make-pitch -1 2 SEMI-FLAT))
-       (e . ,(ly:make-pitch -1 2 NATURAL))
-       (eih . ,(ly:make-pitch -1 2 SEMI-SHARP))
-       (eis . ,(ly:make-pitch -1 2 SHARP))
-       (eisih . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
-       (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-
-       (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (feseh . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
-       (fes . ,(ly:make-pitch -1 3 FLAT))
-       (feh . ,(ly:make-pitch -1 3 SEMI-FLAT))
-       (f . ,(ly:make-pitch -1 3 NATURAL))
-       (fih . ,(ly:make-pitch -1 3 SEMI-SHARP))
-       (fis . ,(ly:make-pitch -1 3 SHARP))
-       (fisih . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
-       (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-
-       (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (geseh . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
-       (ges . ,(ly:make-pitch -1 4 FLAT))
-       (geh . ,(ly:make-pitch -1 4 SEMI-FLAT))
-       (g . ,(ly:make-pitch -1 4 NATURAL))
-       (gih . ,(ly:make-pitch -1 4 SEMI-SHARP))
-       (gis . ,(ly:make-pitch -1 4 SHARP))
-       (gisih . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
-       (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-
-       (asas . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (asah . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
-       (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))   ;;non-standard name for asas
-       (aseh . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
-       (as . ,(ly:make-pitch -1 5 FLAT))
-       (aeh . ,(ly:make-pitch -1 5 SEMI-FLAT))
-       (a . ,(ly:make-pitch -1 5 NATURAL))
-       (aih . ,(ly:make-pitch -1 5 SEMI-SHARP))
-       (ais . ,(ly:make-pitch -1 5 SHARP))
-       (aisih . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
-       (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-
-       (heses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (heseh . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
-       (b . ,(ly:make-pitch -1 6 FLAT))
-       (beh . ,(ly:make-pitch -1 6 SEMI-FLAT))
-       (h . ,(ly:make-pitch -1 6 NATURAL))
-       (hih . ,(ly:make-pitch -1 6 SEMI-SHARP))
-       (his . ,(ly:make-pitch -1 6 SHARP))
-       (hisih . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
-       (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-)
-
-
-pitchnames = \pitchnamesDeutsch
-
-#(ly:parser-set-note-names parser pitchnames)
index 5cf7e3ee79b433ffb0c80e9bc4396d1871e62468..f2df317248dbbdd60f13702f14169240920b66f2 100644 (file)
@@ -1,7 +1,7 @@
 %%%% common English names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 1996--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  f   = flat
-  ff  = double-flat
-  qf  = quarter[-tone] flat
-  tqf = three-quarter[-tones] flat
+\language "english"
 
-  s   = sharp
-  x   = double-sharp
-  ss  = double-sharp
-  qs  = quarter[-tone] sharp
-  tqs = three-quarter[-tones] sharp
-
-%}
-
-pitchnamesEnglish = #`(
-       (cflatflat . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (cflat . ,(ly:make-pitch -1 0 FLAT))
-       (c . ,(ly:make-pitch -1 0 NATURAL))
-       (csharp . ,(ly:make-pitch -1 0 SHARP))
-       (csharpsharp . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (dflatflat . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (dflat . ,(ly:make-pitch -1 1 FLAT))
-       (d . ,(ly:make-pitch -1 1 NATURAL))
-       (dsharp . ,(ly:make-pitch -1 1 SHARP))
-       (dsharpsharp . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (eflatflat . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (eflat . ,(ly:make-pitch -1 2 FLAT))
-       (e . ,(ly:make-pitch -1 2 NATURAL))
-       (esharp . ,(ly:make-pitch -1 2 SHARP))
-       (esharpsharp . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (fflatflat . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fflat . ,(ly:make-pitch -1 3 FLAT))
-       (f . ,(ly:make-pitch -1 3 NATURAL))
-       (fsharp . ,(ly:make-pitch -1 3 SHARP))
-       (fsharpsharp . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (gflatflat . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (gflat . ,(ly:make-pitch -1 4 FLAT))
-       (g . ,(ly:make-pitch -1 4 NATURAL))
-       (gsharp . ,(ly:make-pitch -1 4 SHARP))
-       (gsharpsharp . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (aflatflat . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (aflat . ,(ly:make-pitch -1 5 FLAT))
-       (a . ,(ly:make-pitch -1 5 NATURAL))
-       (asharp . ,(ly:make-pitch -1 5 SHARP))
-       (asharpsharp . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (bflatflat . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (bflat . ,(ly:make-pitch -1 6 FLAT))
-       (b . ,(ly:make-pitch -1 6 NATURAL))
-       (bsharp . ,(ly:make-pitch -1 6 SHARP))
-       (bsharpsharp . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-
-       (cff . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (ctqf . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
-       (cf . ,(ly:make-pitch -1 0 FLAT))
-       (cqf . ,(ly:make-pitch -1 0 SEMI-FLAT))
-       (c . ,(ly:make-pitch -1 0 NATURAL))
-       (cqs . ,(ly:make-pitch -1 0 SEMI-SHARP))
-       (cs . ,(ly:make-pitch -1 0 SHARP))
-       (ctqs . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
-       (css . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (cx . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-
-       (dff . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (dtqf . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
-       (df . ,(ly:make-pitch -1 1 FLAT))
-       (dqf . ,(ly:make-pitch -1 1 SEMI-FLAT))
-       (d . ,(ly:make-pitch -1 1 NATURAL))
-       (dqs . ,(ly:make-pitch -1 1 SEMI-SHARP))
-       (ds . ,(ly:make-pitch -1 1 SHARP))
-       (dtqs . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
-       (dss . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (dx . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-
-       (eff . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (etqf . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
-       (ef . ,(ly:make-pitch -1 2 FLAT))
-       (eqf . ,(ly:make-pitch -1 2 SEMI-FLAT))
-       (e . ,(ly:make-pitch -1 2 NATURAL))
-       (eqs . ,(ly:make-pitch -1 2 SEMI-SHARP))
-       (es . ,(ly:make-pitch -1 2 SHARP))
-       (etqs . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
-       (ess . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (ex . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-
-       (fff . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (ftqf . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
-       (ff . ,(ly:make-pitch -1 3 FLAT))
-       (fqf . ,(ly:make-pitch -1 3 SEMI-FLAT))
-       (f . ,(ly:make-pitch -1 3 NATURAL))
-       (fqs . ,(ly:make-pitch -1 3 SEMI-SHARP))
-       (fs . ,(ly:make-pitch -1 3 SHARP))
-       (ftqs . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
-       (fss . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (fx . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-
-       (gff . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (gtqf . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
-       (gf . ,(ly:make-pitch -1 4 FLAT))
-       (gqf . ,(ly:make-pitch -1 4 SEMI-FLAT))
-       (g . ,(ly:make-pitch -1 4 NATURAL))
-       (gqs . ,(ly:make-pitch -1 4 SEMI-SHARP))
-       (gs . ,(ly:make-pitch -1 4 SHARP))
-       (gtqs . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
-       (gss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (gx . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-
-       (aff . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (atqf . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
-       (af . ,(ly:make-pitch -1 5 FLAT))
-       (aqf . ,(ly:make-pitch -1 5 SEMI-FLAT))
-       (a . ,(ly:make-pitch -1 5 NATURAL))
-       (aqs . ,(ly:make-pitch -1 5 SEMI-SHARP))
-       (as . ,(ly:make-pitch -1 5 SHARP))
-       (atqs . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
-       (ass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (ax . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-
-       (bff . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (btqf . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
-       (bf . ,(ly:make-pitch -1 6 FLAT))
-       (bqf . ,(ly:make-pitch -1 6 SEMI-FLAT))
-       (b . ,(ly:make-pitch -1 6 NATURAL))
-       (bqs . ,(ly:make-pitch -1 6 SEMI-SHARP))
-       (bs . ,(ly:make-pitch -1 6 SHARP))
-       (btqs . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
-       (bss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-       (bx . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-)
-
-pitchnames = \pitchnamesEnglish
-
-#(ly:parser-set-note-names parser pitchnames)
index fea6a31cf7c6a0715c1039e4dffafb042b8827b9..0b623ac20f556aaa94024473e58eaa78acb87ce7 100644 (file)
@@ -1,9 +1,7 @@
 %%%% common Spanish names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 2002--2010 Carlos García Suárez <cgscqmp@terra.es>
-%%%%                Maximiliano G. G. <mxgdvg@yahoo.it>
-%%%%                  (double-flats, double-sharps, quarter-tones, etc.)
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  b   = flat (bemol)
-  bb  = double-flat
-  cb  = quarter-tone flat (cuarto [de tono de] bemol)
-  tcb = three-quarter-tones flat (tres cuartos [de tonos de] bemol)
+\language "espanol"
 
-  s   = sharp (sostenido)
-  x   = double-sharp
-  ss  = double-sharp
-  cs  = quarter-tone sharp (cuarto [de tono de] sostenido)
-  tcs = three-quarter-tones sharp (tres cuartos [de tonos de] sostenido)
-
-  English: c   d   e   f   g   a   b
-  Spanish: do  re  mi  fa  sol la  si
-
-  Adapted from italiano.ly.
-
-%}
-
-pitchnamesEspanol = #`(
-       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (dotcb . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
-       (dob . ,(ly:make-pitch -1 0 FLAT))
-       (docb . ,(ly:make-pitch -1 0 SEMI-FLAT))
-       (do . ,(ly:make-pitch -1 0 NATURAL))
-       (docs . ,(ly:make-pitch -1 0 SEMI-SHARP))
-       (dos . ,(ly:make-pitch -1 0 SHARP))
-       (dotcs . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
-       (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (dox . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-
-       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (retcb . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
-       (reb . ,(ly:make-pitch -1 1 FLAT))
-       (recb . ,(ly:make-pitch -1 1 SEMI-FLAT))
-       (re . ,(ly:make-pitch -1 1 NATURAL))
-       (recs . ,(ly:make-pitch -1 1 SEMI-SHARP))
-       (res . ,(ly:make-pitch -1 1 SHARP))
-       (retcs . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
-       (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (rex . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-
-       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (mitcb . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
-       (mib . ,(ly:make-pitch -1 2 FLAT))
-       (micb . ,(ly:make-pitch -1 2 SEMI-FLAT))
-       (mi . ,(ly:make-pitch -1 2 NATURAL))
-       (mics . ,(ly:make-pitch -1 2 SEMI-SHARP))
-       (mis . ,(ly:make-pitch -1 2 SHARP))
-       (mitcs . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
-       (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (mix . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-
-       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fatcb . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
-       (fab . ,(ly:make-pitch -1 3 FLAT))
-       (facb . ,(ly:make-pitch -1 3 SEMI-FLAT))
-       (fa . ,(ly:make-pitch -1 3 NATURAL))
-       (facs . ,(ly:make-pitch -1 3 SEMI-SHARP))
-       (fas . ,(ly:make-pitch -1 3 SHARP))
-       (fatcs . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
-       (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (fax . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-
-       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (soltcb . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
-       (solb . ,(ly:make-pitch -1 4 FLAT))
-       (solcb . ,(ly:make-pitch -1 4 SEMI-FLAT))
-       (sol . ,(ly:make-pitch -1 4 NATURAL))
-       (solcs . ,(ly:make-pitch -1 4 SEMI-SHARP))
-       (sols . ,(ly:make-pitch -1 4 SHARP))
-       (soltcs . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
-       (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (solx . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-
-       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (latcb . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
-       (lab . ,(ly:make-pitch -1 5 FLAT))
-       (lacb . ,(ly:make-pitch -1 5 SEMI-FLAT))
-       (la . ,(ly:make-pitch -1 5 NATURAL))
-       (lacs . ,(ly:make-pitch -1 5 SEMI-SHARP))
-       (las . ,(ly:make-pitch -1 5 SHARP))
-       (latcs . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
-       (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (lax . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-
-       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (sitcb . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
-       (sib . ,(ly:make-pitch -1 6 FLAT))
-       (sicb . ,(ly:make-pitch -1 6 SEMI-FLAT))
-       (si . ,(ly:make-pitch -1 6 NATURAL))
-       (sics . ,(ly:make-pitch -1 6 SEMI-SHARP))
-       (sis . ,(ly:make-pitch -1 6 SHARP))
-       (sitcs . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
-       (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-       (six . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-
-)
-
-pitchnames = \pitchnamesEspanol
-
-#(ly:parser-set-note-names parser pitchnames)
index 19b5ce05e0113a532f39c22e8f996d7ddbdabf46..88e9d74e9c31fc001475d2b6889668efafb5d78e 100644 (file)
@@ -1,9 +1,7 @@
 %%%% common Italian names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 1998--2010 Paolo Zuliani <zuliap@easynet.it>
-%%%%                Eric Wurbel <wurbel@univ-tln.fr>
-%%%%                  (additions for semi-sharps and semi-flats)
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  b   = flat (bemolle)
-  bb  = double-flat
-  sb  = quarter-tone flat (semi-bemolle)
-  bsb = three-quarter-tones flat
+\language "italiano"
 
-  d   = sharp (diesis)
-  dd  = double-sharp
-  sd  = quarter-tone sharp (semi-diesis)
-  dsd = three-quarter-tones sharp
-
-  English: c   d   e   f   g   a   b
-  Italian: do  re  mi  fa  sol la  si
-
-  Adapted from nederlands.ly.
-
-  For french naming just change 'do' to 'ut'.
-
-%}
-
-pitchnamesItaliano = #`(
-       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (dobsb . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
-       (dob . ,(ly:make-pitch -1 0 FLAT))
-       (dosb . ,(ly:make-pitch -1 0 SEMI-FLAT))
-       (do . ,(ly:make-pitch -1 0 NATURAL))
-       (dosd . ,(ly:make-pitch -1 0 SEMI-SHARP))
-       (dod . ,(ly:make-pitch -1 0 SHARP))
-       (dodsd . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
-       (dodd . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-
-       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (rebsb . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
-       (reb . ,(ly:make-pitch -1 1 FLAT))
-       (resb . ,(ly:make-pitch -1 1 SEMI-FLAT))
-       (re . ,(ly:make-pitch -1 1 NATURAL))
-       (resd . ,(ly:make-pitch -1 1 SEMI-SHARP))
-       (red . ,(ly:make-pitch -1 1 SHARP))
-       (redsd . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
-       (redd . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-
-       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (mibsb . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
-       (mib . ,(ly:make-pitch -1 2 FLAT))
-       (misb . ,(ly:make-pitch -1 2 SEMI-FLAT))
-       (mi . ,(ly:make-pitch -1 2 NATURAL))
-       (misd . ,(ly:make-pitch -1 2 SEMI-SHARP))
-       (mid . ,(ly:make-pitch -1 2 SHARP))
-       (midsd . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
-       (midd . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-
-       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fabsb . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
-       (fab . ,(ly:make-pitch -1 3 FLAT))
-       (fasb . ,(ly:make-pitch -1 3 SEMI-FLAT))
-       (fa . ,(ly:make-pitch -1 3 NATURAL))
-       (fasd . ,(ly:make-pitch -1 3 SEMI-SHARP))
-       (fad . ,(ly:make-pitch -1 3 SHARP))
-       (fadsd . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
-       (fadd . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-
-       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (solbsb . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
-       (solb . ,(ly:make-pitch -1 4 FLAT))
-       (solsb . ,(ly:make-pitch -1 4 SEMI-FLAT))
-       (sol . ,(ly:make-pitch -1 4 NATURAL))
-       (solsd . ,(ly:make-pitch -1 4 SEMI-SHARP))
-       (sold . ,(ly:make-pitch -1 4 SHARP))
-       (soldsd . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
-       (soldd . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-
-       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (labsb . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
-       (lab . ,(ly:make-pitch -1 5 FLAT))
-       (lasb . ,(ly:make-pitch -1 5 SEMI-FLAT))
-       (la . ,(ly:make-pitch -1 5 NATURAL))
-       (lasd . ,(ly:make-pitch -1 5 SEMI-SHARP))
-       (lad . ,(ly:make-pitch -1 5 SHARP))
-       (ladsd . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
-       (ladd . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-
-       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (sibsb . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
-       (sib . ,(ly:make-pitch -1 6 FLAT))
-       (sisb . ,(ly:make-pitch -1 6 SEMI-FLAT))
-       (si . ,(ly:make-pitch -1 6 NATURAL))
-       (sisd . ,(ly:make-pitch -1 6 SEMI-SHARP))
-       (sid . ,(ly:make-pitch -1 6 SHARP))
-       (sidsd . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
-       (sidd . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-
-)
-
-pitchnames = \pitchnamesItaliano
-
-#(ly:parser-set-note-names parser pitchnames)
diff --git a/ly/language-init.ly b/ly/language-init.ly
new file mode 100644 (file)
index 0000000..4ead600
--- /dev/null
@@ -0,0 +1,960 @@
+%%%% Common note names in various languages.
+%%%% This file is part of LilyPond, the GNU music typesetter.
+%%%%
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net> et al:
+%%%%
+%%%% Copyright (C) 1996--2010 Han-Wen Nienhuys <hanwen@xs4all.nl> (Nederlands)
+%%%% Copyright (C) 1998--2010 Jaume Obrador <jobrador@ipc4.uib.es> (Catalan)
+%%%% Copyright (C) 1997--2010 Roland Meier <meier@informatik.th-darmstadt.de>
+%%%%                Bjoern Jacke <bjoern.jacke@gmx.de> (Deutsch)
+%%%% Copyright (C) 1996--2010 Han-Wen Nienhuys <hanwen@xs4all.nl> (English)
+%%%% Copyright (C) 2002--2010 Carlos García Suárez <cgscqmp@terra.es>
+%%%%                Maximiliano G. G. <mxgdvg@yahoo.it> (Espanol)
+%%%% Copyright (C) 1998--2010 Paolo Zuliani <zuliap@easynet.it>
+%%%%                Eric Wurbel <wurbel@univ-tln.fr> (Italiano)
+%%%% Copyright (C) 1998--2010 Arvid Grøtting <arvidg@ifi.uio.no> (Norsk)
+%%%% Copyright (C) 2004--2010 Pedro Kröger <kroeger@pedrokroeger.net> (Portugues)
+%%%% Copyright (C) 2001--2010 Heikki Junes <heikki.junes@hut.fi> (Suomi)
+%%%% Copyright (C) 1997--2010 Mats Bengtsson <mabe@violin.s3.kth.se> (Svenska)
+%%%% Copyright (C) 2004--2010 Hendrik Maryns <hendrik.maryns@ugent.be> (Vlaams)
+%%%%
+%%%% LilyPond is free software: you can redistribute it and/or modify
+%%%% it under the terms of the GNU General Public License as published by
+%%%% the Free Software Foundation, either version 3 of the License, or
+%%%% (at your option) any later version.
+%%%%
+%%%% LilyPond is distributed in the hope that it will be useful,
+%%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+%%%% GNU General Public License for more details.
+%%%%
+%%%% You should have received a copy of the GNU General Public License
+%%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
+
+
+\version "2.13.37"
+
+#(define language-pitch-names
+  `(
+    ;; Language: Nederlands --------------------------------------------;
+    ;;  Dutch note names -- LilyPond's default language.
+    ;;  Han-Wen Nienhuys <hanwen@xs4all.nl>
+    ;;
+    ;;  es   = flat
+    ;;  eses = double-flat
+    ;;  eh   = quarter-tone flat
+    ;;  eseh = three-quarter-tones flat
+    ;;
+    ;;  is   = sharp
+    ;;  isis = double-sharp
+    ;;  ih   = quarter-tone sharp
+    ;;  isih = three-quarter-tones sharp
+    ;;
+    ;;  English: c  d  e  f  g  a  bf b
+    ;;    Dutch: c  d  e  f  g  a  b  h
+
+    (nederlands . (
+      (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (ceh . ,(ly:make-pitch -1 0 SEMI-FLAT))
+      (ces . ,(ly:make-pitch -1 0 FLAT))
+      (ceseh . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
+      (c . ,(ly:make-pitch -1 0 NATURAL))
+      (cis . ,(ly:make-pitch -1 0 SHARP))
+      (cih . ,(ly:make-pitch -1 0 SEMI-SHARP))
+      (cisih . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
+      (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+
+      (deh . ,(ly:make-pitch -1 1 SEMI-FLAT))
+      (des . ,(ly:make-pitch -1 1 FLAT))
+      (deseh . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
+      (d . ,(ly:make-pitch -1 1 NATURAL))
+      (dis . ,(ly:make-pitch -1 1 SHARP))
+      (dih . ,(ly:make-pitch -1 1 SEMI-SHARP))
+      (disih . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
+      (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (eeses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+
+      (eeh . ,(ly:make-pitch -1 2 SEMI-FLAT))
+      (ees . ,(ly:make-pitch -1 2 FLAT))
+      (eeseh . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
+      (es . ,(ly:make-pitch -1 2 FLAT))
+      (e . ,(ly:make-pitch -1 2 NATURAL))
+      (eis . ,(ly:make-pitch -1 2 SHARP))
+      (eih . ,(ly:make-pitch -1 2 SEMI-SHARP))
+      (eisih . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
+      (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+
+      (feh . ,(ly:make-pitch -1 3 SEMI-FLAT))
+      (fes . ,(ly:make-pitch -1 3 FLAT))
+      (feseh . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
+      (f . ,(ly:make-pitch -1 3 NATURAL))
+      (fis . ,(ly:make-pitch -1 3 SHARP))
+      (fih . ,(ly:make-pitch -1 3 SEMI-SHARP))
+      (fisih . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
+      (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+
+      (geh . ,(ly:make-pitch -1 4 SEMI-FLAT))
+      (ges . ,(ly:make-pitch -1 4 FLAT))
+      (geseh . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
+      (g . ,(ly:make-pitch -1 4 NATURAL))
+      (gis . ,(ly:make-pitch -1 4 SHARP))
+      (gih . ,(ly:make-pitch -1 4 SEMI-SHARP))
+      (gisih . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
+      (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (aeses . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+
+      (aeh . ,(ly:make-pitch -1 5 SEMI-FLAT))
+      (aes . ,(ly:make-pitch -1 5 FLAT))
+      (aeseh . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
+      (as . ,(ly:make-pitch -1 5 FLAT))
+      (a . ,(ly:make-pitch -1 5 NATURAL))
+      (ais . ,(ly:make-pitch -1 5 SHARP))
+      (aih . ,(ly:make-pitch -1 5 SEMI-SHARP))
+      (aisih . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
+      (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (beses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+
+      (beh . ,(ly:make-pitch -1 6 SEMI-FLAT))
+      (bes . ,(ly:make-pitch -1 6 FLAT))
+      (beseh . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
+      (b . ,(ly:make-pitch -1 6 NATURAL))
+      (bis . ,(ly:make-pitch -1 6 SHARP))
+      (bih . ,(ly:make-pitch -1 6 SEMI-SHARP))
+      (bisih . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
+      (bisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+
+
+    ;; Language: Catalan -----------------------------------------------;
+    ;; Jaume Obrador <jobrador@ipc4.uib.es>
+    ;;
+    ;;  b  = flat (bemoll)
+    ;;  bb = double-flat
+    ;;
+    ;;  d  = sharp (diesi)
+    ;;  dd = double-sharp
+    ;;
+    ;;  s  = sharp (sostingut)
+    ;;  ss = double-sharp
+    ;;
+    ;;  English: c   d   e   f   g   a   b
+    ;;  Catalan: do  re  mi  fa  sol la  si
+
+    (catalan . (
+      (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (dob . ,(ly:make-pitch -1 0 FLAT))
+      (do . ,(ly:make-pitch -1 0 NATURAL))
+      (dod . ,(ly:make-pitch -1 0 SHARP))
+      (dodd . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (reb . ,(ly:make-pitch -1 1 FLAT))
+      (re . ,(ly:make-pitch -1 1 NATURAL))
+      (red . ,(ly:make-pitch -1 1 SHARP))
+      (redd . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (mib . ,(ly:make-pitch -1 2 FLAT))
+      (mi . ,(ly:make-pitch -1 2 NATURAL))
+      (mid . ,(ly:make-pitch -1 2 SHARP))
+      (midd . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fab . ,(ly:make-pitch -1 3 FLAT))
+      (fa . ,(ly:make-pitch -1 3 NATURAL))
+      (fad . ,(ly:make-pitch -1 3 SHARP))
+      (fadd . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (solb . ,(ly:make-pitch -1 4 FLAT))
+      (sol . ,(ly:make-pitch -1 4 NATURAL))
+      (sold . ,(ly:make-pitch -1 4 SHARP))
+      (soldd . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (lab . ,(ly:make-pitch -1 5 FLAT))
+      (la . ,(ly:make-pitch -1 5 NATURAL))
+      (lad . ,(ly:make-pitch -1 5 SHARP))
+      (ladd . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (sib . ,(ly:make-pitch -1 6 FLAT))
+      (si . ,(ly:make-pitch -1 6 NATURAL))
+      (sid . ,(ly:make-pitch -1 6 SHARP))
+      (sidd . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+
+      ;; Now that we have espanol.ly, should these be junked? --jcn
+      (dos . ,(ly:make-pitch -1 0 SHARP))
+      (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (res . ,(ly:make-pitch -1 1 SHARP))
+      (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (mis . ,(ly:make-pitch -1 2 SHARP))
+      (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (fas . ,(ly:make-pitch -1 3 SHARP))
+      (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (sols . ,(ly:make-pitch -1 4 SHARP))
+      (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (las . ,(ly:make-pitch -1 5 SHARP))
+      (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (sis . ,(ly:make-pitch -1 6 SHARP))
+      (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+
+
+    ;; Language: Deutsch -----------------------------------------------;
+    ;; Roland Meier <meier@informatik.th-darmstadt.de>,
+    ;; Bjoern Jacke <bjoern.jacke@gmx.de>
+    ;;
+    ;;  es   = flat
+    ;;  eses = double-flat
+    ;;  eh   = quarter-tone flat
+    ;;  eseh = three-quarter-tones flat
+    ;;
+    ;;  is   = sharp
+    ;;  isis = double-sharp
+    ;;  ih   = quarter-tone sharp
+    ;;  isih = three-quarter-tones sharp
+    ;;
+    ;;  English: c  d  e  f  g  a  bf b
+    ;;   German: c  d  e  f  g  a  b  h
+
+    (deutsch . (
+      (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (ceseh . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
+      (ces . ,(ly:make-pitch -1 0 FLAT))
+      (ceh . ,(ly:make-pitch -1 0 SEMI-FLAT))
+      (c . ,(ly:make-pitch -1 0 NATURAL))
+      (cih . ,(ly:make-pitch -1 0 SEMI-SHARP))
+      (cis . ,(ly:make-pitch -1 0 SHARP))
+      (cisih . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
+      (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+
+      (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (deseh . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
+      (des . ,(ly:make-pitch -1 1 FLAT))
+      (deh . ,(ly:make-pitch -1 1 SEMI-FLAT))
+      (d . ,(ly:make-pitch -1 1 NATURAL))
+      (dih . ,(ly:make-pitch -1 1 SEMI-SHARP))
+      (dis . ,(ly:make-pitch -1 1 SHARP))
+      (disih . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
+      (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+
+      (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (eseh . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
+      (es . ,(ly:make-pitch -1 2 FLAT))
+      (eeh . ,(ly:make-pitch -1 2 SEMI-FLAT))
+      (e . ,(ly:make-pitch -1 2 NATURAL))
+      (eih . ,(ly:make-pitch -1 2 SEMI-SHARP))
+      (eis . ,(ly:make-pitch -1 2 SHARP))
+      (eisih . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
+      (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+
+      (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (feseh . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
+      (fes . ,(ly:make-pitch -1 3 FLAT))
+      (feh . ,(ly:make-pitch -1 3 SEMI-FLAT))
+      (f . ,(ly:make-pitch -1 3 NATURAL))
+      (fih . ,(ly:make-pitch -1 3 SEMI-SHARP))
+      (fis . ,(ly:make-pitch -1 3 SHARP))
+      (fisih . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
+      (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+
+      (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (geseh . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
+      (ges . ,(ly:make-pitch -1 4 FLAT))
+      (geh . ,(ly:make-pitch -1 4 SEMI-FLAT))
+      (g . ,(ly:make-pitch -1 4 NATURAL))
+      (gih . ,(ly:make-pitch -1 4 SEMI-SHARP))
+      (gis . ,(ly:make-pitch -1 4 SHARP))
+      (gisih . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
+      (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+
+      (asas . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (asah . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
+      (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))   ;;non-standard name for asas
+      (aseh . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
+      (as . ,(ly:make-pitch -1 5 FLAT))
+      (aeh . ,(ly:make-pitch -1 5 SEMI-FLAT))
+      (a . ,(ly:make-pitch -1 5 NATURAL))
+      (aih . ,(ly:make-pitch -1 5 SEMI-SHARP))
+      (ais . ,(ly:make-pitch -1 5 SHARP))
+      (aisih . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
+      (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+
+      (heses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (heseh . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
+      (b . ,(ly:make-pitch -1 6 FLAT))
+      (beh . ,(ly:make-pitch -1 6 SEMI-FLAT))
+      (h . ,(ly:make-pitch -1 6 NATURAL))
+      (hih . ,(ly:make-pitch -1 6 SEMI-SHARP))
+      (his . ,(ly:make-pitch -1 6 SHARP))
+      (hisih . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
+      (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+
+
+    ;; Language: English -----------------------------------------------;
+    ;; Han-Wen Nienhuys <hanwen@xs4all.nl>
+    ;;
+    ;;  f   = flat
+    ;;  ff  = double-flat
+    ;;  qf  = quarter[-tone] flat
+    ;;  tqf = three-quarter[-tones] flat
+    ;;
+    ;;  s   = sharp
+    ;;  x   = double-sharp
+    ;;  ss  = double-sharp
+    ;;  qs  = quarter[-tone] sharp
+    ;;  tqs = three-quarter[-tones] sharp
+
+    (english . (
+      (cflatflat . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (cflat . ,(ly:make-pitch -1 0 FLAT))
+      (c . ,(ly:make-pitch -1 0 NATURAL))
+      (csharp . ,(ly:make-pitch -1 0 SHARP))
+      (csharpsharp . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (dflatflat . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (dflat . ,(ly:make-pitch -1 1 FLAT))
+      (d . ,(ly:make-pitch -1 1 NATURAL))
+      (dsharp . ,(ly:make-pitch -1 1 SHARP))
+      (dsharpsharp . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (eflatflat . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (eflat . ,(ly:make-pitch -1 2 FLAT))
+      (e . ,(ly:make-pitch -1 2 NATURAL))
+      (esharp . ,(ly:make-pitch -1 2 SHARP))
+      (esharpsharp . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (fflatflat . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fflat . ,(ly:make-pitch -1 3 FLAT))
+      (f . ,(ly:make-pitch -1 3 NATURAL))
+      (fsharp . ,(ly:make-pitch -1 3 SHARP))
+      (fsharpsharp . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (gflatflat . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (gflat . ,(ly:make-pitch -1 4 FLAT))
+      (g . ,(ly:make-pitch -1 4 NATURAL))
+      (gsharp . ,(ly:make-pitch -1 4 SHARP))
+      (gsharpsharp . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (aflatflat . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (aflat . ,(ly:make-pitch -1 5 FLAT))
+      (a . ,(ly:make-pitch -1 5 NATURAL))
+      (asharp . ,(ly:make-pitch -1 5 SHARP))
+      (asharpsharp . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (bflatflat . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (bflat . ,(ly:make-pitch -1 6 FLAT))
+      (b . ,(ly:make-pitch -1 6 NATURAL))
+      (bsharp . ,(ly:make-pitch -1 6 SHARP))
+      (bsharpsharp . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+
+      (cff . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (ctqf . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
+      (cf . ,(ly:make-pitch -1 0 FLAT))
+      (cqf . ,(ly:make-pitch -1 0 SEMI-FLAT))
+      (c . ,(ly:make-pitch -1 0 NATURAL))
+      (cqs . ,(ly:make-pitch -1 0 SEMI-SHARP))
+      (cs . ,(ly:make-pitch -1 0 SHARP))
+      (ctqs . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
+      (css . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (cx . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+
+      (dff . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (dtqf . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
+      (df . ,(ly:make-pitch -1 1 FLAT))
+      (dqf . ,(ly:make-pitch -1 1 SEMI-FLAT))
+      (d . ,(ly:make-pitch -1 1 NATURAL))
+      (dqs . ,(ly:make-pitch -1 1 SEMI-SHARP))
+      (ds . ,(ly:make-pitch -1 1 SHARP))
+      (dtqs . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
+      (dss . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (dx . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+
+      (eff . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (etqf . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
+      (ef . ,(ly:make-pitch -1 2 FLAT))
+      (eqf . ,(ly:make-pitch -1 2 SEMI-FLAT))
+      (e . ,(ly:make-pitch -1 2 NATURAL))
+      (eqs . ,(ly:make-pitch -1 2 SEMI-SHARP))
+      (es . ,(ly:make-pitch -1 2 SHARP))
+      (etqs . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
+      (ess . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (ex . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+
+      (fff . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (ftqf . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
+      (ff . ,(ly:make-pitch -1 3 FLAT))
+      (fqf . ,(ly:make-pitch -1 3 SEMI-FLAT))
+      (f . ,(ly:make-pitch -1 3 NATURAL))
+      (fqs . ,(ly:make-pitch -1 3 SEMI-SHARP))
+      (fs . ,(ly:make-pitch -1 3 SHARP))
+      (ftqs . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
+      (fss . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (fx . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+
+      (gff . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (gtqf . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
+      (gf . ,(ly:make-pitch -1 4 FLAT))
+      (gqf . ,(ly:make-pitch -1 4 SEMI-FLAT))
+      (g . ,(ly:make-pitch -1 4 NATURAL))
+      (gqs . ,(ly:make-pitch -1 4 SEMI-SHARP))
+      (gs . ,(ly:make-pitch -1 4 SHARP))
+      (gtqs . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
+      (gss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (gx . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+
+      (aff . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (atqf . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
+      (af . ,(ly:make-pitch -1 5 FLAT))
+      (aqf . ,(ly:make-pitch -1 5 SEMI-FLAT))
+      (a . ,(ly:make-pitch -1 5 NATURAL))
+      (aqs . ,(ly:make-pitch -1 5 SEMI-SHARP))
+      (as . ,(ly:make-pitch -1 5 SHARP))
+      (atqs . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
+      (ass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (ax . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+
+      (bff . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (btqf . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
+      (bf . ,(ly:make-pitch -1 6 FLAT))
+      (bqf . ,(ly:make-pitch -1 6 SEMI-FLAT))
+      (b . ,(ly:make-pitch -1 6 NATURAL))
+      (bqs . ,(ly:make-pitch -1 6 SEMI-SHARP))
+      (bs . ,(ly:make-pitch -1 6 SHARP))
+      (btqs . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
+      (bss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+      (bx . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+
+
+    ;; Language: Espanol -----------------------------------------------;
+    ;; Carlos García Suárez <cgscqmp@terra.es>,
+    ;; Maximiliano G. G. <mxgdvg@yahoo.it>
+    ;;
+    ;;  b   = flat (bemol)
+    ;;  bb  = double-flat
+    ;;  cb  = quarter-tone flat (cuarto [de tono de] bemol)
+    ;;  tcb = three-quarter-tones flat (tres cuartos [de tonos de] bemol)
+    ;;
+    ;;  s   = sharp (sostenido)
+    ;;  x   = double-sharp
+    ;;  ss  = double-sharp
+    ;;  cs  = quarter-tone sharp (cuarto [de tono de] sostenido)
+    ;;  tcs = three-quarter-tones sharp (tres cuartos [de tonos de] sostenido)
+    ;;
+    ;;  English: c   d   e   f   g   a   b
+    ;;  Spanish: do  re  mi  fa  sol la  si
+
+    (espanol . (
+      (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (dotcb . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
+      (dob . ,(ly:make-pitch -1 0 FLAT))
+      (docb . ,(ly:make-pitch -1 0 SEMI-FLAT))
+      (do . ,(ly:make-pitch -1 0 NATURAL))
+      (docs . ,(ly:make-pitch -1 0 SEMI-SHARP))
+      (dos . ,(ly:make-pitch -1 0 SHARP))
+      (dotcs . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
+      (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (dox . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+
+      (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (retcb . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
+      (reb . ,(ly:make-pitch -1 1 FLAT))
+      (recb . ,(ly:make-pitch -1 1 SEMI-FLAT))
+      (re . ,(ly:make-pitch -1 1 NATURAL))
+      (recs . ,(ly:make-pitch -1 1 SEMI-SHARP))
+      (res . ,(ly:make-pitch -1 1 SHARP))
+      (retcs . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
+      (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (rex . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+
+      (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (mitcb . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
+      (mib . ,(ly:make-pitch -1 2 FLAT))
+      (micb . ,(ly:make-pitch -1 2 SEMI-FLAT))
+      (mi . ,(ly:make-pitch -1 2 NATURAL))
+      (mics . ,(ly:make-pitch -1 2 SEMI-SHARP))
+      (mis . ,(ly:make-pitch -1 2 SHARP))
+      (mitcs . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
+      (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (mix . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+
+      (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fatcb . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
+      (fab . ,(ly:make-pitch -1 3 FLAT))
+      (facb . ,(ly:make-pitch -1 3 SEMI-FLAT))
+      (fa . ,(ly:make-pitch -1 3 NATURAL))
+      (facs . ,(ly:make-pitch -1 3 SEMI-SHARP))
+      (fas . ,(ly:make-pitch -1 3 SHARP))
+      (fatcs . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
+      (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (fax . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+
+      (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (soltcb . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
+      (solb . ,(ly:make-pitch -1 4 FLAT))
+      (solcb . ,(ly:make-pitch -1 4 SEMI-FLAT))
+      (sol . ,(ly:make-pitch -1 4 NATURAL))
+      (solcs . ,(ly:make-pitch -1 4 SEMI-SHARP))
+      (sols . ,(ly:make-pitch -1 4 SHARP))
+      (soltcs . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
+      (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (solx . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+
+      (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (latcb . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
+      (lab . ,(ly:make-pitch -1 5 FLAT))
+      (lacb . ,(ly:make-pitch -1 5 SEMI-FLAT))
+      (la . ,(ly:make-pitch -1 5 NATURAL))
+      (lacs . ,(ly:make-pitch -1 5 SEMI-SHARP))
+      (las . ,(ly:make-pitch -1 5 SHARP))
+      (latcs . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
+      (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (lax . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+
+      (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (sitcb . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
+      (sib . ,(ly:make-pitch -1 6 FLAT))
+      (sicb . ,(ly:make-pitch -1 6 SEMI-FLAT))
+      (si . ,(ly:make-pitch -1 6 NATURAL))
+      (sics . ,(ly:make-pitch -1 6 SEMI-SHARP))
+      (sis . ,(ly:make-pitch -1 6 SHARP))
+      (sitcs . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
+      (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+      (six . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+
+
+    ;; Language: Italiano ----------------------------------------------;
+    ;; Paolo Zuliani <zuliap@easynet.it>,
+    ;; Eric Wurbel <wurbel@univ-tln.fr>
+    ;;
+    ;;  b   = flat (bemolle)
+    ;;  bb  = double-flat
+    ;;  sb  = quarter-tone flat (semi-bemolle)
+    ;;  bsb = three-quarter-tones flat
+    ;;
+    ;;  d   = sharp (diesis)
+    ;;  dd  = double-sharp
+    ;;  sd  = quarter-tone sharp (semi-diesis)
+    ;;  dsd = three-quarter-tones sharp
+    ;;
+    ;;  English: c   d   e   f   g   a   b
+    ;;  Italian: do  re  mi  fa  sol la  si
+
+    (italiano . (
+      (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (dobsb . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
+      (dob . ,(ly:make-pitch -1 0 FLAT))
+      (dosb . ,(ly:make-pitch -1 0 SEMI-FLAT))
+      (do . ,(ly:make-pitch -1 0 NATURAL))
+      (dosd . ,(ly:make-pitch -1 0 SEMI-SHARP))
+      (dod . ,(ly:make-pitch -1 0 SHARP))
+      (dodsd . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
+      (dodd . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+
+      (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (rebsb . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
+      (reb . ,(ly:make-pitch -1 1 FLAT))
+      (resb . ,(ly:make-pitch -1 1 SEMI-FLAT))
+      (re . ,(ly:make-pitch -1 1 NATURAL))
+      (resd . ,(ly:make-pitch -1 1 SEMI-SHARP))
+      (red . ,(ly:make-pitch -1 1 SHARP))
+      (redsd . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
+      (redd . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+
+      (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (mibsb . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
+      (mib . ,(ly:make-pitch -1 2 FLAT))
+      (misb . ,(ly:make-pitch -1 2 SEMI-FLAT))
+      (mi . ,(ly:make-pitch -1 2 NATURAL))
+      (misd . ,(ly:make-pitch -1 2 SEMI-SHARP))
+      (mid . ,(ly:make-pitch -1 2 SHARP))
+      (midsd . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
+      (midd . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+
+      (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fabsb . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
+      (fab . ,(ly:make-pitch -1 3 FLAT))
+      (fasb . ,(ly:make-pitch -1 3 SEMI-FLAT))
+      (fa . ,(ly:make-pitch -1 3 NATURAL))
+      (fasd . ,(ly:make-pitch -1 3 SEMI-SHARP))
+      (fad . ,(ly:make-pitch -1 3 SHARP))
+      (fadsd . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
+      (fadd . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+
+      (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (solbsb . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
+      (solb . ,(ly:make-pitch -1 4 FLAT))
+      (solsb . ,(ly:make-pitch -1 4 SEMI-FLAT))
+      (sol . ,(ly:make-pitch -1 4 NATURAL))
+      (solsd . ,(ly:make-pitch -1 4 SEMI-SHARP))
+      (sold . ,(ly:make-pitch -1 4 SHARP))
+      (soldsd . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
+      (soldd . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+
+      (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (labsb . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
+      (lab . ,(ly:make-pitch -1 5 FLAT))
+      (lasb . ,(ly:make-pitch -1 5 SEMI-FLAT))
+      (la . ,(ly:make-pitch -1 5 NATURAL))
+      (lasd . ,(ly:make-pitch -1 5 SEMI-SHARP))
+      (lad . ,(ly:make-pitch -1 5 SHARP))
+      (ladsd . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
+      (ladd . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+
+      (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (sibsb . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
+      (sib . ,(ly:make-pitch -1 6 FLAT))
+      (sisb . ,(ly:make-pitch -1 6 SEMI-FLAT))
+      (si . ,(ly:make-pitch -1 6 NATURAL))
+      (sisd . ,(ly:make-pitch -1 6 SEMI-SHARP))
+      (sid . ,(ly:make-pitch -1 6 SHARP))
+      (sidsd . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
+      (sidd . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+
+    ))
+
+
+    ;; Language: Norsk -------------------------------------------------;
+    ;; Arvid Grøtting <arvidg@ifi.uio.no>
+    ;;
+    ;;  es     = flat
+    ;;  ess    = flat
+    ;;  eses   = double-flat
+    ;;  essess = double-flat
+    ;;
+    ;;  is     = sharp
+    ;;  iss    = sharp
+    ;;  isis   = double-sharp
+    ;;  ississ = double-sharp
+    ;;
+    ;;    English: c  d  e  f  g  a  bf b
+    ;;  Norwegian: c  d  e  f  g  a  b  h
+
+    (norsk . (
+      (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (cessess . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (ces . ,(ly:make-pitch -1 0 FLAT))
+      (cess . ,(ly:make-pitch -1 0 FLAT))
+      (c . ,(ly:make-pitch -1 0 NATURAL))
+      (cis . ,(ly:make-pitch -1 0 SHARP))
+      (ciss . ,(ly:make-pitch -1 0 SHARP))
+      (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (cississ . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (dessess . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (des . ,(ly:make-pitch -1 1 FLAT))
+      (dess . ,(ly:make-pitch -1 1 FLAT))
+      (d . ,(ly:make-pitch -1 1 NATURAL))
+      (dis . ,(ly:make-pitch -1 1 SHARP))
+      (diss . ,(ly:make-pitch -1 1 SHARP))
+      (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (dississ . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (eeses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (eessess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (essess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (ees . ,(ly:make-pitch -1 2 FLAT))
+      (eess . ,(ly:make-pitch -1 2 FLAT))
+      (es . ,(ly:make-pitch -1 2 FLAT))
+      (ess . ,(ly:make-pitch -1 2 FLAT))
+      (e . ,(ly:make-pitch -1 2 NATURAL))
+      (eis . ,(ly:make-pitch -1 2 SHARP))
+      (eiss . ,(ly:make-pitch -1 2 SHARP))
+      (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (eississ . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fessess . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fes . ,(ly:make-pitch -1 3 FLAT))
+      (fess . ,(ly:make-pitch -1 3 FLAT))
+      (f . ,(ly:make-pitch -1 3 NATURAL))
+      (fis . ,(ly:make-pitch -1 3 SHARP))
+      (fiss . ,(ly:make-pitch -1 3 SHARP))
+      (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (fississ . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (gessess . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (ges . ,(ly:make-pitch -1 4 FLAT))
+      (gess . ,(ly:make-pitch -1 4 FLAT))
+      (g . ,(ly:make-pitch -1 4 NATURAL))
+      (g . ,(ly:make-pitch -1 4 NATURAL))
+      (gis . ,(ly:make-pitch -1 4 SHARP))
+      (giss . ,(ly:make-pitch -1 4 SHARP))
+      (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (gississ . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (aeses . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (aessess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (assess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (aes . ,(ly:make-pitch -1 5 FLAT))
+      (aess . ,(ly:make-pitch -1 5 FLAT))
+      (as . ,(ly:make-pitch -1 5 FLAT))
+      (ass . ,(ly:make-pitch -1 5 FLAT))
+      (a . ,(ly:make-pitch -1 5 NATURAL))
+      (ais . ,(ly:make-pitch -1 5 SHARP))
+      (aiss . ,(ly:make-pitch -1 5 SHARP))
+      (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (aississ . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (bes . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (bess . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (b . ,(ly:make-pitch -1 6 FLAT))
+      (b . ,(ly:make-pitch -1 6 FLAT))
+      (h . ,(ly:make-pitch -1 6 NATURAL))
+      (his . ,(ly:make-pitch -1 6 SHARP))
+      (hiss . ,(ly:make-pitch -1 6 SHARP))
+      (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+      (hississ . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+
+
+    ;; Language: Portugues ---------------------------------------------;
+    ;; Pedro Kröger <kroeger@pedrokroeger.net>
+    ;;
+    ;;  b    = flat (bemol)
+    ;;  bb   = double-flat
+    ;;  bqt  = quarter-tone flat
+    ;;  btqt = three-quarter-tones flat
+    ;;
+    ;;  s    = sharp (sustenido)
+    ;;  ss   = double-sharp
+    ;;  sqt  = quarter-tone sharp
+    ;;  stqt = three-quarter-tones sharp
+    ;;
+    ;;     English: c   d   e   f   g   a   b
+    ;;  Portuguese: do  re  mi  fa  sol la  si
+
+    (portugues . (
+      (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (dobtqt . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
+      (dob . ,(ly:make-pitch -1 0 FLAT))
+      (dobqt . ,(ly:make-pitch -1 0 SEMI-FLAT))
+      (do . ,(ly:make-pitch -1 0 NATURAL))
+      (dosqt . ,(ly:make-pitch -1 0 SEMI-SHARP))
+      (dos . ,(ly:make-pitch -1 0 SHARP))
+      (dostqt . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
+      (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+
+      (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (rebtqt . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
+      (reb . ,(ly:make-pitch -1 1 FLAT))
+      (rebqt . ,(ly:make-pitch -1 1 SEMI-FLAT))
+      (re . ,(ly:make-pitch -1 1 NATURAL))
+      (resqt . ,(ly:make-pitch -1 1 SEMI-SHARP))
+      (res . ,(ly:make-pitch -1 1 SHARP))
+      (restqt . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
+      (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+
+      (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (mibtqt . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
+      (mib . ,(ly:make-pitch -1 2 FLAT))
+      (mibqt . ,(ly:make-pitch -1 2 SEMI-FLAT))
+      (mi . ,(ly:make-pitch -1 2 NATURAL))
+      (misqt . ,(ly:make-pitch -1 2 SEMI-SHARP))
+      (mis . ,(ly:make-pitch -1 2 SHARP))
+      (mistqt . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
+      (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+
+      (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fabtqt . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
+      (fab . ,(ly:make-pitch -1 3 FLAT))
+      (fabqt . ,(ly:make-pitch -1 3 SEMI-FLAT))
+      (fa . ,(ly:make-pitch -1 3 NATURAL))
+      (fasqt . ,(ly:make-pitch -1 3 SEMI-SHARP))
+      (fas . ,(ly:make-pitch -1 3 SHARP))
+      (fastqt . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
+      (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+
+      (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (solbtqt . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
+      (solb . ,(ly:make-pitch -1 4 FLAT))
+      (solbqt . ,(ly:make-pitch -1 4 SEMI-FLAT))
+      (sol . ,(ly:make-pitch -1 4 NATURAL))
+      (solsqt . ,(ly:make-pitch -1 4 SEMI-SHARP))
+      (sols . ,(ly:make-pitch -1 4 SHARP))
+      (solstqt . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
+      (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+
+      (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (labtqt . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
+      (lab . ,(ly:make-pitch -1 5 FLAT))
+      (labqt . ,(ly:make-pitch -1 5 SEMI-FLAT))
+      (la . ,(ly:make-pitch -1 5 NATURAL))
+      (lasqt . ,(ly:make-pitch -1 5 SEMI-SHARP))
+      (las . ,(ly:make-pitch -1 5 SHARP))
+      (lastqt . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
+      (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+
+      (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (sibtqt . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
+      (sib . ,(ly:make-pitch -1 6 FLAT))
+      (sibqt . ,(ly:make-pitch -1 6 SEMI-FLAT))
+      (si . ,(ly:make-pitch -1 6 NATURAL))
+      (sisqt . ,(ly:make-pitch -1 6 SEMI-SHARP))
+      (sis . ,(ly:make-pitch -1 6 SHARP))
+      (sistqt . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
+      (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+
+    ))
+
+
+    ;; Language: Suomi -------------------------------------------------;
+    ;; Heikki Junes <heikki.junes@hut.fi>
+    ;;
+    ;;  es   = flat
+    ;;  eses = double-flat
+    ;;
+    ;;  is   = sharp
+    ;;  isis = double-sharp
+    ;;
+    ;;  English: c  d  e  f  g  a  bf b
+    ;;  Finnish: c  d  e  f  g  a  b  h
+
+    (suomi . (
+      (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (ces . ,(ly:make-pitch -1 0 FLAT))
+      (c . ,(ly:make-pitch -1 0 NATURAL))
+      (cis . ,(ly:make-pitch -1 0 SHARP))
+      (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (des . ,(ly:make-pitch -1 1 FLAT))
+      (d . ,(ly:make-pitch -1 1 NATURAL))
+      (dis . ,(ly:make-pitch -1 1 SHARP))
+      (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (es . ,(ly:make-pitch -1 2 FLAT))
+      (e . ,(ly:make-pitch -1 2 NATURAL))
+      (eis . ,(ly:make-pitch -1 2 SHARP))
+      (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fes . ,(ly:make-pitch -1 3 FLAT))
+      (f . ,(ly:make-pitch -1 3 NATURAL))
+      (fis . ,(ly:make-pitch -1 3 SHARP))
+      (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (ges . ,(ly:make-pitch -1 4 FLAT))
+      (g . ,(ly:make-pitch -1 4 NATURAL))
+      (gis . ,(ly:make-pitch -1 4 SHARP))
+      (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (asas . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))   ;;non-standard name for asas
+      (as . ,(ly:make-pitch -1 5 FLAT))
+      (a . ,(ly:make-pitch -1 5 NATURAL))
+      (ais . ,(ly:make-pitch -1 5 SHARP))
+      (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (bb . ,(ly:make-pitch -1 6 DOUBLE-FLAT)) ;; should be bes. Kept for downwards compatibility
+      (bes . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (heses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))  ;;non-standard name for bb
+      (b . ,(ly:make-pitch -1 6 FLAT))
+      (h . ,(ly:make-pitch -1 6 NATURAL))
+      (his . ,(ly:make-pitch -1 6 SHARP))
+      (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+
+
+    ;; Language: Svenska -----------------------------------------------;
+    ;; Mats Bengtsson <mabe@violin.s3.kth.se>
+    ;;
+    ;;  ess    = flat
+    ;;  essess = double-flat
+    ;;
+    ;;  iss    = sharp
+    ;;  ississ = double-sharp
+    ;;
+    ;;  English: c  d  e  f  g  a  bf b
+    ;;  Swedish: c  d  e  f  g  a  b  h
+
+    (svenska . (
+      (cessess . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (cess . ,(ly:make-pitch -1 0 FLAT))
+      (c . ,(ly:make-pitch -1 0 NATURAL))
+      (ciss . ,(ly:make-pitch -1 0 SHARP))
+      (cississ . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+      (dessess . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (dess . ,(ly:make-pitch -1 1 FLAT))
+      (d . ,(ly:make-pitch -1 1 NATURAL))
+      (diss . ,(ly:make-pitch -1 1 SHARP))
+      (dississ . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+      (essess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (ess . ,(ly:make-pitch -1 2 FLAT))
+      (e . ,(ly:make-pitch -1 2 NATURAL))
+      (eiss . ,(ly:make-pitch -1 2 SHARP))
+      (eississ . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+      (fessess . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fess . ,(ly:make-pitch -1 3 FLAT))
+      (f . ,(ly:make-pitch -1 3 NATURAL))
+      (fiss . ,(ly:make-pitch -1 3 SHARP))
+      (fississ . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+      (gessess . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (gess . ,(ly:make-pitch -1 4 FLAT))
+      (g . ,(ly:make-pitch -1 4 NATURAL))
+      (giss . ,(ly:make-pitch -1 4 SHARP))
+      (gississ . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+      (assess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (ass . ,(ly:make-pitch -1 5 FLAT))
+      (a . ,(ly:make-pitch -1 5 NATURAL))
+      (aiss . ,(ly:make-pitch -1 5 SHARP))
+      (aississ . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+      (hessess . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (b . ,(ly:make-pitch -1 6 FLAT))
+      (h . ,(ly:make-pitch -1 6 NATURAL))
+      (hiss . ,(ly:make-pitch -1 6 SHARP))
+      (hississ . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+
+
+    ;; Language: Vlaams ------------------------------------------------;
+    ;; Hendrik Maryns <hendrik.maryns@ugent.be>
+    ;;
+    ;;  b  = flat (bemol)
+    ;;  bb = double-flat
+    ;;
+    ;;  k  = sharp (kruis)
+    ;;  kk = double-sharp
+    ;;
+    ;;  English: c   d   e   f   g   a   b
+    ;;  Flemish: do  re  mi  fa  sol la  si
+
+    (vlaams . (
+      (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
+      (dob . ,(ly:make-pitch -1 0 FLAT))
+      (do . ,(ly:make-pitch -1 0 NATURAL))
+      (dok . ,(ly:make-pitch -1 0 SHARP))
+      (dokk . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
+
+      (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
+      (reb . ,(ly:make-pitch -1 1 FLAT))
+      (re . ,(ly:make-pitch -1 1 NATURAL))
+      (rek . ,(ly:make-pitch -1 1 SHARP))
+      (rekk . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
+
+      (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
+      (mib . ,(ly:make-pitch -1 2 FLAT))
+      (mi . ,(ly:make-pitch -1 2 NATURAL))
+      (mik . ,(ly:make-pitch -1 2 SHARP))
+      (mikk . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
+
+      (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
+      (fab . ,(ly:make-pitch -1 3 FLAT))
+      (fa . ,(ly:make-pitch -1 3 NATURAL))
+      (fak . ,(ly:make-pitch -1 3 SHARP))
+      (fakk . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
+
+      (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
+      (solb . ,(ly:make-pitch -1 4 FLAT))
+      (sol . ,(ly:make-pitch -1 4 NATURAL))
+      (solk . ,(ly:make-pitch -1 4 SHARP))
+      (solkk . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
+
+      (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
+      (lab . ,(ly:make-pitch -1 5 FLAT))
+      (la . ,(ly:make-pitch -1 5 NATURAL))
+      (lak . ,(ly:make-pitch -1 5 SHARP))
+      (lakk . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
+
+      (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
+      (sib . ,(ly:make-pitch -1 6 FLAT))
+      (si . ,(ly:make-pitch -1 6 NATURAL))
+      (sik . ,(ly:make-pitch -1 6 SHARP))
+      (sikk . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
+    ))
+  ))
+
+%% default note names are dutch
+#(define default-language
+  (ly:assoc-get 'nederlands language-pitch-names '()))
index b96f90272fc8c2c4c8e4764679bcb27f7759e98a..f3e3777785794879a11762bd63e610f8ca50a988 100644 (file)
@@ -360,6 +360,22 @@ label =
                                           'page-label label))))
 
 
+language =
+#(define-music-function (parser location str) (string?)
+   (_i "Select note names language.")
+   (let ((language (assoc-get (string->symbol str)
+                             language-pitch-names
+                             '())))
+     (if (pair? language)
+        (begin
+          (if (ly:get-option 'verbose)
+              (ly:message (_ "Using ~a note names...") str))
+          (set! pitchnames language)
+          (ly:parser-set-note-names parser language))
+        (ly:warning (_ "Could not find language ~a. Ignoring.") str))
+     (make-music 'Music 'void #t)))
+
+
 makeClusters =
 #(define-music-function (parser location arg) (ly:music?)
    (_i "Display chords in @var{arg} as clusters.")
index 54cdfeb88884fc773fca6df970f77d3d64c5ad50..7bc4b84890c25c9b9dc3aa8ae71fbae33a4a1da6 100644 (file)
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  es   = flat
-  eses = double-flat
-  eh   = quarter-tone flat
-  eseh = three-quarter-tones flat
+\language "nederlands"
 
-  is   = sharp
-  isis = double-sharp
-  ih   = quarter-tone sharp
-  isih = three-quarter-tones sharp
-
-  English: c  d  e  f  g  a  bf b
-    Dutch: c  d  e  f  g  a  b  h
-
-%}
-
-dutchPitchnames = #`(
-       (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (ceh . ,(ly:make-pitch -1 0 SEMI-FLAT))
-       (ces . ,(ly:make-pitch -1 0 FLAT))
-       (ceseh . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
-       (c . ,(ly:make-pitch -1 0 NATURAL))
-       (cis . ,(ly:make-pitch -1 0 SHARP))
-       (cih . ,(ly:make-pitch -1 0 SEMI-SHARP))
-       (cisih . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
-       (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-
-       (deh . ,(ly:make-pitch -1 1 SEMI-FLAT))
-       (des . ,(ly:make-pitch -1 1 FLAT))
-       (deseh . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
-       (d . ,(ly:make-pitch -1 1 NATURAL))
-       (dis . ,(ly:make-pitch -1 1 SHARP))
-       (dih . ,(ly:make-pitch -1 1 SEMI-SHARP))
-       (disih . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
-       (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (eeses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-
-       (eeh . ,(ly:make-pitch -1 2 SEMI-FLAT))
-       (ees . ,(ly:make-pitch -1 2 FLAT))
-       (eeseh . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
-       (es . ,(ly:make-pitch -1 2 FLAT))
-       (e . ,(ly:make-pitch -1 2 NATURAL))
-       (eis . ,(ly:make-pitch -1 2 SHARP))
-       (eih . ,(ly:make-pitch -1 2 SEMI-SHARP))
-       (eisih . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
-       (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-
-       (feh . ,(ly:make-pitch -1 3 SEMI-FLAT))
-       (fes . ,(ly:make-pitch -1 3 FLAT))
-       (feseh . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
-       (f . ,(ly:make-pitch -1 3 NATURAL))
-       (fis . ,(ly:make-pitch -1 3 SHARP))
-       (fih . ,(ly:make-pitch -1 3 SEMI-SHARP))
-       (fisih . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
-       (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-
-       (geh . ,(ly:make-pitch -1 4 SEMI-FLAT))
-       (ges . ,(ly:make-pitch -1 4 FLAT))
-       (geseh . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
-       (g . ,(ly:make-pitch -1 4 NATURAL))
-       (gis . ,(ly:make-pitch -1 4 SHARP))
-       (gih . ,(ly:make-pitch -1 4 SEMI-SHARP))
-       (gisih . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
-       (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (aeses . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-
-       (aeh . ,(ly:make-pitch -1 5 SEMI-FLAT))
-       (aes . ,(ly:make-pitch -1 5 FLAT))
-       (aeseh . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
-       (as . ,(ly:make-pitch -1 5 FLAT))
-       (a . ,(ly:make-pitch -1 5 NATURAL))
-       (ais . ,(ly:make-pitch -1 5 SHARP))
-       (aih . ,(ly:make-pitch -1 5 SEMI-SHARP))
-       (aisih . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
-       (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (beses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-
-       (beh . ,(ly:make-pitch -1 6 SEMI-FLAT))
-       (bes . ,(ly:make-pitch -1 6 FLAT))
-       (beseh . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
-       (b . ,(ly:make-pitch -1 6 NATURAL))
-       (bis . ,(ly:make-pitch -1 6 SHARP))
-       (bih . ,(ly:make-pitch -1 6 SEMI-SHARP))
-       (bisih . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
-       (bisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-       )
-
-pitchnames = \dutchPitchnames
-
-#(ly:parser-set-note-names parser pitchnames)
index 36a5aa0ba87c9b0ab972ee6ac2bbf14d9379c095..1e1e23ad25931b8e5a93df26ec0c1f831569beef 100644 (file)
@@ -1,7 +1,7 @@
 %%%% common Norwegian names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 1998--2010 Arvid Grøtting <arvidg@ifi.uio.no>
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  es     = flat
-  ess    = flat
-  eses   = double-flat
-  essess = double-flat
+\language "norsk"
 
-  is     = sharp
-  iss    = sharp
-  isis   = double-sharp
-  ississ = double-sharp
-
-    English: c  d  e  f  g  a  bf b
-  Norwegian: c  d  e  f  g  a  b  h
-
-%}
-
-pitchnamesNorsk = #`(
-       (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (cessess . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (ces . ,(ly:make-pitch -1 0 FLAT))
-       (cess . ,(ly:make-pitch -1 0 FLAT))
-       (c . ,(ly:make-pitch -1 0 NATURAL))
-       (cis . ,(ly:make-pitch -1 0 SHARP))
-       (ciss . ,(ly:make-pitch -1 0 SHARP))
-       (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (cississ . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (dessess . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (des . ,(ly:make-pitch -1 1 FLAT))
-       (dess . ,(ly:make-pitch -1 1 FLAT))
-       (d . ,(ly:make-pitch -1 1 NATURAL))
-       (dis . ,(ly:make-pitch -1 1 SHARP))
-       (diss . ,(ly:make-pitch -1 1 SHARP))
-       (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (dississ . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (eeses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (eessess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (essess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (ees . ,(ly:make-pitch -1 2 FLAT))
-       (eess . ,(ly:make-pitch -1 2 FLAT))
-       (es . ,(ly:make-pitch -1 2 FLAT))
-       (ess . ,(ly:make-pitch -1 2 FLAT))
-       (e . ,(ly:make-pitch -1 2 NATURAL))
-       (eis . ,(ly:make-pitch -1 2 SHARP))
-       (eiss . ,(ly:make-pitch -1 2 SHARP))
-       (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (eississ . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fessess . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fes . ,(ly:make-pitch -1 3 FLAT))
-       (fess . ,(ly:make-pitch -1 3 FLAT))
-       (f . ,(ly:make-pitch -1 3 NATURAL))
-       (fis . ,(ly:make-pitch -1 3 SHARP))
-       (fiss . ,(ly:make-pitch -1 3 SHARP))
-       (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (fississ . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (gessess . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (ges . ,(ly:make-pitch -1 4 FLAT))
-       (gess . ,(ly:make-pitch -1 4 FLAT))
-       (g . ,(ly:make-pitch -1 4 NATURAL))
-       (g . ,(ly:make-pitch -1 4 NATURAL))
-       (gis . ,(ly:make-pitch -1 4 SHARP))
-       (giss . ,(ly:make-pitch -1 4 SHARP))
-       (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (gississ . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (aeses . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (aessess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (assess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (aes . ,(ly:make-pitch -1 5 FLAT))
-       (aess . ,(ly:make-pitch -1 5 FLAT))
-       (as . ,(ly:make-pitch -1 5 FLAT))
-       (ass . ,(ly:make-pitch -1 5 FLAT))
-       (a . ,(ly:make-pitch -1 5 NATURAL))
-       (ais . ,(ly:make-pitch -1 5 SHARP))
-       (aiss . ,(ly:make-pitch -1 5 SHARP))
-       (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (aississ . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (bes . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (bess . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (b . ,(ly:make-pitch -1 6 FLAT))
-       (b . ,(ly:make-pitch -1 6 FLAT))
-       (h . ,(ly:make-pitch -1 6 NATURAL))
-       (his . ,(ly:make-pitch -1 6 SHARP))
-       (hiss . ,(ly:make-pitch -1 6 SHARP))
-       (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-       (hississ . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-)
-
-pitchnames = \pitchnamesNorsk
-
-#(ly:parser-set-note-names parser pitchnames)
index 4dcce2915b359bc84b43122ff9c23b75709c0395..078edc8d291fb8c9323b0a656be7b56d3820cfe8 100644 (file)
@@ -16,7 +16,7 @@
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+\version "2.13.36"
 
 %%
 %% setup for Request->Element conversion.
index d0422a837e5ef9441ab8bcd6ec15b28317d43ca6..6992459060fe73980b1a55e246d46638516cc22f 100644 (file)
@@ -1,7 +1,7 @@
 %%%% common Portuguese names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 2004--2010 Pedro Kröger <kroeger@pedrokroeger.net>
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  b    = flat (bemol)
-  bb   = double-flat
-  bqt  = quarter-tone flat
-  btqt = three-quarter-tones flat
+\language "portugues"
 
-  s    = sharp (sustenido)
-  ss   = double-sharp
-  sqt  = quarter-tone sharp
-  stqt = three-quarter-tones sharp
-
-     English: c   d   e   f   g   a   b
-  Portuguese: do  re  mi  fa  sol la  si
-
-  Adapted from espanol.ly and italiano.ly.
-
-%}
-
-pitchnamesPortuguese = #`(
-       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (dobtqt . ,(ly:make-pitch -1 0 THREE-Q-FLAT))
-       (dob . ,(ly:make-pitch -1 0 FLAT))
-       (dobqt . ,(ly:make-pitch -1 0 SEMI-FLAT))
-       (do . ,(ly:make-pitch -1 0 NATURAL))
-       (dosqt . ,(ly:make-pitch -1 0 SEMI-SHARP))
-       (dos . ,(ly:make-pitch -1 0 SHARP))
-       (dostqt . ,(ly:make-pitch -1 0 THREE-Q-SHARP))
-       (doss . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-
-       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (rebtqt . ,(ly:make-pitch -1 1 THREE-Q-FLAT))
-       (reb . ,(ly:make-pitch -1 1 FLAT))
-       (rebqt . ,(ly:make-pitch -1 1 SEMI-FLAT))
-       (re . ,(ly:make-pitch -1 1 NATURAL))
-       (resqt . ,(ly:make-pitch -1 1 SEMI-SHARP))
-       (res . ,(ly:make-pitch -1 1 SHARP))
-       (restqt . ,(ly:make-pitch -1 1 THREE-Q-SHARP))
-       (ress . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-
-       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (mibtqt . ,(ly:make-pitch -1 2 THREE-Q-FLAT))
-       (mib . ,(ly:make-pitch -1 2 FLAT))
-       (mibqt . ,(ly:make-pitch -1 2 SEMI-FLAT))
-       (mi . ,(ly:make-pitch -1 2 NATURAL))
-       (misqt . ,(ly:make-pitch -1 2 SEMI-SHARP))
-       (mis . ,(ly:make-pitch -1 2 SHARP))
-       (mistqt . ,(ly:make-pitch -1 2 THREE-Q-SHARP))
-       (miss . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-
-       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fabtqt . ,(ly:make-pitch -1 3 THREE-Q-FLAT))
-       (fab . ,(ly:make-pitch -1 3 FLAT))
-       (fabqt . ,(ly:make-pitch -1 3 SEMI-FLAT))
-       (fa . ,(ly:make-pitch -1 3 NATURAL))
-       (fasqt . ,(ly:make-pitch -1 3 SEMI-SHARP))
-       (fas . ,(ly:make-pitch -1 3 SHARP))
-       (fastqt . ,(ly:make-pitch -1 3 THREE-Q-SHARP))
-       (fass . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-
-       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (solbtqt . ,(ly:make-pitch -1 4 THREE-Q-FLAT))
-       (solb . ,(ly:make-pitch -1 4 FLAT))
-       (solbqt . ,(ly:make-pitch -1 4 SEMI-FLAT))
-       (sol . ,(ly:make-pitch -1 4 NATURAL))
-       (solsqt . ,(ly:make-pitch -1 4 SEMI-SHARP))
-       (sols . ,(ly:make-pitch -1 4 SHARP))
-       (solstqt . ,(ly:make-pitch -1 4 THREE-Q-SHARP))
-       (solss . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-
-       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (labtqt . ,(ly:make-pitch -1 5 THREE-Q-FLAT))
-       (lab . ,(ly:make-pitch -1 5 FLAT))
-       (labqt . ,(ly:make-pitch -1 5 SEMI-FLAT))
-       (la . ,(ly:make-pitch -1 5 NATURAL))
-       (lasqt . ,(ly:make-pitch -1 5 SEMI-SHARP))
-       (las . ,(ly:make-pitch -1 5 SHARP))
-       (lastqt . ,(ly:make-pitch -1 5 THREE-Q-SHARP))
-       (lass . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-
-       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (sibtqt . ,(ly:make-pitch -1 6 THREE-Q-FLAT))
-       (sib . ,(ly:make-pitch -1 6 FLAT))
-       (sibqt . ,(ly:make-pitch -1 6 SEMI-FLAT))
-       (si . ,(ly:make-pitch -1 6 NATURAL))
-       (sisqt . ,(ly:make-pitch -1 6 SEMI-SHARP))
-       (sis . ,(ly:make-pitch -1 6 SHARP))
-       (sistqt . ,(ly:make-pitch -1 6 THREE-Q-SHARP))
-       (siss . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-
-)
-
-pitchnames = \pitchnamesPortuguese
-
-#(ly:parser-set-note-names parser pitchnames)
index c6d30b0dc2e87b058dbd73bbab2c58060dfd48e2..0211ca98a7845583d859debf1080b5d2423930a1 100644 (file)
@@ -15,6 +15,9 @@
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
+% chord definitions require default pitchnames
+#(define prev-pitchnames pitchnames)
+#(set! pitchnames default-language)
 
 \include "predefined-guitar-ninth-fretboards.ly"
 
                         #guitar-tuning
                         #(offset-fret 1 (chord-shape 'bes:m7 guitar-tuning))
 
+#(set! pitchnames prev-pitchnames)
index 554c828fe4b3da93b36ac515245553619526d99f..827b04da12659da8b69fd895854dab13ec6ebfd9 100644 (file)
@@ -21,6 +21,9 @@
 %%%%   ukulele hall of fame museum website (http://www.ukulele.org/),
 %%%%   kiwi ukulele website (http://www.kiwiukulele.co.nz/)
 
+% chord definitions require default pitchnames
+#(define prev-pitchnames pitchnames)
+#(set! pitchnames default-language)
 
 %%% a chords
 
 \storePredefinedDiagram #default-fret-table \chordmode {aes:9}
                         #ukulele-tuning
                         #"1-1;o;2-3;1-2;"
+
+#(set! pitchnames prev-pitchnames)
index a53b1411e41ea53762778a774263736a8e3f2219..b4c32a53be00dc5d8845058607079f119e2dd8d3 100644 (file)
@@ -1,7 +1,7 @@
 %%%% common Finnish names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 2001--2010 Heikki Junes <heikki.junes@hut.fi>
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  es   = flat
-  eses = double-flat
+\language "suomi"
 
-  is   = sharp
-  isis = double-sharp
-
-  English: c  d  e  f  g  a  bf b
-  Finnish: c  d  e  f  g  a  b  h
-
-  Adapted from svenska.ly
-
-%}
-
-pitchnamesSuomi = #`(
-       (ceses . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (ces . ,(ly:make-pitch -1 0 FLAT))
-       (c . ,(ly:make-pitch -1 0 NATURAL))
-       (cis . ,(ly:make-pitch -1 0 SHARP))
-       (cisis . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (deses . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (des . ,(ly:make-pitch -1 1 FLAT))
-       (d . ,(ly:make-pitch -1 1 NATURAL))
-       (dis . ,(ly:make-pitch -1 1 SHARP))
-       (disis . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (eses . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (es . ,(ly:make-pitch -1 2 FLAT))
-       (e . ,(ly:make-pitch -1 2 NATURAL))
-       (eis . ,(ly:make-pitch -1 2 SHARP))
-       (eisis . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (feses . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fes . ,(ly:make-pitch -1 3 FLAT))
-       (f . ,(ly:make-pitch -1 3 NATURAL))
-       (fis . ,(ly:make-pitch -1 3 SHARP))
-       (fisis . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (geses . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (ges . ,(ly:make-pitch -1 4 FLAT))
-       (g . ,(ly:make-pitch -1 4 NATURAL))
-       (gis . ,(ly:make-pitch -1 4 SHARP))
-       (gisis . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (asas . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (ases . ,(ly:make-pitch -1 5 DOUBLE-FLAT))   ;;non-standard name for asas
-       (as . ,(ly:make-pitch -1 5 FLAT))
-       (a . ,(ly:make-pitch -1 5 NATURAL))
-       (ais . ,(ly:make-pitch -1 5 SHARP))
-       (aisis . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (bb . ,(ly:make-pitch -1 6 DOUBLE-FLAT)) ;; should be bes. Kept for downwards compatibility
-       (bes . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (heses . ,(ly:make-pitch -1 6 DOUBLE-FLAT))  ;;non-standard name for bb
-       (b . ,(ly:make-pitch -1 6 FLAT))
-       (h . ,(ly:make-pitch -1 6 NATURAL))
-       (his . ,(ly:make-pitch -1 6 SHARP))
-       (hisis . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-)
-
-pitchnames = \pitchnamesSuomi
-
-#(ly:parser-set-note-names parser pitchnames)
index 85ca0f8919351e13c3689807558de774ddbb1ff4..c37e7ebe6d7e50f68f9717e741c0d79add52f18c 100644 (file)
@@ -1,7 +1,7 @@
 %%%% common Swedish names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 1997--2010 Mats Bengtsson <mabe@violin.s3.kth.se>
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  ess    = flat
-  essess = double-flat
+\language "svenska"
 
-  iss    = sharp
-  ississ = double-sharp
-
-  English: c  d  e  f  g  a  bf b
-  Swedish: c  d  e  f  g  a  b  h
-
-%}
-
-pitchnamesSvenska = #`(
-       (cessess . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (cess . ,(ly:make-pitch -1 0 FLAT))
-       (c . ,(ly:make-pitch -1 0 NATURAL))
-       (ciss . ,(ly:make-pitch -1 0 SHARP))
-       (cississ . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-       (dessess . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (dess . ,(ly:make-pitch -1 1 FLAT))
-       (d . ,(ly:make-pitch -1 1 NATURAL))
-       (diss . ,(ly:make-pitch -1 1 SHARP))
-       (dississ . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-       (essess . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (ess . ,(ly:make-pitch -1 2 FLAT))
-       (e . ,(ly:make-pitch -1 2 NATURAL))
-       (eiss . ,(ly:make-pitch -1 2 SHARP))
-       (eississ . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-       (fessess . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fess . ,(ly:make-pitch -1 3 FLAT))
-       (f . ,(ly:make-pitch -1 3 NATURAL))
-       (fiss . ,(ly:make-pitch -1 3 SHARP))
-       (fississ . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-       (gessess . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (gess . ,(ly:make-pitch -1 4 FLAT))
-       (g . ,(ly:make-pitch -1 4 NATURAL))
-       (giss . ,(ly:make-pitch -1 4 SHARP))
-       (gississ . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-       (assess . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (ass . ,(ly:make-pitch -1 5 FLAT))
-       (a . ,(ly:make-pitch -1 5 NATURAL))
-       (aiss . ,(ly:make-pitch -1 5 SHARP))
-       (aississ . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-       (hessess . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (b . ,(ly:make-pitch -1 6 FLAT))
-       (h . ,(ly:make-pitch -1 6 NATURAL))
-       (hiss . ,(ly:make-pitch -1 6 SHARP))
-       (hississ . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-)
-
-pitchnames = \pitchnamesSvenska
-
-#(ly:parser-set-note-names parser pitchnames)
index a4735d599f1689834dd7ff79c7fb48e3ebb90871..f278b08f44b5fa889f7653db0fa31f126e2c767f 100644 (file)
@@ -1,7 +1,7 @@
 %%%% common Flemish names for notes
 %%%% This file is part of LilyPond, the GNU music typesetter.
 %%%%
-%%%% Copyright (C) 2004--2010 Hendrik Maryns <hendrik.maryns@ugent.be>
+%%%% Copyright (C) 2010 Valentin Villenave <valentin@villenave.net>
 %%%%
 %%%% LilyPond is free software: you can redistribute it and/or modify
 %%%% it under the terms of the GNU General Public License as published by
 %%%% You should have received a copy of the GNU General Public License
 %%%% along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 
-\version "2.12.0"
+%%%% Legacy file. (see language-init.ly)
 
-%{
+\version "2.13.37"
 
-  b  = flat (bemol)
-  bb = double-flat
+\language "vlaams"
 
-  k  = sharp (kruis)
-  kk = double-sharp
-
-  English: c   d   e   f   g   a   b
-  Flemish: do  re  mi  fa  sol la  si
-
-  Adapted from espanol.ly.
-
-%}
-
-pitchnamesVlaams = #`(
-       (dobb . ,(ly:make-pitch -1 0 DOUBLE-FLAT))
-       (dob . ,(ly:make-pitch -1 0 FLAT))
-       (do . ,(ly:make-pitch -1 0 NATURAL))
-       (dok . ,(ly:make-pitch -1 0 SHARP))
-       (dokk . ,(ly:make-pitch -1 0 DOUBLE-SHARP))
-
-       (rebb . ,(ly:make-pitch -1 1 DOUBLE-FLAT))
-       (reb . ,(ly:make-pitch -1 1 FLAT))
-       (re . ,(ly:make-pitch -1 1 NATURAL))
-       (rek . ,(ly:make-pitch -1 1 SHARP))
-       (rekk . ,(ly:make-pitch -1 1 DOUBLE-SHARP))
-
-       (mibb . ,(ly:make-pitch -1 2 DOUBLE-FLAT))
-       (mib . ,(ly:make-pitch -1 2 FLAT))
-       (mi . ,(ly:make-pitch -1 2 NATURAL))
-       (mik . ,(ly:make-pitch -1 2 SHARP))
-       (mikk . ,(ly:make-pitch -1 2 DOUBLE-SHARP))
-
-       (fabb . ,(ly:make-pitch -1 3 DOUBLE-FLAT))
-       (fab . ,(ly:make-pitch -1 3 FLAT))
-       (fa . ,(ly:make-pitch -1 3 NATURAL))
-       (fak . ,(ly:make-pitch -1 3 SHARP))
-       (fakk . ,(ly:make-pitch -1 3 DOUBLE-SHARP))
-
-       (solbb . ,(ly:make-pitch -1 4 DOUBLE-FLAT))
-       (solb . ,(ly:make-pitch -1 4 FLAT))
-       (sol . ,(ly:make-pitch -1 4 NATURAL))
-       (solk . ,(ly:make-pitch -1 4 SHARP))
-       (solkk . ,(ly:make-pitch -1 4 DOUBLE-SHARP))
-
-       (labb . ,(ly:make-pitch -1 5 DOUBLE-FLAT))
-       (lab . ,(ly:make-pitch -1 5 FLAT))
-       (la . ,(ly:make-pitch -1 5 NATURAL))
-       (lak . ,(ly:make-pitch -1 5 SHARP))
-       (lakk . ,(ly:make-pitch -1 5 DOUBLE-SHARP))
-
-       (sibb . ,(ly:make-pitch -1 6 DOUBLE-FLAT))
-       (sib . ,(ly:make-pitch -1 6 FLAT))
-       (si . ,(ly:make-pitch -1 6 NATURAL))
-       (sik . ,(ly:make-pitch -1 6 SHARP))
-       (sikk . ,(ly:make-pitch -1 6 DOUBLE-SHARP))
-)
-
-pitchnames = \pitchnamesVlaams
-
-#(ly:parser-set-note-names parser pitchnames)
index d6c992e537e91894ee4f05946d11d52fe0634191..9f86121e16b46ce8004d9ccf4fd926cdf65037da 100644 (file)
@@ -3367,6 +3367,36 @@ when @var{label} is not found."
      x-ext
      y-ext)))
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; scaling
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(define-markup-command (scale layout props factor-pair arg)
+  (number-pair? markup?)
+  #:category graphic
+  "
+@cindex scaling markup
+@cindex mirroring markup
+
+Scale @var{arg}.  @var{factor-pair} is a pair of numbers
+representing the scaling-factor in the X and Y axes.
+Negative values may be used to produce mirror images.
+
+@lilypond[verbatim,quote]
+\\markup {
+  \\line {
+    \\scale #'(2 . 1)
+    stretched
+    \\scale #'(1 . -1)
+    mirrored
+  }
+}
+@end lilypond"
+  (let ((stil (interpret-markup layout props arg))
+       (sx (car factor-pair))
+       (sy (cdr factor-pair)))
+    (ly:stencil-scale stil sx sy)))
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Markup list commands
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
index 07f3463828fc9552bc3b184c57d074ef6c42214e..bbb2ac2a9f6e48977a6ffe178219b27869fee0b8 100644 (file)
@@ -46,15 +46,15 @@ defined in the output modules (output-*.scm)"
     repeat-slash
     resetcolor
     resetrotation
+    resetscale
     round-filled-box
     setcolor
     setrotation
+    setscale
     text
     unknown
     url-link
     utf-8-string
-    white-dot
-    white-text
     zigzag-line
     ))
 
@@ -68,6 +68,7 @@ are used internally in lily/stencil-interpret.cc."
     combine-stencil
     delay-stencil-evaluation
     rotate-stencil
+    scale-stencil
     translate-stencil
     ))
 
index 723a616369bd5f7a4b37243c30dc4506a9f05e2e..ac7cc53d44b0a6bc0d12428ba0958987290b8991 100644 (file)
      thickness
      (convert-path-exps exps)
      (if fill? "fill" ""))))
+
+(define (setscale x y)
+  (ly:format "gsave ~4l scale\n"
+             (list x y)))
+
+(define (resetscale)
+  "grestore\n")
index 238819552866dd420a54b5c0d1876444e87b2d8b..9b1b250f77857a631b525bd90fa282b796b6e178 100644 (file)
 (define (resetrotation ang x y)
   "</g>\n")
 
+(define (resetscale)
+  "</g>\n")
+
 (define (round-filled-box breapth width depth height blot-diameter)
   (entity
     'rect ""
   (ly:format "<g transform=\"rotate(~4f, ~4f, ~4f)\">\n"
             (- ang) x (- y)))
 
+(define (setscale x y)
+  (ly:format "<g transform=\"scale(~4f, ~4f)\">\n"
+            x y))
+
 (define (text font string)
   (dispatch `(fontify ,font ,(entity 'tspan (string->entities string)))))
 
diff --git a/scripts/auxiliar/update-with-convert-ly.sh b/scripts/auxiliar/update-with-convert-ly.sh
new file mode 100755 (executable)
index 0000000..b124d5f
--- /dev/null
@@ -0,0 +1,27 @@
+#!/usr/bin/env bash
+
+### are we in the top source dir?
+if [ ! -e scripts/convert-ly.py ]; then
+  echo "Must run from top source directory"
+  exit 1
+fi
+
+### get the directories
+TOP_SRC_DIR=`pwd`
+if [ -z $BUILD_DIR ]; then
+  BUILD_DIR=.
+fi
+
+### make sure convert-ly is up-to-date
+touch python/convertrules.py
+touch scripts/convert-ly.py
+cd $BUILD_DIR
+make
+cd $TOP_SRC_DIR
+
+### update manuals
+find Documentation/ -path 'Documentation/snippets' -prune \
+  , -name '*.itely' | xargs $BUILD_DIR/out/bin/convert-ly -e -d
+
+### update .ly files
+find . -name '*.ly' | xargs $BUILD_DIR/out/bin/convert-ly -e -d