Re: unicodesymbols: have several commands for a single symbol?

2022-02-20 Thread Thibaut Cuvelier
On Sun, 20 Feb 2022 at 11:27, Enrico Forestieri wrote: > On Sun, Feb 20, 2022 at 01:29:28AM +0100, Thibaut Cuvelier wrote: > > > > On Sat, 19 Feb 2022 at 12:28, Enrico Forestieri wrote: > > > > > On Sat, Feb 19, 2022 at 08:47:17AM +0100, Jürgen Spitzmüller wrote: > > > > > > > > Am Samstag, dem

Re: unicodesymbols: have several commands for a single symbol?

2022-02-20 Thread Enrico Forestieri
On Sun, Feb 20, 2022 at 01:29:28AM +0100, Thibaut Cuvelier wrote: > > On Sat, 19 Feb 2022 at 12:28, Enrico Forestieri wrote: > > > On Sat, Feb 19, 2022 at 08:47:17AM +0100, Jürgen Spitzmüller wrote: > > > > > > Am Samstag, dem 19.02.2022 um 02:43 +0100 schrieb Thibaut Cuvelier: > > > > Does it

Re: unicodesymbols: have several commands for a single symbol?

2022-02-20 Thread Jürgen Spitzmüller
Am Sonntag, dem 20.02.2022 um 01:15 +0100 schrieb Thibaut Cuvelier: > Empty entries were already allowed.  I know. > There is no notion of inheritance, though, I'm only adding a way to > have an alternative way of detecting a symbol. I see. I misunderstood, then. Jürgen signature.asc

Re: unicodesymbols: have several commands for a single symbol?

2022-02-19 Thread Thibaut Cuvelier
On Sat, 19 Feb 2022 at 12:28, Enrico Forestieri wrote: > On Sat, Feb 19, 2022 at 08:47:17AM +0100, Jürgen Spitzmüller wrote: > > > > Am Samstag, dem 19.02.2022 um 02:43 +0100 schrieb Thibaut Cuvelier: > > > Does it look alright to you? If so, I will push these patches. > > > > So if an entry has

Re: unicodesymbols: have several commands for a single symbol?

2022-02-19 Thread Thibaut Cuvelier
On Sat, 19 Feb 2022 at 08:47, Jürgen Spitzmüller wrote: > > Am Samstag, dem 19.02.2022 um 02:43 +0100 schrieb Thibaut Cuvelier: > > Does it look alright to you? If so, I will push these patches. > > So if an entry has "", this will be set empty, and if it has nothing, > it will inherit the

Re: unicodesymbols: have several commands for a single symbol?

2022-02-19 Thread Enrico Forestieri
On Sat, Feb 19, 2022 at 08:47:17AM +0100, Jürgen Spitzmüller wrote: > > Am Samstag, dem 19.02.2022 um 02:43 +0100 schrieb Thibaut Cuvelier: > > Does it look alright to you? If so, I will push these patches. > > So if an entry has "", this will be set empty, and if it has nothing, > it will

Re: unicodesymbols: have several commands for a single symbol?

2022-02-18 Thread Jürgen Spitzmüller
Am Samstag, dem 19.02.2022 um 02:43 +0100 schrieb Thibaut Cuvelier: > Does it look alright to you? If so, I will push these patches. So if an entry has "", this will be set empty, and if it has nothing, it will inherit the former, right? And until now, only "" was allowed, no missing table

Re: unicodesymbols: have several commands for a single symbol?

2022-02-18 Thread Thibaut Cuvelier
Hi all, Here is an implementation of the mechanism discussed here. I split the largest part of the patch into two parts: adding the possibility to store several characters in CharInfo, then parsing the new lines (with just two new entries in unicodesymbols). These patches also change the names of

Re: unicodesymbols: have several commands for a single symbol?

2022-02-13 Thread Jürgen Spitzmüller
Am Montag, dem 14.02.2022 um 03:24 +0100 schrieb Thibaut Cuvelier: > Thanks, I just did that (with a small test file): a460097823. > > However, this test showed a limitation in the current unicodesymbols: > there can be only one LaTeX command per symbol. This is a limitation > in only a few

Re: unicodesymbols: have several commands for a single symbol?

2022-02-13 Thread Scott Kostyshak
On Mon, Feb 14, 2022 at 03:24:40AM +0100, Thibaut Cuvelier wrote: > On Sun, 13 Feb 2022 at 09:04, Jürgen Spitzmüller wrote: > > > Am Sonntag, dem 13.02.2022 um 04:19 +0100 schrieb Thibaut Cuvelier: > > > You mean, with code like > > > > >

unicodesymbols: have several commands for a single symbol?

2022-02-13 Thread Thibaut Cuvelier
On Sun, 13 Feb 2022 at 09:04, Jürgen Spitzmüller wrote: > Am Sonntag, dem 13.02.2022 um 04:19 +0100 schrieb Thibaut Cuvelier: > > You mean, with code like > > > https://github.com/cburschka/lyx/blob/d3c335a5d524e2edeb73ae1a891fcc58ba5bfd1a/src/BiblioInfo.cpp#L421-L428 > > for the search? I