Simon Albrecht <simon.albre...@mail.de> writes:

> Thanks for elaborating, Harm. That’s some elegant coding with which I
> couldn’t have come up :-)
>
> Am 15.03.2015 um 19:22 schrieb Thomas Morley:
>
> [snip]
>>
>> \version "2.19.16"
>>
>> %% Please note, \language has to be declared before 'used-language'
>> %% is done or included, (if stored elsewhere)
>> \language "deutsch"
>> %\language "english"
>> %% if no tagline for a language is defined, default-english will be
>> printed
>> %\language "catalan"
>>
>> %% TODO: find better method to detect which language is actually used
>> #(define used-language
>>   (car
>>     (find
>>       (lambda (e) (eq? (cdr e) (ly:parser-lookup parser 'pitchnames)))
>>       language-pitch-names)))
> I imagine that a generic solution worth being included in the code
> base would require this definition to be made through the \language
> command itself.

I don't think it is a tenable solution to equate notename language with
document language.

-- 
David Kastrup

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to