Re: Change to English on entering math environment

2023-02-27 Thread Udicoudco
On Sat, Feb 25, 2023 at 10:44 PM Richard Kimberly Heck
 wrote:
>
> On 2/25/23 15:22, Yotam Ohad wrote:
> > Hi all,
> >
> > I usually write in Hebrew on Lyx, and when I create a math environment
> > with `ctrl+m` I need to manually change the language to english.
> >
> > I tried looking for how to add something like this and saw that there
> > are custom insets I can add. But I couldn't find how to actually do it
> > (only how the syntax of the definition of the custom inset should be)
>
> I'm not sure what you want to add. Do you want a special inset that will
> automatically change to English?
>
> One thing you can do is set up a shortcut to do the language change.
> That would at least save fussing with the mouse.
>
> Riki
>
> PS Posting to this list is restricted to subscribers, to fight spam. I
> manually accpeted your post, but you may want to subscribe before
> posting again.
>
>

I suggest using keyboard mapping, I think this is disabled inside math insets.
Go to Tools->Preferences->Editing->Keyboard/Mouse, check the
"use keyboard map" box, then write in the primary field null, and in the
secondary field hebrew.

Now when you write outside of math insets it should be in Hebrew,
even if your keyboard is in english (so you won't have to switch).

But how will you be able to write in english? as Riki suggested, create
a shortcut to switch between the languages. To do so, go to
Tools->Preferences->Editing->Shortcuts, press on New, in the Function
field write (without the quotation marks) "language hebrew", and in the
shortcut field, well, press the keys you want for the short cut.

Regards,
Udi

>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


how to update Version 2.4.0-beta2

2023-02-27 Thread Wolfgang Engelmann

My present version is

Version 2.4.0-beta2 (Sonntag, 11. Dezember 2022)
Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb)
Qt-Version (bei Erstellung): 5.15.2
OS-Version (bei Erstellung): Debian GNU/Linux 11 (bullseye)
Python-Aufruf: python3 -tt

What is the recommended way of updating it?
Or should I wait for the
Version 2.4.0 release?

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Lyx 2.3.7 on Linux Mint

2023-02-27 Thread Pavel Sanda
On Fri, Feb 24, 2023 at 10:42:54AM -0600, Chris Menzel wrote:
> Sure thing! I note that I have already received one report of a successful
> 2.3.7 compile and install based on these steps. :-)
> 
> Install basic QT5 stuff
> $ sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
> 
> Then, to avoid "unable to compile simple QT binary??? error, the following:
> $ sudo apt install pkg-config libqt5x11extras5-dev libqt5svg5-dev libice-dev
> 
> I was also missing libmagic-dev on my Dell XPS installation:
> $ sudo apt install libmagic-dev

The universial debian command for getting all necessary components for 
compilation
does not work in ubuntu?

apt build-dep lyx

> Finally, I ran configure with the follow spec for QTDIR:
> $ ./configure --with-qt-dir=/usr/share/qt5
> 
> Then it???s just a matter of:
> $ make
> $ sudo make install

Note that you might want to install LyX only locally to your user
directory and not to mess up with your base system in /usr (because
this might backfire later if you want to upgrade your distro).

You can do that by adding --prefix in configure (e.g. something like 
--prefix=/home/user/lyx/ where user is your login; the installed files
together with executable will be find in ~/lyx/).

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users