Same commands for different unicodes?

Kornel Benko kornel at lyx.org
Mon Feb 21 10:17:45 UTC 2022


Am Mon, 21 Feb 2022 02:13:08 +0100
schrieb Thibaut Cuvelier <tcuvelier at lyx.org>:

> > > > Would you have a script that finds all these occurrences or a list? Maybe
> > > > quite a few could be resolved like the asterisk.
> > > >
> > >
> > > Would it be helpful if some duplicate characters were marked as deprecated?
> > > For \\'\\textalpha, for instance (I guess it's the same for all Greek
> > > vowels with tonos/oxia), 0x1F71 is disallowed (see line idna2008 in
> > > https://util.unicode.org/UnicodeJsps/character.jsp?a=1F71), unlike 0x3AC.
> > 
> > That would help. In fact my script already uses this info, but only a very few
> > codes are marked as such.
> > 
> I am attaching a patch to solve the issue for several Greek characters, using the fact
> that some of them are more or less deprecated. The other patch only adds math versions
> for some symbols that did not have one. I'm also attaching an annotated version of your
> list with suggested fixes in many cases (except for the Greek letters in the
> accompanying patch). I may be wrong, because many cases are subtleties of Unicode
> and/or phonetics.

Thanks Thibaut.

Patches applied cleanly. lyxfind.cpp updated.
I cannot comment on suggested fixes though, but for the patches I vote for commit.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220221/5b2ce0d4/attachment-0001.asc>


More information about the lyx-devel mailing list