LyXprotected space shortcut: Ctrl+Space no working

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

protected space shortcut: Ctrl+Space no working

Post by smcao »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

protected space shortcut: Ctrl+Space no working

Post by scottkosty »

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

protected space shortcut: Ctrl+Space no working

Post by smcao »

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: 542
Joined: Sat Sep 01, 2012 6:38 am

protected space shortcut: Ctrl+Space no working

Post by scottkosty »

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
Post Reply