lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ice-9 i18n string-locale-upcase


From: Jean Abou Samra
Subject: Re: ice-9 i18n string-locale-upcase
Date: Tue, 18 Jan 2022 18:52:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Le 18/01/2022 à 18:01, Simon Albrecht a écrit :
Hi everyone,

I wanted to set up some customisable headings using #(string-upcase "string"), but it doesn’t work on German umlauts, so I came upon string-locale-upcase on this page:

https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/Character-Case-Mapping.html#Character-Case-Mapping

However, I can’t get it to work. To this example file:

%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.23.5"
#(use-modules (ice-9 i18n))
\markup \column {
  #(string-upcase "üß")
  #(string-locale-upcase "üß" "de_DE")
}
%%%%%%%%%%%%%%%%%%%%%%%%

Guile says: “no code for module (ice-9 i18n)”.

Why? Can I load the module another way? Will it do what I want? Should I use another tool? ;-)


Because this is documentation for Guile 2
and current releases of LilyPond still have
Guile 1.8. Try Jonas' latest *experimental*
binaries using Guile 2:

https://lists.gnu.org/archive/html/lilypond-devel/2021-12/msg00007.html
or rather https://lists.gnu.org/archive/html/lilypond-devel/2021-12/msg00078.html
if you are using Windows.

Best,
Jean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]