Re: LyX efficient language/spell-check toggle

2015-08-26 Thread Jean-Marc Lasgouttes
Le 25/08/2015 17:33, Guenter Milde a écrit : OTOH, if you know tie the system-keybord-layout and the text language in LyX¹ it should be fairly easy: "language greek" when the keybord layout is set to Greek, "language english" (or whatever you use as secondary language), else. It may become a

Re: LyX efficient language/spell-check toggle

2015-08-26 Thread Jean-Marc Lasgouttes
Le 25/08/2015 17:33, Guenter Milde a écrit : OTOH, if you know tie the system-keybord-layout and the text language in LyX¹ it should be fairly easy: language greek when the keybord layout is set to Greek, language english (or whatever you use as secondary language), else. It may become a problem

Re: LyX efficient language/spell-check toggle

2015-08-25 Thread Guenter Milde
On 2015-08-19, alex wrote: I have managed to write a serviceable script that uses LyX server and LFUNs and toggles between languages only with the shortcut Alt + Shift. I am quite pleased with the result, but I have come up with a slight improvement, that can be achieved by tracking the

Re: LyX efficient language/spell-check toggle

2015-08-25 Thread Guenter Milde
On 2015-08-19, alex wrote: > I have managed to write a serviceable script that uses LyX server and > LFUNs and toggles between languages only with the shortcut Alt + Shift. > I am quite pleased with the result, but I have come up with a slight > improvement, that can be achieved by tracking the

Re: LyX efficient language/spell-check toggle

2015-08-19 Thread alex
I have managed to write a serviceable script that uses LyX server and LFUNs and toggles between languages only with the shortcut Alt + Shift. I am quite pleased with the result, but I have come up with a slight improvement, that can be achieved by tracking the current language used to spell

Re: LyX efficient language/spell-check toggle

2015-08-19 Thread Guenter Milde
On 2015-08-18, alex wrote: ... However, I still cannot find a way for a single shortcut to do exactly what I want. That is because LyX does not capture shortcuts used for system keyboard layout toggle. Exactly. Changing the keyboard layout and changing the text language in LyX are two

Re: LyX efficient language/spell-check toggle

2015-08-19 Thread Guenter Milde
On 2015-08-18, alex wrote: ... > However, I still cannot find a way for a single shortcut to do exactly > what I want. > That is because LyX does not capture shortcuts used for system keyboard > layout toggle. Exactly. Changing the keyboard layout and changing the text language in LyX are two

Re: LyX efficient language/spell-check toggle

2015-08-19 Thread alex
I have managed to write a serviceable script that uses LyX server and LFUNs and toggles between languages only with the shortcut Alt + Shift. I am quite pleased with the result, but I have come up with a slight improvement, that can be achieved by tracking the current language used to spell

Re: LyX efficient language/spell-check toggle

2015-08-18 Thread Richard Heck
On 08/18/2015 12:39 PM, alex wrote: Hello everyone. I have been using LyX as my LaTeX editor of choice for quite some time now, and I have found it to be quite helpful. I have also managed to set up spell checking for both the languages that I am interested in, English and Greek. However,

Re: LyX efficient language/spell-check toggle

2015-08-18 Thread alex
Thanks, Richard. That seems like a step in the right direction. In the LyX functions user guide I indeed read about command sequences. One interesting point is that you can toggle between languages using the language lfun, with no arguments. However, I still cannot find a way for a single

Re: LyX efficient language/spell-check toggle

2015-08-18 Thread Richard Heck
On 08/18/2015 12:39 PM, alex wrote: Hello everyone. I have been using LyX as my LaTeX editor of choice for quite some time now, and I have found it to be quite helpful. I have also managed to set up spell checking for both the languages that I am interested in, English and Greek. However,

Re: LyX efficient language/spell-check toggle

2015-08-18 Thread alex
Thanks, Richard. That seems like a step in the right direction. In the LyX functions user guide I indeed read about command sequences. One interesting point is that you can toggle between languages using the language lfun, with no arguments. However, I still cannot find a way for a single