OK, here’s a (I hope) much better patch that not only deals with the
Note_name_engraver, but also aims to make all of the note-/pitch-naming
functions more consistent and flexible (including in chord names). Included is
a regtest showing off the new capabilities offered by this engraver, including
quite a few user-settable properties and Scheme functions. (Documentation is
not included yet though, as I’d like to first settle on an agreed feature set,
property names and general mechanism.)
Please let me know if you think I’m on the right track here:
https://codereview.appspot.com/221710044/#ps60001
---
** [issues:#1367] Enhancement: NoteNames context should handle any note names
language**
**Status:** Accepted
**Labels:** Frog
**Created:** Wed Oct 27, 2010 02:45 PM UTC by Anonymous
**Last Updated:** Fri Feb 03, 2017 10:52 AM UTC
**Owner:** Valentin Villenave
**Attachments:**
-
[bug.preview.png](https://sourceforge.net/p/testlilyissues/issues/1367/attachment/bug.preview.png)
(1.9 kB; image/png)
*Originally created by:* *anonymous
*Originally created by:* [v.villenave](http://code.google.com/u/v.villenave/)
*Originally owned by:* [v.villenave](http://code.google.com/u/v.villenave/)
As Mats noticed a few years ago, default \(Nederlands\) note names are
hardcoded in the Note\_names\_engraver: in the following example, the notes are
entered in Spanish but printed in Dutch.
[http://lists.gnu.org/archive/html/lilypond-user/2007-03/msg00021.html](http://lists.gnu.org/archive/html/lilypond-user/2007-03/msg00021.html)
\version "2.13.37"
\include "espanol.ly"
notes = \relative do' \{ do re mi do \}
\new Staff <<
\notes
\context NoteNames \{ \notes \}
>>
It would be more elegant to use the pitchnames variable \(just like
\displayLilyMusic does\) so we could print note names in any language.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list._______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto