Making chord text substitutions globally

From:

Shamus

Subject:

Making chord text substitutions globally

Date:

Wed, 09 Apr 2008 12:36:03 -0500

User-agent:

Thunderbird 2.0.0.9 (X11/20080224)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I was wondering if there is a way to make my customized chord list take
over by simply including the external .ly file--the same way you can
override the default note names by including the appropriate file. As it
is now, I have to explicitly instantiate them in the chordmode context
like so:
\include "english.ly"
\include "pop-chords.ly" % This has the popChords definition
...
Chords = \chordmode
{
~ \popChords
~ a1:m | % 1
~ ...
}
...
In other words, I want to be able to override the default chords with my
customized chords just by including the pop-chords.ly file *without*
having to stick that \popChords thing in there. Any ideas? Is this
currently impossible?
- -- Shamus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH/P6CmE5b/O3JjkYRAsIzAKDfLXQ3OWCTDxhnFILeoKcu3L/XuQCfdqQs
/G6bhLYJDws/FqTrUTDvTmw=
=ak3C
-----END PGP SIGNATURE-----