Re: Icon size in Lyx 2.2.2

2016-12-09 Thread racoon

On 10.12.2016 00:08, Scott Kostyshak wrote:

On Fri, Dec 09, 2016 at 10:21:49AM +0100, Jean-Marc Lasgouttes wrote:

Le 09/12/2016 à 02:23, Scott Kostyshak a écrit :

Works for me (Linux Mint, Qt 4.8.6), so long as the icon is active (not
grayed out).


I think we should enable the context menu even if the icons are greyed
out. I think we discussed this elsewhere also. Do others agree?


I agree that we should, but is it something we have control on?


I don't know.

racoon do you have any ideas on this since you've worked a bit on the
toolbar code?


I wondered this before as well but could not find a setting for it. 
Seems to me like a bug of qt. But maybe it is as it should be according 
to their documentation?


One way to implement it manually might be (in the constructor of 
toolbars maybe?) to


1. disable the default context menu for the toolbars

http://www.qtcentre.org/threads/7718-How-to-disable-context-menu-of-a-toolbar-in-QMainApplication

2. add a custom event to the toolbar

Could this help? http://stackoverflow.com/a/4781437

Maybe these two things could be added to the constructor of a toolbar?

Sorry, not much of a help I guess.

Daniel


Re: Icon size in Lyx 2.2.2

2016-12-09 Thread Scott Kostyshak
On Fri, Dec 09, 2016 at 10:21:49AM +0100, Jean-Marc Lasgouttes wrote:
> Le 09/12/2016 à 02:23, Scott Kostyshak a écrit :
> > > > Works for me (Linux Mint, Qt 4.8.6), so long as the icon is active (not
> > > > grayed out).
> > 
> > I think we should enable the context menu even if the icons are greyed
> > out. I think we discussed this elsewhere also. Do others agree?
> 
> I agree that we should, but is it something we have control on?

I don't know.

racoon do you have any ideas on this since you've worked a bit on the
toolbar code?

Scott


signature.asc
Description: PGP signature


Re: Lyx-Miktex problems on Windows 10

2016-12-09 Thread Cris Fuhrman
I had a similar problem this morning again. Here's what I think is an
example of where LyX doesn't handle well the MikTeX on-the-fly updates in
Windows 10:

10:56:36.699: downloading
> http://ctan.math.ca/tex-archive/systems/win32/miktex/tm/packages/dvips.tar.lzma.
> ..
> 10:56:36.701: 32074 bytes, 17.82 KB/Sec
> 10:56:36.703: extracting files from dvips.tar.lzma...
> 10:56:36.704:
> ==
> 10:56:37.241: The process crashed some time after starting successfully.


LyX proceeded, but later failed in the 'pdflatex' command with an error.

When I loaded the MikTeX package manager manually, it appeared that
dvips.tar.lzma was correctly installed (perhaps the process continued to
run even though LyX reported it had crashed). Doing a View (Ctrl-R) again
in LyX worked, so the dvips was there the second time. LyX did not try to
install it.

This may not be so much a LyX problem in Windows 10 as it is a MikTeX
updater problem in Windows 10. MikTeX is known for not always clearly
giving you errors properly. One of my favorites is this one:
http://tex.stackexchange.com/a/254393/17868 (the error is about too many
connections from your IP address, but the server is intentionally down).

One suggestion might be to have an option for LyX to stop processing (fatal
error) when packages don't install properly, with a recommendation of the
user to install manually.

Another question: is it mandatory in LyX to run "reconfigure" after
updating MikTeX? Updates sometimes cause obsolete packages to be removed
and replaced. Could LyX detect this and suggest running "reconfigure"?


On Fri, Dec 9, 2016 at 2:34 AM, Cris Fuhrman  wrote:

> I had a similar problem earlier this week. The cause was the MikTeX mirror
> I was using was reporting that versions of LaTeX elements were present, but
> when the updater would run from LyX to install missing things, it would
> fail. The errors show in LyX message console, but they aren't fatal. I
> discovered this by running the update/package manager myself outside of
> LyX.
>
> The short term solution was to choose another LaTeX distribution mirror in
> MikTeX updater by running it outside LyX.
>
> On Thu, Dec 8, 2016, 23:35 Scott Kostyshak  wrote:
>
>> On Sun, Nov 27, 2016 at 04:20:22PM +, Guillermo Cruces wrote:
>> > Hi everyone, I have been a Lyx user for years. Awesome program! Every
>> version change has been a bit bumpy, but a reconfigure used to work. Not
>> now. Here are my issues, just posted on stackexchange too:
>> >
>> > I have issues with packages with Lyx 2.2 on Windows 10. I have updated
>> packages on MikTex as admin, I have changed the option to ask me first
>> instead of update packages on the fly (even though I selected ask me first
>> during install, it still got set at on the fly), I have updated directories
>> on miktex options (admin), I have reconfigured lyx, and nothing. When I
>> open a beamer file, it says the beamer.cls (and set space and many others
>> are available) and while it asks for downloading them within lyx, they
>> don't seem to "stick".
>> >
>> > I have managed to compile my file by going to the Miktex package
>> manager (as admin) and installing manually every package that lyx
>> complained was not available. I get a PDF (although it complains the PDF
>> viewer is missing...). While it compiles, it still complains that the
>> beamer class, xcolor, etc., are not available when opening the file.
>> > It seems to me something in the settings/update/confir of Lyx+Miktex is
>> not working. Anyone can confirm this? Any solutions? I'll try running Lyx
>> as admin just in case...
>>
>> Hi Guillermo,
>>
>> I'm CC'ing Uwe, who is our only developer on Windows. Hopefully he has
>> an idea of what's going on.
>>
>> Sorry for the frustration.
>>
>> Scott
>>
>


Re: [BIBLATEX] LyX 2.1.4, citation issue

2016-12-09 Thread Oliver Margraf


Am 09.12.2016 um 08:31 schrieb Jürgen Spitzmüller:
> Am Donnerstag, den 08.12.2016, 15:22 +0100 schrieb Oliver Margraf:
>> Am 08.12.2016 um 15:15 schrieb Jürgen Spitzmüller:
>>> Am Donnerstag, den 08.12.2016, 14:58 +0100 schrieb Oliver Margraf:
 Sure - see attachment (exported for XeTeX).
>>>
>>> Strange. I don't get the comma with this file either.
>>
>> Strange indeed...
> 
> Maybe a biblatex bug. Could you try to upgrade to the most recent
> version?
> 


I will try - here I'm using version 3.3, current version seems to be 3.7

Oliver


Re: Icon size in Lyx 2.2.2

2016-12-09 Thread Jean-Marc Lasgouttes

Le 09/12/2016 à 02:23, Scott Kostyshak a écrit :

Works for me (Linux Mint, Qt 4.8.6), so long as the icon is active (not
grayed out).


I think we should enable the context menu even if the icons are greyed
out. I think we discussed this elsewhere also. Do others agree?


I agree that we should, but is it something we have control on?

JMarc