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