Fwd: lyx-cvs Digest, Vol 117, Issue 3
Jürgen Spitzmüller
spitz at lyx.org
Sun Feb 13 08:04:09 UTC 2022
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 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
> )?
I don't know how to do it exactly, but yes, I mean that the information
you need here should all be in unicodesymbols, or added if not, and
could be retrieved by the methods defined in Encoding.cpp.
There should be no need to store LaTeX<>Unicode mappings anywhere else.
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-devel/attachments/20220213/2fc4c0d8/attachment-0001.asc>
More information about the lyx-devel
mailing list