help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: manipulating (capitalize, lower case) unicode bold and italic charac


From: Marcin Borkowski
Subject: Re: manipulating (capitalize, lower case) unicode bold and italic characters
Date: Mon, 08 Jul 2019 15:11:44 +0200
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2019-07-08, at 04:29, Eli Zaretskii <address@hidden> wrote:

>> From: Dan Hitt <address@hidden>
>> Date: Sun, 7 Jul 2019 12:13:11 -0700
>>
>> So it's a sort of unqualified good, but it would be very useful to be able
>> to select a region of text, and convert it to mathematical bold, or
>> mathematical italic, or fraktur, or other unicode symbols.
>
> What you call mathematical bold and mathematical italic is actually a
> special Unicode block of characters whose intended use is to provide
> symbols for mathematical formulae.  Their use as "normal" text is not
> something I'd recommend, because the characters' properties are
> different from those of normal text.  Nevertheless, converting ASCII
> text to use these characters should be a simple matter of replacing
> one character by another.

Not that this is tricky also because there are "holes" there,
e.g. "mathematical lowercase italic" has no letter "h".

I'd also recommend against this idea.  I'd use e.g. Markdown (possibly
with font-lock) for that.

> I don't understand what you mean by "fraktur", though.

https://en.wikipedia.org/wiki/Fraktur

>> It would also be good to be able to change case easily (and i guess
>> this should work whether the characters are greek or latin, and work
>> with arabic digits as well).
>
> This already does work with any character for which Unicode defines
> the upper-case or lower-case pair.  Use M-l and M-u.

A quick test shows that this won't work in the current state of affairs.

Best

--
Marcin Borkowski
http://mbork.pl



reply via email to

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