bug in \caps

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

bug in \caps

Frédéric
Hi,
\caps does not work with non ASCII characters:
\version "2.19.84"
\markup { \caps "Blée" }
In this example, the 3rd character "é" is not converted to É.
Kind regards,
F

Reply | Threaded
Open this post in threaded view
|

Re: bug in \caps

Schneidy
Hi Frédéric,
%\version "2.20.0"
\version "2.19.84"          
\markup{ \override #'(font-features . ("smcp")) "Blée" }
Cheers,
Pierre

Le ven. 22 mai 2020 à 07:36, Frédéric <[hidden email]> a écrit :
Hi,
\caps does not work with non ASCII characters:
\version "2.19.84"
\markup { \caps "Blée" }
In this example, the 3rd character "é" is not converted to É.
Kind regards,
F

Reply | Threaded
Open this post in threaded view
|

Re: bug in \caps

Werner LEMBERG
In reply to this post by Frédéric

> \caps does not work with non ASCII characters:
> \version "2.19.84"
> \markup { \caps "Blée" }
> In this example, the 3rd character "é" is not converted to É.
> Kind regards,

Irrespective of the problem, the character 'é' is *not* part of ASCII.
The ASCII character is quite an old 7bit character set, approximately
what we have today in Unicode at positions U+0000 to U+007F.


    Werner
Reply | Threaded
Open this post in threaded view
|

Re: bug in \caps

Frédéric
> > \caps does not work with non ASCII characters:
>
> Irrespective of the problem, the character 'é' is *not* part of ASCII.
> The ASCII character is quite an old 7bit character set, approximately
> what we have today in Unicode at positions U+0000 to U+007F.

yes, this is why I wrote it did not work for "non ASCII characters" :=)

F

Reply | Threaded
Open this post in threaded view
|

Re: bug in \caps

Frédéric
In reply to this post by Schneidy
> See: http://lilypond.org/doc/v2.19/Documentation/changes-big-page.html
> %\version "2.20.0"
> \version "2.19.84"
> \markup{ \override #'(font-features . ("smcp")) "Blée" }

You're right, that works although the size of É and E looks strange.
Thanks for the help.

F

Reply | Threaded
Open this post in threaded view
|

Re: bug in \caps

Werner LEMBERG
In reply to this post by Frédéric
>> > \caps does not work with non ASCII characters:
>>
>> Irrespective of the problem, the character 'é' is *not* part of
>> ASCII.  The ASCII character is quite an old 7bit character set,
>> approximately what we have today in Unicode at positions U+0000 to
>> U+007F.
>
> yes, this is why I wrote it did not work for "non ASCII characters"
> :=)

Doh, I should start learning how to read :-)


    Werner
Reply | Threaded
Open this post in threaded view
|

Re: bug in \caps

Valentin Villenave-3
In reply to this post by Schneidy
On 5/22/20, Pierre Perol-Schneider <[hidden email]> wrote:
> Hi Frédéric,
> See: http://lilypond.org/doc/v2.19/Documentation/changes-big-page.html

By the way Frédéric, do feel free to ask such questions on the
-user-fr mailing list (assuming your subscription is still active).
Both Pierre and I can be reached there, as well as a lot of
knowledgeable contributors and/or beginners (to whom accented
characters may be useful as well :-)

Cheers,
-- V.