]> git.donarmstrong.com Git - lilypond.git/commit
lilypond-book: store document language in a global variable
authorJohn Mandereau <john.mandereau@gmail.com>
Sat, 19 Apr 2008 15:26:58 +0000 (17:26 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Sat, 19 Apr 2008 15:26:58 +0000 (17:26 +0200)
commita4ef0d9d7b12478696619ec131e5113d2833648e
treee4d5403c2c14eafc6b8f4eda5e2d0ada31f7db80
parentc1a0e9792fcd6a23573ded6e19a37ead6b782b32
lilypond-book: store document language in a global variable

Document language as 'lang' ly option caused trouble, especially
different checksums for identical snippets depending on the language
of the Texinfo document.

Using a global variable is not ideal either, but as processed documents
are not implemented as classes, there is currently no other way to store
that kind of info and make sure that included files inherit it.
scripts/lilypond-book.py