OK, will push.
http://codereview.appspot.com/2791041/diff/1/ly/predefined-guitar-fretboards.ly File ly/predefined-guitar-fretboards.ly (right): http://codereview.appspot.com/2791041/diff/1/ly/predefined-guitar-fretboards.ly#newcode20 ly/predefined-guitar-fretboards.ly:20: #(set! pitchnames default-language) On 2010/10/29 06:17:52, Graham Percival wrote:
Cool! Is there any way to make this easy for normal users to use?
(then again,
can we think of any case where a composer would want to be switching
input
languages? not in normal circumstances, but would anybody ever want
to define
some music to be used in a \include file ? ... hmm, that seems a bit far-fetched. ok, ignore this idea)
Hmm. At most, we could just document that in order to include a file with another language, one has to do: \language "newlanguage" \include "my_included_file.ly" \language "previouslanguage" Also note that unlike \include "blah.ly", \language may even be used inside a music expression! (BTW: In these fretboard files, I'm not actually using \language since I don't need to change the parser's note names, but merely the pitchnames definition that's used by chordmode.) http://codereview.appspot.com/2791041/ _______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
