area / language-latex

Syntax highlighting for LaTeX for Atom.
Other
79 stars 47 forks source link

letter э #191

Open greengrocer98 opened 6 years ago

greengrocer98 commented 6 years ago

Prerequisites

Description

Russian letter э replaces by the symbols `' and I don't know how to fix this problem. Firstly, I thought it may cause of atom encoding, but in plain text mode letter э works correctly

Steps to reproduce & Minimum working example

1.

image

image

Expected behaviour

э

Actual behaviour

`'

Additional information

Aerijo commented 6 years ago

@greengrocer98 Hmm. I could not reproduce the issue using the Russian keyboard. Have you tried disabling all other packages?

AntipovDen commented 5 years ago

Previously I had this issue as well, but after a long period of not writing in Russian I cannot reproduce it. As far as I remember, it was somehow connected with the mechanism of autocomplete of the paired symbols (not sure that it is the right name for it, but it is when you write an open bracket, atom automatically writes a closing bracket after the cursor). So the latex package redefined some of such autocompletions, like for the dollar symbol and there was the same for the apostrophe symbol, but the first apostrophe was also substituted with a grave accent symbol (`). And the thing is that 'э' is on the same button as the apostrophe. So it seems like that mechanism was just trying to read the code of the pressed button without respect to the layout (not sure, how it really works, sorry).

There is also a chance that back then I might use some other latex package in parallel (I know, it is not a clever decision), so this issue may be not related to this particular package. At least I cannot find this feature in the preferences.