> > Message: 2 > Date: Wed, 09 Feb 2022 10:29:14 +0100 > From: J?rgen Spitzm?ller <sp...@lyx.org> > To: lyx-...@lists.lyx.org > Subject: Re: [LyX/master] DocBook: refactor ERT recognition as a map, > add many coded letters. > Message-ID: <4a8f842b3a3e865b64db206a363def2ff0c708dd.ca...@lyx.org> > Content-Type: text/plain; charset="utf-8" > > Am Montag, dem 07.02.2022 um 04:17 +0100 schrieb Thibaut Cuvelier: > > commit f6edfaa1511cc08b6987da89ebafefeffc2acbf9 > > Author: Thibaut Cuvelier <tcuvel...@lyx.org> > > Date:?? Mon Feb 7 03:24:11 2022 +0100 > > > > ??? DocBook: refactor ERT recognition as a map, add many coded > > letters. > > Don't you want to add these data to unicodesymbols instead? > > J?rgen > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 488 bytes > Desc: This is a digitally signed message part > URL: < > http://lists.lyx.org/pipermail/lyx-cvs/attachments/20220209/980878f0/attachment-0001.asc > > >
You mean, with code like https://github.com/cburschka/lyx/blob/d3c335a5d524e2edeb73ae1a891fcc58ba5bfd1a/src/BiblioInfo.cpp#L421-L428 for the search? I thought it would be good to have a file to store this information, but I wasn't aware of unicodesymbols. I believe that the file shouldn't even be modified at all, thanks to the presence of the Unicode character number at the beginning of the line (0x00c0 "\\`{A}", whith 0xC0 corresponding to 192, https://github.com/cburschka/lyx/blob/master/src/insets/InsetERT.cpp#L131 ). Based on the contents of unicodesymbols, how could I match " \`{A}", "\`A", and "\` A" at once? Should I just use tricks like https://github.com/cburschka/lyx/blob/d3c335a5d524e2edeb73ae1a891fcc58ba5bfd1a/src/BiblioInfo.cpp#L414-L418 (which I'm already doing, in a sense, in https://github.com/cburschka/lyx/blob/master/src/insets/InsetERT.cpp#L452-L463 )?
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel