Re: The menu items is unavailable under Ubuntu 15.04

2015-06-04 Thread Scott Kostyshak
On Thu, Jun 4, 2015 at 9:36 AM, chuhao li  wrote:
> Thanks for your reply. This solution works. Lyx works well with this
> command. Thanks a lot.
>
> Best regards,
> lch
>
> 2015-06-04 20:47 GMT+08:00 Scott Kostyshak :
>>
>> On Thu, Jun 4, 2015 at 6:59 AM, chuhao li  wrote:
>> > Hi,
>> >
>> > I met a problem when I run Lyx under Ubuntu 15.04. When the Lyx run as a
>> > normal user, a lot of menu items cannot be used. But when I run Lyx as
>> > superuser(execute “sudo lyx”), this problem disappear, and the window
>> > style
>> > of Lyx is not a Ubuntu style (like the menu show up in the topbar). This
>> > problem happens on the Lyx download from Ubuntu official repositories
>> > (Ubuntu software center) as well as in the version I compiled with the
>> > official source code. I hope you can help me.
>> >
>>
>> Sounds like you might be running into this issue:
>>
>> https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1430059
>>
>> Can you try the following on the terminal (without sudo)?
>>
>> QT_X11_NO_NATIVE_MENUBAR=1 lyx
>>
>> Best,
>>
>> Scott

Hi Chuhao Li,

Glad the solution works. When interacting with mailing lists in the
future, please always send the email (and replies) to the list, not to
individual people.

Best,

Scott


Re: The menu items is unavailable under Ubuntu 15.04

2015-06-04 Thread Scott Kostyshak
On Thu, Jun 4, 2015 at 6:59 AM, chuhao li  wrote:
> Hi,
>
> I met a problem when I run Lyx under Ubuntu 15.04. When the Lyx run as a
> normal user, a lot of menu items cannot be used. But when I run Lyx as
> superuser(execute “sudo lyx”), this problem disappear, and the window style
> of Lyx is not a Ubuntu style (like the menu show up in the topbar). This
> problem happens on the Lyx download from Ubuntu official repositories
> (Ubuntu software center) as well as in the version I compiled with the
> official source code. I hope you can help me.
>

Sounds like you might be running into this issue:

https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1430059

Can you try the following on the terminal (without sudo)?

QT_X11_NO_NATIVE_MENUBAR=1 lyx

Best,

Scott


Re: The menu items is unavailable under Ubuntu 15.04

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 13:32 GMT+02:00 chuhao li :

> Thanks for your reply. This problem happens on the newly created document,
> too. I have confirmed that the .lyx file belongs to me and is writable for
> me. The situation is that the menu item grayed but the toolbar can be used
> normally.
>

Please keep the discussion on the list.

Which version of LyX is that?

Jürgen


Re: The menu items is unavailable under Ubuntu 15.04

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 12:59 GMT+02:00 chuhao li :

> Hi,
>
> I met a problem when I run Lyx under Ubuntu 15.04. When the Lyx run as a
> normal user, a lot of menu items cannot be used. But when I run Lyx as
> superuser(execute “sudo lyx”), this problem disappear, and the window style
> of Lyx is not a Ubuntu style (like the menu show up in the topbar). This
> problem happens on the Lyx download from Ubuntu official repositories
> (Ubuntu software center) as well as in the version I compiled with the
> official source code. I hope you can help me.
>

Probably the files you have opened are read-only (i.e., in a directory that
is not writable by you as a normal user).
In this case, the menus are greyed out on purpose: you are not allowed to
modify such files.

Jürgen


> Sorry for my poor English.
>
> Your sincerely,
>
> lch
>


The menu items is unavailable under Ubuntu 15.04

2015-06-04 Thread chuhao li
Hi,

I met a problem when I run Lyx under Ubuntu 15.04. When the Lyx run as a
normal user, a lot of menu items cannot be used. But when I run Lyx as
superuser(execute “sudo lyx”), this problem disappear, and the window style
of Lyx is not a Ubuntu style (like the menu show up in the topbar). This
problem happens on the Lyx download from Ubuntu official repositories
(Ubuntu software center) as well as in the version I compiled with the
official source code. I hope you can help me.

Sorry for my poor English.

Your sincerely,

lch


Re: conflict between "polyglossia" and "subfloat figure"

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 10:10 GMT+02:00 edu Gpl :

> Dear Uwe
>
> There is conflict between "polyglossia" and "subfloat figure".
>
> My lyx file containt a float figure, and this float figure containts 3
> subfloat figure, when i delete this float figures , all ok.
> Lyx not support arabic nomenclatire if i do not used polyglossia.
>
>
> best regards
>

See attached.

You should not load polyglossia manually in the preamble (LyX loads it
automatically, and does it at the correct place). Also, one
\setdefaultlanguage is redundant.

So I have removed the following two lines from the preamble, and it works:

\usepackage{polyglossia}
\setdefaultlanguage{arabic}

Note, further, that there is an erroneous '?' in the line below, which I
had to remove:

\AtBeginDocument?{\setdefaultlanguage[numerals=maghrib]{arabic}}

HTH
Jürgen


حالات المادة_تجربة.lyx~
Description: Binary data


Re: Lyx for Sanskrit and other South Asian langusges

2015-06-04 Thread John Kane
This might help :http://wiki.lyx.org/Windows/Devanagari

On 4 June 2015 at 03:11, Sati Shankar  wrote:

> Hello,
> I work in multilingual environment, especially, English, Sanskrit, Hindi,
>  and in second layer with other South Asian languages...
> How can I on with lyx with Sanskrit and Hindi?
> Please help.
> Regards
> Sati Shankar
> --
> www.satishankar.com
>



-- 
John Kane
Kingston ON Canada


Re: conflict between "polyglossia" and "subfloat figure"

2015-06-04 Thread Liviu Andronic
On Thu, Jun 4, 2015 at 10:10 AM, edu Gpl  wrote:
>
> Dear Uwe
>
> There is conflict between "polyglossia" and "subfloat figure".
>
Is it possible that this is related to:
http://www.lyx.org/trac/ticket/8326

Currently LyX uses `subfig', but it has been obsoleted by 'subcaption'.

Regards,
Liviu


> My lyx file containt a float figure, and this float figure containts 3 
> subfloat figure, when i delete this float figures , all ok.
> Lyx not support arabic nomenclatire if i do not used polyglossia.
>
>
> best regards




-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


conflict between "polyglossia" and "subfloat figure"

2015-06-04 Thread edu Gpl
Dear Uwe

There is conflict between "polyglossia" and "subfloat figure".

My lyx file containt a float figure, and this float figure containts 3
subfloat figure, when i delete this float figures , all ok.
Lyx not support arabic nomenclatire if i do not used polyglossia.


best regards


حالات المادة_تجربة.lyx
Description: application/lyx


Lyx for Sanskrit and other South Asian langusges

2015-06-04 Thread Sati Shankar
Hello,
I work in multilingual environment, especially, English, Sanskrit, Hindi,
 and in second layer with other South Asian languages...
How can I on with lyx with Sanskrit and Hindi?
Please help.
Regards
Sati Shankar
-- 
www.satishankar.com