I use Lyx in Xubuntu 18.04. Yesterday I installed a system update via the "software update" application, and now I cannot write x² in math mode because when I hit the key '^' instead of introduce the '^' symbol it seems to be introducing '\^'. I mean, this is what I get in Lyx:

enter image description here

and there is no way to introduce this:

enter image description here

using only the keyboard.

I have recorded a screencast showing the screen refresh problem in this link.

  • Very strange. I don't think I've heard of this problem before. I use LyX daily on Ubuntu and have not seen this. What does apt-cache policy lyx show for you? – scottkosty Oct 3 '18 at 14:37
  • I shows me this. – user171780 Oct 3 '18 at 14:47
  • I'm not sure what went wrong. I'm using 2.3.1 (but not from the PPA, I self-compiled). On Mint, we have heard of some weird issues with fonts, but I don't remember the symptoms being like what you described. It seems more like the keymaps got confused somewhere. You could try 1. exiting LyX; 2. moving your LyX user directory to somewhere else; 3. restarting LyX. If this does fix the problem, please do not remove your old user directory. We should figure out what the root problem was. – scottkosty Oct 3 '18 at 15:01
  • When you say "LyX user directory" do you mean the ".lyx" directory located in home? If yes, then I did that and the problem was not fixed. Also, what about the screen refresh problem? As far as I have read the update included changes in the way the screen is refreshed. Maybe it is a bug? – user171780 Oct 3 '18 at 15:13
  • Yes that is what I meant (it is the directory listed in Help > About). Yes, it could be that an update caused the bug, but it is strange that I do not see it on my system. I'm not sure what to suggest further. – scottkosty Oct 3 '18 at 15:52

The problem is due to a LyX bug that was introduced in version 2.3.1, and should be fixed with LyX version 2.3.2. The bug report and relevant discussion can be found here.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.