LaTeX forum ⇒ LyXprotected space shortcut: Ctrl+Space no working Topic is solved

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
smcao
Posts: 2
Joined: Tue Jan 30, 2018 11:53 am

protected space shortcut: Ctrl+Space no working

Postby smcao » Tue Jan 30, 2018 12:17 pm

Hello!
The frequently used protected-space (~ in LaTeX) is defined in the LyX to have a shortcut Ctrl+Space.
This seems not working at all in LxY v2.2.3 that I installed and is running.
I have tried to check this out in the tools->preferences. The "space-insert protected" key has a "-" defined next to it, not allowed to be modified. Changing this to Ctrl-Space does not work either.

Do you have the same issue? How could you fix this?
- I installed LxY freshly,no previous installation. However, MikTeX was installed.
- The system is Windows 10

Any clue please? Thank you.

scottkosty
Site Moderator
Posts: 528
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Wed Jan 31, 2018 7:02 am

I do not have this issue, but I'm on Ubuntu. What keyboard layout do you use?

Did that shortcut work for you in the past?

When you insert it from the menu does it work?

smcao
Posts: 2
Joined: Tue Jan 30, 2018 11:53 am

Postby smcao » Sat Feb 03, 2018 10:28 am

scottkosty wrote:I do not have this issue, but I'm on Ubuntu. What keyboard layout do you use?

Did that shortcut work for you in the past?

When you insert it from the menu does it work?


Hi Scott,
Thanks!
I'm on Win10,using a US keyboard.
This is my first time using LyX, but not TeX. Yes, actually the insert menu can work pretty well.
After some troubleshooting, I made it wok finally.
In my Win10 system, "Ctrl+Space" is predefined already for switching between input methods, eg. English-Simplied Chinese. Therefore LyX conflicts with the system just for the Ctrl+space combination.
First, I changed the system's default,and made it available in LyX. However,Win10 system reverts constanly to its default without my notice. This results to failure using it in LyX.
I have to redefine protected space as Ctrl+~ in LyX. It works every time.

scottkosty
Site Moderator
Posts: 528
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Sun Feb 04, 2018 4:58 am

smcao wrote:
After some troubleshooting, I made it wok finally.


That's great news!

smcao wrote:In my Win10 system, "Ctrl+Space" is predefined already for switching between input methods, eg. English-Simplied Chinese. Therefore LyX conflicts with the system just for the Ctrl+space combination.


Ah, good job figuring out the root problem.

smcao wrote:However,Win10 system reverts constanly to its default without my notice. This results to failure using it in LyX.


That sounds very frustrating.

I have to redefine protected space as Ctrl+~ in LyX. It works every time.


I wonder if it is feasible for LyX to detect Windows' shortcuts during the configuration and if it finds a conflict, use a different shortcut (like the one you recommend). You could open a bug/enhancement request for this, if you wanted to, at https://www.lyx.org/trac


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 4 guests